[JNDI/Naming/Network] - Re: problem with deploy file jboss
by ahmed_bacha
Thanks for your replay jaikiran
but I try the same as example but nothing happend the same exception
2008-06-27 21:10:17,656 ERROR [STDERR] javax.naming.NameNotFoundException: SessionEJB11 not bound
My SessionEjb
@Stateless(name="SessionEJB10")
@Local({SessionEJBLocal.class})
@LocalBinding(jndiBinding="SessionEJB11")
JMX MBean Operation Result
Other components with java:comp namespace
java:comp namespace of the component jboss.j2ee:ear=application1.ear,jar=ejb1.jar,name=SessionEJB10,service=EJB3 :
+- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl)
+- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)
+- EJBContext (class: javax.ejb.EJBContext)
+- env (class: org.jnp.interfaces.NamingContext)
| +- model.SessionEJBBean (class: org.jnp.interfaces.NamingContext)
| | +- em (class: org.jboss.ejb3.entity.TransactionScopedEntityManager)
+- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
java:comp namespace of the component jboss.j2ee:ear=application1.ear,jar=webapp1.war,name=SessionEJB10,service=EJB3 :
+- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl)
+- ORB[link -> java:/JBossCorbaORB] (class: javax.naming.LinkRef)
+- EJBContext (class: javax.ejb.EJBContext)
+- env (class: org.jnp.interfaces.NamingContext)
| +- model.SessionEJBBean (class: org.jnp.interfaces.NamingContext)
| | +- em (class: org.jboss.ejb3.entity.TransactionScopedEntityManager)
+- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef)
java: Namespace
+- ClusteredXAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
+- jaas (class: javax.naming.Context)
| +- (class: org.jboss.security.plugins.SecurityDomainContext)
| +- messaging (class: org.jboss.security.plugins.SecurityDomainContext)
+- TransactionPropagationContextImporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
+- comp.ejb3[link -> java:comp] (class: javax.naming.LinkRef)
+- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
+- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- TransactionManager (class: com.arjuna.ats.jbossatx.jta.TransactionManagerDelegate)
+- ClusteredConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
+- TransactionPropagationContextExporter (class: com.arjuna.ats.internal.jbossatx.jta.PropagationContextManager)
+- ConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
+- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter)
+- XAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
+- Manager1 (class: org.jboss.ejb3.entity.TransactionScopedEntityManager)
+- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple)
+- Mail (class: javax.mail.Session)
+- Manager1Factory (class: org.jboss.ejb3.entity.InjectedEntityManagerFactory)
+- timedCacheFactory (class: javax.naming.Context)
Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy
+- Connection1DS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
+- comp (class: javax.namingMain.Context)
Global JNDI Namespace
+- ClusteredConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
+- XAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
+- application1 (class: org.jnp.interfaces.NamingContext)
| +- SessionEJB10 (class: org.jnp.interfaces.NamingContext)
| | +- local (proxy: $Proxy77 implements interface org.jboss.ejb3.JBossProxy,interface model.SessionEJBLocal)
| | +- remote (proxy: $Proxy75 implements interface org.jboss.ejb3.JBossProxy,interface model.SessionEJB)
+- UserTransactionSessionFactory (proxy: $Proxy20 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
+- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
+- console (class: org.jnp.interfaces.NamingContext)
| +- PluginManager (proxy: $Proxy70 implements interface org.jboss.console.manager.PluginManagerMBean)
+- topic (class: org.jnp.interfaces.NamingContext)
+- queue (class: org.jnp.interfaces.NamingContext)
| +- ExpiryQueue (class: org.jboss.jms.destination.JBossQueue)
| +- DLQ (class: org.jboss.jms.destination.JBossQueue)
+- ConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
+- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
+- persistence.units:ear=application1.ear,jar=ejb1.jar,unitName=Model (class: org.hibernate.impl.SessionFactoryImpl)
+- jmx (class: org.jnp.interfaces.NamingContext)
| +- invoker (class: org.jnp.interfaces.NamingContext)
| | +- RMIAdaptor (proxy: $Proxy69 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
| +- rmi (class: org.jnp.interfaces.NamingContext)
| | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
+- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
+- ClusteredXAConnectionFactory (class: org.jboss.jms.client.JBossConnectionFactory)
+- TomcatAuthenticators (class: java.util.Properties)
+- persistence.units:ear=application1.ear,jar=webapp1.war.jar,unitName=Model (class: org.hibernate.impl.SessionFactoryImpl)
Also give the same exception when lookup SessionEJB10 and deploy it on jboss it give
2008-06-27 21:10:17,656 ERROR [STDERR] javax.naming.NameNotFoundException: SessionEJB10 not bound
when i test it on embedded ob4j (jdeveloper 11) it run ok
SessionEJBLocal sessionEJB = (SessionEJBLocal)context.lookup("SessionEJB10") ;// (generated by jdeveloper 11 sample java client)
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161402#4161402
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161402
17 years, 9 months
[Tomcat, HTTPD, Servlets & JSP] - Re: Tomcat 6 comet support in 4.2.2
by itsjewel
I got my "hello comet" servlet worked in JBoss 4.2.2 after putting the catalina.jar from jboss-web-2.1.0 but it throws following exception (instead of firing a "EventType.END" event) when I click the "stop" button in my browser. it works nicely in tomcat 6.
12:20:37,091 INFO [STDOUT] eventType=BEGIN
| 12:21:00,113 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing
| java.lang.NoSuchFieldError: OPEN_READ
| at org.apache.catalina.connector.CoyoteAdapter.event(CoyoteAdapter.java:153)
| at org.apache.coyote.http11.Http11NioProcessor.event(Http11NioProcessor.java:749)
| at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.event(Http11NioProtocol.java:634)
| at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2008)
| at org.apache.tomcat.util.net.NioEndpoint.processSocket(NioEndpoint.java:1126)
| at org.apache.tomcat.util.net.NioEndpoint$Poller.cancelledKey(NioEndpoint.java:1376)
| at org.apache.tomcat.util.net.NioEndpoint$Poller.timeout(NioEndpoint.java:1610)
| at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1451)
| at java.lang.Thread.run(Thread.java:595)
We are going to build quite a big infrastructure for comet based on this api. So we need to be sure that this is stable.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161399#4161399
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161399
17 years, 9 months
[Installation, Configuration & DEPLOYMENT] - Re: JBoss as window service
by gan.gary
"jaikiran" wrote : anonymous wrote :
| | Starting JBoss Application Server 5.0 [2008-06-30 08:49:38]
| | 'run.bat' is not recognized as an internal or external command,
| | operable program or batch file.
|
| Where did you extract the JBossNative zip file? It should be extracted to the %JBOSS_HOME% folder. The JBoss Native has a bin folder which copies new files to the %JBOSS_HOME%/bin folder. Ultimately, the service.bat file should be present in the %JBOSS_HOME%/bin folder.
|
OMG, I follow the "README-service.txt":
To install the JBoss Application Server as Windows service use
| the provided service.bat batch file.
| C:\> cd c:\jboss-5.0.0\bin
| C:\> service.bat install
You meant copy the content of "jboss-native-2.0.4-windows-x86-ssl\bin" to %JBOSS_HOME%/bin? what about content of "jboss-native-2.0.4-windows-x86-ssl\licenses"?
"jaikiran" wrote :
| anonymous wrote : System Variables:
| | C:\Program Files\Java\jdk1.5.0_15
|
| I would recommend that you move the JDK installation to a folder which does not have a space in its path. JBoss or Java installations in folders having space in their path name run into weird issues. I have my Java installation at C:\jdk1.5.0_15
I knew old JDK has this issue, I thought the JDK 1.5 have fixed it, that's why the installer pointed to that folder?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161396#4161396
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161396
17 years, 9 months