[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1103) Deploying Seam example app into /trunk causes ZipException
by Pete Muir (JIRA)
[ http://jira.jboss.com/jira/browse/JBSEAM-1103?page=all ]
Pete Muir closed JBSEAM-1103.
-----------------------------
Fix Version/s: 2.0.1.GA
(was: 2.1.x)
Resolution: Done
This was fixed.
> Deploying Seam example app into /trunk causes ZipException
> ----------------------------------------------------------
>
> Key: JBSEAM-1103
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1103
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Environment: r61655 of /trunk and jboss-seam-1.2.0.PATCH1
> Reporter: Charles Crouch
> Assigned To: Ales Justin
> Fix For: 2.0.1.GA
>
> Attachments: cglib-nodep-2.1_3.jar, el-api.jar, el-ri.jar, jboss-seam-numberguess.ear, Scanner.java
>
>
> Deploying a modified version of jboss-seam-numberguess.ear into the current Beta2 server causes ZipException's to be thrown during startup and trying to hit http://localhost:8080/seam-numberguess produces 500's. Deploying the same app into Beta1 works fine.
> Steps to reproduce:
> 1) Copy
> jboss-seam-1.2.0.PATCH1\lib\el-api.jar
> and
> jboss-seam-1.2.0.PATCH1\lib\el-ri.jar
> to
> build\output\jboss-5.0.0.Beta2\server\default\deployers\jbossweb.deployer\jsf-libs
> 2) Copy
> cglib-nodep-2.1_3.jar (version probably doesn't matter)
> to
> build\output\jboss-5.0.0.Beta2\server\default\lib
> 3) Copy modified jboss-seam-numberguess.ear
> to
> build\output\jboss-5.0.0.Beta2\server\default\deploy
> 4) Start the server and you get several exceptions like the following...
> 12:09:11,896 INFO [Catalina] Server startup in 190 ms
> 12:09:20,769 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-numberguess.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 with dependencies:
> 12:09:24,244 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName: Dispatcher
> 12:09:24,484 WARN [JBossTimerServiceFactory] TIMER SERVICE IS NOT INSTALLED
> 12:09:24,484 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=jboss-seam-numberguess.ear,jar=jboss-seam.jar,name=TransactionListener,service=EJB3 with dependencies:
> 12:09:26,216 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TransactionListener ejbName: TransactionListener
> 12:09:29,441 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
> 12:09:35,319 INFO [TomcatDeployment] deploy, ctxPath=/seam-numberguess, vfsUrl=jboss-seam-numberguess.ear/jboss-seam-numberguess.war
> 12:09:38,895 INFO [ServletContextListener] Welcome to Seam 1.2.0.PATCH1
> 12:09:38,995 INFO [Scanner] scanning: vfsfile:/C:/usr/projects/current/jboss/trunk/build/output/jboss-5.0.0.Beta2/server/default/deploy/jboss-seam-numberguess.ear/jboss-seam.jar
> 12:09:38,995 WARN [Scanner] could not read entries
> java.util.zip.ZipException: The filename, directory name, or volume label syntax is incorrect
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(ZipFile.java:203)
> at java.util.zip.ZipFile.<init>(ZipFile.java:234)
> at org.jboss.seam.deployment.Scanner.handleArchive(Scanner.java:110)
> at org.jboss.seam.deployment.Scanner.scan(Scanner.java:96)
> at org.jboss.seam.deployment.NamespaceScanner.getPackages(NamespaceScanner.java:34)
> at org.jboss.seam.init.Initialization.addNamespaces(Initialization.java:590)
> at org.jboss.seam.init.Initialization.<init>(Initialization.java:80)
> at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1835) Improve debug logging
by Christian Bauer (JIRA)
Improve debug logging
---------------------
Key: JBSEAM-1835
URL: http://jira.jboss.com/jira/browse/JBSEAM-1835
Project: JBoss Seam
Issue Type: Task
Reporter: Christian Bauer
Priority: Blocker
This should be logged at TRACE level:
(http-127.0.0.1-8080-1hread) 16:24:55,596 DEBUG [Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager
(http-127.0.0.1-8080-1hread) 16:24:55,596 DEBUG [Component] instantiating Seam component: org.jboss.seam.core.events
(http-127.0.0.1-8080-1hread) 16:24:55,596 DEBUG [Component] initializing new instance of: org.jboss.seam.core.events
(http-127.0.0.1-8080-1hread) 16:24:55,596 DEBUG [Component] done initializing: org.jboss.seam.core.events
I have thousands of lines of these making DEBUG completely useless. I still want to see all other instantiations etc. from Component though.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2375) Obscure session invalid issue on OC4J with seam-gen app
by Jay Balunas (JIRA)
Obscure session invalid issue on OC4J with seam-gen app
-------------------------------------------------------
Key: JBSEAM-2375
URL: http://jira.jboss.com/jira/browse/JBSEAM-2375
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 2.0.1.CR1
Environment: RHEL-5 i386
JDK 1.5.0_13
Firefox 2.0
OC4J-11.1.1.0
Reporter: Jay Balunas
Priority: Minor
Following the seam-gen application instructions for OC4J integration in the reference guide causes this error. I could not reproduce when I deployed the same app on JBoss 4.2.2.GA.
I was able to duplicate this error when the app was just based on the reverse engineered db and after I applied the drools changes.
Deploy and access the application:
Login
logout
close browser - make sure all are closed(firefox 2.0)
go back to application
get 500 internal with the exception below.
For some reason oc4j thinks the session is invalidated.
INFO: starting up: org.jboss.seam.web.session
Dec 12, 2007 3:53:01 PM org.jboss.seam.contexts.Contexts startup
INFO: starting up: org.jboss.seam.security.identity
Dec 12, 2007 3:53:01 PM org.jboss.seam.jsf.SeamPhaseListener beforePhase
SEVERE: uncaught exception
org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity
at org.jboss.seam.Component.newInstance(Component.java:1970)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:191)
at org.jboss.seam.contexts.ServletLifecycle.beginSession(ServletLifecycle.java:124)
at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:44)
at com.evermind.server.http.HttpApplication.createSession(HttpApplication.java:2098)
at com.evermind.server.http.EvermindHttpServletRequest.unprivileged_getSession(EvermindHttpServletRequest.java:2778)
at com.evermind.server.http.EvermindHttpServletRequest.getSession(EvermindHttpServletRequest.java:2672)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:227)
at com.sun.faces.context.SessionMap.getSession(ExternalContextImpl.java:1009)
at com.sun.faces.context.SessionMap.get(ExternalContextImpl.java:969)
at org.jboss.seam.contexts.BasicContext.get(BasicContext.java:48)
at org.jboss.seam.Component.getInstance(Component.java:1851)
at org.jboss.seam.Component.getInstance(Component.java:1829)
at org.jboss.seam.web.Session.getInstance(Session.java:122)
at org.jboss.seam.contexts.FacesLifecycle.beginRequest(FacesLifecycle.java:54)
at org.jboss.seam.jsf.SeamPhaseListener.beforeRestoreView(SeamPhaseListener.java:368)
at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:139)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:218)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: could not set property value: org.jboss.seam.security.identity.setRememberMe
at org.jboss.seam.Component.setPropertyValue(Component.java:1777)
at org.jboss.seam.Component.initialize(Component.java:1390)
at org.jboss.seam.Component.instantiateJavaBean(Component.java:1315)
at org.jboss.seam.Component.instantiate(Component.java:1268)
at org.jboss.seam.Component.newInstance(Component.java:1966)
... 49 more
Caused by: java.lang.NullPointerException
at com.sun.faces.context.SessionMap.get(ExternalContextImpl.java:969)
at org.jboss.seam.contexts.ServerConversationContext.get(ServerConversationContext.java:102)
at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:189)
at org.jboss.seam.Component.getInstance(Component.java:1839)
at org.jboss.seam.core.Events.raiseEvent(Events.java:76)
at org.jboss.seam.security.Identity.setRememberMe(Identity.java:598)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
at org.jboss.seam.Component.setPropertyValue(Component.java:1773)
... 53 more
Dec 12, 2007 3:53:01 PM org.jboss.seam.jsf.SeamPhaseListener beforePhase
SEVERE: swallowing exception
org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity
at org.jboss.seam.Component.newInstance(Component.java:1970)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:191)
at org.jboss.seam.contexts.ServletLifecycle.beginSession(ServletLifecycle.java:124)
at org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:44)
at com.evermind.server.http.HttpApplication.createSession(HttpApplication.java:2098)
at com.evermind.server.http.EvermindHttpServletRequest.unprivileged_getSession(EvermindHttpServletRequest.java:2778)
at com.evermind.server.http.EvermindHttpServletRequest.getSession(EvermindHttpServletRequest.java:2672)
at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:227)
at com.sun.faces.context.SessionMap.getSession(ExternalContextImpl.java:1009)
at com.sun.faces.context.SessionMap.get(ExternalContextImpl.java:969)
at org.jboss.seam.contexts.BasicContext.get(BasicContext.java:48)
at org.jboss.seam.Component.getInstance(Component.java:1851)
at org.jboss.seam.Component.getInstance(Component.java:1829)
at org.jboss.seam.web.Session.getInstance(Session.java:122)
at org.jboss.seam.contexts.FacesLifecycle.beginRequest(FacesLifecycle.java:54)
at org.jboss.seam.jsf.SeamPhaseListener.beforeRestoreView(SeamPhaseListener.java:368)
at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:139)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:218)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: could not set property value: org.jboss.seam.security.identity.setRememberMe
at org.jboss.seam.Component.setPropertyValue(Component.java:1777)
at org.jboss.seam.Component.initialize(Component.java:1390)
at org.jboss.seam.Component.instantiateJavaBean(Component.java:1315)
at org.jboss.seam.Component.instantiate(Component.java:1268)
at org.jboss.seam.Component.newInstance(Component.java:1966)
... 49 more
Caused by: java.lang.NullPointerException
at com.sun.faces.context.SessionMap.get(ExternalContextImpl.java:969)
at org.jboss.seam.contexts.ServerConversationContext.get(ServerConversationContext.java:102)
at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:189)
at org.jboss.seam.Component.getInstance(Component.java:1839)
at org.jboss.seam.core.Events.raiseEvent(Events.java:76)
at org.jboss.seam.security.Identity.setRememberMe(Identity.java:598)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
at org.jboss.seam.Component.setPropertyValue(Component.java:1773)
... 53 more
Dec 12, 2007 3:53:01 PM com.sun.faces.lifecycle.LifecycleImpl phase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months