# 6
i found the stacktrace in logs and here is it...
2007.05.22 13:48:17.453 I com.ibm.wps.logging.LogManager init
--
IBM WebSphere Portal 5.0.2.2
Licensed Materials - Property of IBM
5724-E76 and 5724-E77
(C) Copyright IBM Corp. 2001, 2003 - All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
--
Build Level:
035 (2004-08-18 21:37)
--
--
IBM WebSphere Portal Product Installation Status Report
--
Report at date and time 2007-05-22T13:48:17-07:00
Installation
--
Product DirectoryC:\PROGRA~1\IBM\Rational\SDP\6.0\runtimes\portal_v50
Version Directory${product.dir}\version
DTD Directory${version.dir}\dtd
Log Directory${version.dir}\log
Backup Directory${version.dir}\backup
TMP DirectoryC:\DOCUME~1\db2admin\LOCALS~1\Temp
Installation Platform
--
NameIBM WebSphere Portal
Version5.0
Technology List
--
TOOLKITinstalled
Installed Product
--
NameIBM WebSphere Portal Toolkit
Version5.0.2.2
ID TOOLKIT
Build LevelBUILD_NUMBER
Build DateBUILD_DATE
--
End Installation Status Report
--
2007.05.22 13:48:17.609 I com.ibm.wps.logging.LogManager init
Trace specification: *=all=disabled
2007.05.22 13:48:25.484 W com.ibm.wps.services.datastore.DataStoreServiceImpl init
DSTO0063W: The transaction isolation level is not set to READ_COMMITTED. The current value is TRANSACTION_REPEATABLE_READ.
2007.05.22 13:48:35.468 I com.ibm.wps.sso.vaultservice.DefaultVault loadEncryptionExit
SSOV0012I: Configuration file /defaultvault not found. System defaults to the DefaultEncryptionExit.
2007.05.22 13:48:35.468 I com.ibm.wps.sso.vaultservice.VaultAdapterManager loadVaultAdapter
SSOV0023I: Vault adapter type default was loaded successfully: WPS Default Vault Implementation
2007.05.22 13:49:26.734 W com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin remove
PEAS0021W: Web Module sample.SamplePortlet.0842d65b21 not deleted (display name: /C:/Progra_onal/SDP/6_.Sample). Application is not installed.
2007.05.22 13:49:46.343 W com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin start
PEAS0015W: Web Module attachment.AttachmentPortlet.54dc0e7721 not started (display name: /C:/DA/Att_WebContent_.Attachment). Application is not installed.
2007.05.22 13:49:46.687 W com.ibm.wps.pe.mgr.appserveradmin.WAS5Admin start
PEAS0015W: Web Module attachment.AttachmentPortlet.54dc0e7721 not started (display name: /C:/DA/Att_WebContent_.Attachment). Application is not installed.
2007.05.22 13:52:52.265 E com.ibm.wps.pe.pc.legacy.event.EventQueueManager processEventLoop
PEPC1036E: Unable to find event - StackTrace follows...
2007.05.22 13:52:52.281 E com.ibm.wps.pe.pc.legacy.event.EventQueueManager processEventLoop
javax.portlet.PortletException
at java.lang.Throwable.<init>(Throwable.java)
at javax.portlet.PortletException.<init>(PortletException.java:77)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.callPortletMethod(PortletContainerImpl.java:1397)
at com.ibm.wps.pe.pc.legacy.EventEnvironmentImpl.includePortlet(EventEnvironmentImpl.java:191)
at com.ibm.wps.pe.pc.legacy.event.ActionEventImpl.prepare(ActionEventImpl.java:121)
at com.ibm.wps.pe.pc.legacy.event.EventQueueManager.processEventLoop(EventQueueManager.java)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.performEventPhase(PortletContainerImpl.java:1566)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.initPage(PortletContainerImpl.java:222)
at com.ibm.wps.pe.pc.PortletContainerImpl.initPage(PortletContainerImpl.java:223)
at com.ibm.wps.pe.pc.PortletContainer.initPage(PortletContainer.java:148)
at com.ibm.wps.engine.templates.themes.Home.callPortletContainer(Home.java:303)
at com.ibm.wps.engine.templates.themes.Home.doPreRender(Home.java:246)
at com.ibm.wps.engine.templates.themes.Default.render(Default.java:67)
at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:71)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:817)
at com.ibm.wps.engine.Servlet.doGet(Servlet.java:484)
at com.ibm.wps.engine.Servlet.doPost(Servlet.java:848)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:186)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1021)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:198)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
Nested Exception is java.lang.VerifyError: javax/mail/internet/MimeBodyPart.setDataHandler(Ljavax/activation/DataHandler;)V
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.VerifyError.<init>(VerifyError.java:51)
at attachment.actions.SubmitAction.execute(SubmitAction.java)
at com.ibm.wps.portlets.struts.WpsRequestProcessor.processActionPerform(WpsRequestProcessor.java:291)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.processActionPerformed(WpsStrutsPortlet.java:1695)
at com.ibm.wps.portlets.struts.WpsStrutsPortlet.actionPerformed(WpsStrutsPortlet.java:1408)
at com.ibm.wps.pe.pc.legacy.SPIPortletInterceptorImpl.handleEvents(SPIPortletInterceptorImpl.java:438)
at org.apache.jetspeed.portlet.Portlet._dispatch(Portlet.java:794)
at org.apache.jetspeed.portlet.Portlet.access$100(Portlet.java:88)
at org.apache.jetspeed.portlet.Portlet$Context.callPortlet(Portlet.java:899)
at com.ibm.wps.pe.pc.legacy.cmpf.impl.PortletFilterManager.doFilter(PortletFilterManager.java:253)
at org.apache.jetspeed.portlet.Portlet.dispatch(Portlet.java:636)
at org.apache.jetspeed.portlet.Portlet.doPost(Portlet.java:516)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet.service(CacheablePortlet.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jetspeed.portlet.Portlet.service(Portlet.java:491)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1030)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:251)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.callMethod(PortletInvokerImpl.java:466)
at com.ibm.wps.pe.pc.legacy.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:109)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.callPortletMethod(PortletContainerImpl.java:1233)
at com.ibm.wps.pe.pc.legacy.EventEnvironmentImpl.includePortlet(EventEnvironmentImpl.java:191)
at com.ibm.wps.pe.pc.legacy.event.ActionEventImpl.prepare(ActionEventImpl.java:121)
at com.ibm.wps.pe.pc.legacy.event.EventQueueManager.processEventLoop(EventQueueManager.java)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.performEventPhase(PortletContainerImpl.java:1566)
at com.ibm.wps.pe.pc.legacy.PortletContainerImpl.initPage(PortletContainerImpl.java:222)
at com.ibm.wps.pe.pc.PortletContainerImpl.initPage(PortletContainerImpl.java:223)
at com.ibm.wps.pe.pc.PortletContainer.initPage(PortletContainer.java:148)
at com.ibm.wps.engine.templates.themes.Home.callPortletContainer(Home.java:303)
at com.ibm.wps.engine.templates.themes.Home.doPreRender(Home.java:246)
at com.ibm.wps.engine.templates.themes.Default.render(Default.java:67)
at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:71)
at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:817)
at com.ibm.wps.engine.Servlet.doGet(Servlet.java:484)
at com.ibm.wps.engine.Servlet.doPost(Servlet.java:848)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:186)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1021)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:198)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
2007.05.22 13:56:41.328 E com.ibm.wps.engine.SessionListener sessionDestroyed
AUTH0001E: Exception occured. - StackTrace follows...
2007.05.22 13:56:41.328 E com.ibm.wps.engine.SessionListener sessionDestroyed
java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NullPointerException.<init>(NullPointerException.java:63)
at com.ibm.wps.engine.SessionListener.sessionDestroyed(SessionListener.java:110)
at com.ibm.ws.webcontainer.httpsession.SessionContext.sessionDestroyedEvent(SessionContext.java:3021)
at com.ibm.ws.webcontainer.httpsession.SessionData.sessionUnbound(SessionData.java:929)
at com.ibm.ws.webcontainer.httpsession.SessionContext.notifySessionInvalidated(SessionContext.java:971)
at com.ibm.ws.webcontainer.httpsession.SessionData.invalidate(SessionData.java:544)
at com.ibm.ws.webcontainer.httpsession.SessionData.internalInvalidate(SessionData.java:517)
at com.ibm.ws.webcontainer.httpsession.MemorySessionContext.invalidateAllMemorySessions(MemorySessionContext.java:138)
at com.ibm.ws.webcontainer.httpsession.SessionContext.stopSessionContext(SessionContext.java:373)
at com.ibm.ws.webcontainer.httpsession.SessionContext.stop(SessionContext.java:2251)
at com.ibm.ws.webcontainer.srt.WebGroup.shutdown(WebGroup.java:1343)
at com.ibm.ws.webcontainer.WebContainer.removeWebApplication(WebContainer.java:1048)
at com.ibm.ws.runtime.component.WebContainerImpl.uninstall(WebContainerImpl.java:147)
at com.ibm.ws.runtime.component.WebContainerImpl.stop(WebContainerImpl.java:367)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:429)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStop(DeployedApplicationImpl.java:813)
at com.ibm.ws.runtime.component.DeployedModuleImpl.stop(DeployedModuleImpl.java:378)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.stop(DeployedApplicationImpl.java:615)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.stopApplication(ApplicationMgrImpl.java:326)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.stop(ApplicationMgrImpl.java:316)
at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(ContainerImpl.java:567)
at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.java:422)
at com.ibm.ws.runtime.component.ApplicationServerImpl.stop(ApplicationServerImpl.java:158)
at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(ContainerImpl.java:567)
at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.java:422)
at com.ibm.ws.runtime.component.ServerImpl.stop(ServerImpl.java:205)
at com.ibm.ws.runtime.component.ServerCollaborator$1.run(ServerCollaborator.java:413)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:1627)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:1504)
at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook.run(ServerCollaborator.java:396)
at com.ibm.ws.runtime.component.ServerCollaborator$StopAction.alarm(ServerCollaborator.java:373)
at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:80)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
# 8
bshannon :
maybe this code have an error because im running it in Struts Portlet and
I've tried to run it in Simple Struts Application and Java Application it works fine... do u have any idea on how this code works in Struts Portlet?Any help please...
By the way this is the Exception i've got in stackTrace in STRUTS PORTLET
[25/05/07 11:59:59:312 PDT] 35e335e3 WebGroupI SRVE0180I: [JrMail] [/.JrMail] [Servlet.LOG]: submitServlet: init
[25/05/07 12:00:38:390 PDT] 35e335e3 SystemErrR sadfsdf
[25/05/07 12:00:39:234 PDT] 35e335e3 SystemErrR c:\107.jpg
[25/05/07 12:01:08:171 PDT] 35e335e3 SystemOutO true
[25/05/07 12:01:18:625 PDT] 35e335e3 SystemOutO javax.activation.FileDataSource@340a340a
[25/05/07 12:01:19:812 PDT] 35e335e3 SystemOutO DAtaHadler
[25/05/07 12:01:23:156 PDT] 35e335e3 SystemOutO set DAtaHandle
[25/05/07 12:01:24:562 PDT] 35e335e3 WebGroupE SRVE0026E: [Servlet Error]-[javax/mail/internet/MimeBodyPart.setDataHandler(Ljavax/activation/DataHandler;)V]: java.lang.VerifyError: javax/mail/internet/MimeBodyPart.setDataHandler(Ljavax/activation/DataHandler;)V
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.VerifyError.<init>(VerifyError.java:51)
at actions.SubmitServlet.doPost(SubmitServlet.java)
at actions.SubmitServlet.doGet(SubmitServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1030)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:566)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:198)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:214)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
Message was edited by:
null