[Design the new POJO MicroContainer] - Re: NoCopyNestedJarHandler usage
by alesj
"alesj" wrote : But the AnnotationMetaDataDeployer doesn't pick up all the classes as it does with the temp-copy nested jar handling.
|
There was a pathName problem, which is fixed.
But now the CL cannot find the class:
| 2007-12-29 15:54:24,546 TRACE [org.jboss.deployment.AnnotationMetaDataDeployer] Deploying annotations for unit: org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentUnit@aaa392, classpath: [JarEntryContents(a)2036989[path=jboss-seam-booking.ear/jboss-seam-booking.war/WEB-INF/classes context=file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/classes/][name=classes,size=0,time=1197537422000,URI=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/classes/], JarEntryContents(a)14211340[path=jboss-seam-booking.ear/jboss-seam-booking.war/WEB-INF/lib/jboss-seam-debug.jar context=file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/jboss-seam-debug.jar][name=jboss-seam-debug.jar,size=14231,time=1197537422000,URI=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/jboss-seam-debug.jar], JarEntryContents(a)9552656[path=jboss-seam-booking.ear/jboss-seam-booking.war/WEB-INF/lib/jboss-seam-ui.jar context=file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/jboss-seam-ui.jar][name=jboss-seam-ui.jar,size=217937,time=1197537422000,URI=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/jboss-seam-ui.jar], JarEntryContents(a)27088617[path=jboss-seam-booking.ear/jboss-seam-booking.war/WEB-INF/lib/jsf-facelets.jar context=file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/jsf-facelets.jar][name=jsf-facelets.jar,size=300771,time=1197537422000,URI=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/jsf-facelets.jar], JarEntryContents(a)11853017[path=jboss-seam-booking.ear/jboss-seam-booking.war/WEB-INF/lib/richfaces-impl.jar context=file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/richfaces-impl.jar][name=richfaces-impl.jar,size=1200311,time=1197537422000,URI=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/richfaces-impl.jar], JarEntryContents(a)1004269[path=jboss-seam-booking.ear/jboss-seam-booking.war/WEB-INF/lib/richfaces-ui.jar context=file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/richfaces-ui.jar][name=richfaces-ui.jar,size=1521325,time=1197537422000,URI=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/richfaces-ui.jar]]
| 2007-12-29 15:54:24,546 TRACE [org.jboss.deployment.AnnotatedClassFilter] Check classFile: JarEntryContents(a)878723[path=jboss-seam-booking.ear/jboss-seam-booking.war/WEB-INF/lib/jboss-seam-debug.jar/org/jboss/seam/debug/Contexts.class context=file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/jboss-seam-debug.jar!/org/jboss/seam/debug/Contexts.class][name=Contexts.class,size=2705,time=1197455278000,URI=jar:file:/C:/projects/jboss5/trunk/build/output/jboss-5.0.0.Beta3/server/default/deploy/jboss-seam-booking.ear!/jboss-seam-booking.war!/WEB-INF/lib/jboss-seam-debug.jar!/org/jboss/seam/debug/Contexts.class]
| 2007-12-29 15:54:24,671 TRACE [org.jboss.deployment.AnnotatedClassFilter] Failed to load class: org.jboss.seam.debug.Contexts
| java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.seam.debug.Contexts
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
| at org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:290)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:441)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:112)
| at org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter.java:93)
| at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62)
| at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:197)
| at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209)
| at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209)
| at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209)
| at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209)
| at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:141)
| at org.jboss.virtual.VFS.visit(VFS.java:316)
| at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:363)
| at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:151)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116031#4116031
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116031
17 years
Very OT - Anyone interested in doing OC4J server-side execution development for Oracle?
by Shannon Brill Maene
Hi JBoss dev list,
Forgive me if this is not the place for this. I'll keep it short in case this is regarded as obnoxious. A friend of my business partner (and a Director at Oracle) is in desperate need of J2EE hotshots to join the Bay Area or Philadelphia-area OC4J server-side development team. I know some consider them another evil empire, but it would be interesting work for anyone who's worked in depth at the internals level on app server core runtime processing (threading, classloading, state replication / clustering and lifecycle), and such a person would be heartily welcomed to the team. If you or a friend might be interested, let me know and I'll connect you with the Director. (Other necessary particulars: full-time, I'd guess 130-145K, position can be in Redwood City or Voorhees NJ.)
Disclaimer: I have a financial interest in this, but so do you if you're interested or know someone who would be (although I guess you could refuse a referral fee).
Thank you, and, again, apologies if this is considered taboo!
Shannon Maene
smaene(a)princetonresource.com
PRG International
Cambridge Branch Manager
Office: 617-418-4664
Cell: 609-442-6708 (preferred)
Fax: 856.810.8348
http://www.princetonresource.com
17 years
[Design of JBoss IIOP on JBoss] - JBAS-4992: ORB reference prevents stateful session passivati
by sguilhen@redhat.com
Jira issue: http://jira.jboss.org/jira/browse/JBAS-4992
When configuring the jndi.properties to use the org.jboss.iiop.naming.ORBInitialContextFactory, stateful session beans that hold a reference to the java:comp/env context fail to passivate because the factory sets the "java.naming.corba.orb" env property with a reference to the ORB used by JBoss. This is needed so that the NamingContexts (and thus, the IIOP stubs) retrieved by the lookup process are registered with JacORB (and not with Sun's ORB). This is important because JacORB is where all interceptors are configured, and if the stubs get registered with a different ORB instance some services may not work because of the absence of the correct interceptors.
When a stateful session that holds a reference to the java:comp/env context is passivated, an error occurs because it tries to serialize the context and the ORB ref is not serializable. As the specs make it clear that references to the java:comp/env context must be passivated, we need to find a way to fix this. My first idea is to implement the writeObject and readObject methods in org.jboss.jnp.interfaces.NamingContext, so that writeObject removes the ORB reference and readObject restores it (doing some very similar to CorbaORB.getInstace()).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115777#4115777
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115777
17 years