[JBoss-user] [Installation Configuration] - Strange problem when deploy the servlet in jboss
I use jboss-3.0.8 integrated with jetty as my j2ee server. I write a servlet which receive the request outside and delegate the request to the EJB which the servlet refrences. I use the remote interface of the EJB in the servlet. But the servlet is not directly with the EJB. I write a middle class as buseness delegate between them. I edit the web.xml and jboss-web.xml file which both introduce the information of the EJB refrenced. After I copy the generated WAR file to the deploy directory, I start up the jboss server. But I find the WAR file can't be deployed. The error message is below: Caused by: javax.ejb.EJBException: null; CausedByException is: AccountFacadeLocal not bound at server.web.AccountFacadeBD.(AccountFacadeBD.java:35) at server.web.AccountFacadeBD.getInstance(AccountFacadeBD.java:43) at server.web.Accountlet.(Accountlet.java:27) I am surprised by the error message because I never use the local interface of the EJB. I don't know whether the servlet can refrence the local interface of the EJB in jboss-3.0.8. I see the jboss-web dtd in the docs/ directory , it only has the ejb-ref element , has no ejb-local-ref element. Anybody can help me? Any idea is welcome! Thank you! Best regards! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831596#3831596 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831596 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Strange problem when deploy the servlet in jboss
Thank you ,kabkhan. My jboss.xml is below: ejb-nameAccount/ejb-name jndi-nameAccountBean/jndi-name local-jndi-nameAccountLocal/local-jndi-name ejb-nameAccountFacade/ejb-name jndi-nameAccountFacadeBean/jndi-name local-jndi-nameAccountFacadeLocal/local-jndi-name ejb-local-ref ejb-ref-nameejb/AccountLocal/ejb-ref-name jndi-nameAccountLocal/jndi-name /ejb-local-ref /enterprise-beans My web.xml is below: servlet-nameaccountlet/servlet-name servlet-classserver.web.Accountlet/servlet-class load-on-startup1/load-on-startup servlet-mapping servlet-nameaccountlet/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list error-page error-code404/error-code /error.jsp /error-page ejb-ref ejb-ref-nameejb/AccountFacade/ejb-ref-name ejb-ref-typeSession/ejb-ref-type server.ejb.accountapplication.AccountFacadeHome server.ejb.accountapplication.AccountFacade /ejb-ref My jboss-web.xml is below: jboss-web ejb-ref ejb-ref-nameejb/AccountFacade/ejb-ref-name jndi-nameAccountFacadeBean/jndi-name /ejb-local-ref /jboss-web View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831675#3831675 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831675 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Strange problem when deploy the servlet in jboss
My jboss.xml is below: ejb-nameAccount/ejb-name jndi-nameAccountBean/jndi-name local-jndi-nameAccountLocal/local-jndi-name ejb-nameAccountFacade/ejb-name jndi-nameAccountFacadeBean/jndi-name local-jndi-nameAccountFacadeLocal/local-jndi-name ejb-local-ref ejb-ref-nameejb/AccountLocal/ejb-ref-name jndi-nameAccountLocal/jndi-name /ejb-local-ref /enterprise-beans My web.xml is below: servlet-nameaccountlet/servlet-name servlet-classserver.web.Accountlet/servlet-class load-on-startup1/load-on-startup servlet-mapping servlet-nameaccountlet/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list error-page error-code404/error-code /error.jsp /error-page ejb-ref ejb-ref-nameejb/AccountFacade/ejb-ref-name ejb-ref-typeSession/ejb-ref-type server.ejb.accountapplication.AccountFacadeHome server.ejb.accountapplication.AccountFacade /ejb-ref My jboss-web.xml is below: jboss-web ejb-ref ejb-ref-nameejb/AccountFacade/ejb-ref-name jndi-nameAccountFacadeBean/jndi-name /ejb-local-ref /jboss-web View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831676#3831676 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831676 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: My first servlet can't run! Help me!
Hi ,Mannef, thank you for your help ! The url /WebModule/*.account didn't work at all. And as for as I know, the url/WebModule/accountlet should have the same function with the url/WebModule/*.account. Is that right? I can get a WebModule.war file in %JBOSS_HOME%\server\all\deploy directory and I can get the class file in the directory designated by the lomboz for eclipse. My web.xml is below: servlet-nameaccountlet/servlet-name servlet-classserver.web.Accountlet/servlet-class servlet-mapping servlet-nameaccountlet/servlet-name url-pattern/*.account/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list error-page error-code404/error-code /error.jsp /error-page /web-app when I start the jboss server in the eclipse. The jboss can automatically deploy the WebModule.war in the last few steps of the start proccess. after the server is invoked, I open the browser and type the url:http://localhost:8080/WebModule;, the default string Welcome can be seen and the url changed to http://127.0.0.1:8080/WebModule/index.jsp;. But If I type the url:http://127.0.0.18080/WebModule/accountlet; or http://127.0.0.1:8080/WebModule/edit.account; , the browser said it can't find the server.And the error information emerged on the eclipse console: ERROR [Engine] ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[errorCode=404, location=/error.jsp] It seemed that the problem resides in the url. I viewed some posts in the forum .It seemed that the jboss-tomcat bundled package disable the configuration file of tomcat . So I don't know where I can edit to solve this problem. Please give me some sugesstion !Any idea would be highly appreciated. Thank you a lot! Best regards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831172#3831172 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831172 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Ask for help about jboss-tomcat bundled package again!
I can get a WebModule.war file in %JBOSS_HOME%\server\all\deploy directory and I can get the class file in the directory designated by the lomboz for eclipse. My web.xml is below: servlet-nameaccountlet/servlet-name servlet-classserver.web.Accountlet/servlet-class servlet-mapping servlet-nameaccountlet/servlet-name url-pattern/*.account/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list error-page error-code404/error-code /error.jsp /error-page /web-app when I start the jboss server in the eclipse. The jboss can automatically deploy the WebModule.war in the last few steps of the start proccess. after the server is invoked, I open the browser and type the url: http://localhost:8080/WebModule , the default string Welcome can be seen and the url changed to http://127.0.0.1:8080/WebModule/index.jsp;. But If I type the url:http://127.0.0.1:8080/WebModule/accountlet; or http://127.0.0.1:8080/WebModule/edit.account; , the browser said it can't find the server.And the error information emerged on the eclipse console: ERROR [Engine] ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[errorCode=404, location=/error.jsp] It seemed that the problem resides in the url. I viewed some posts in the forum .It seemed that the jboss-tomcat bundled package disable the configuration file of tomcat . It's different from the situation only with TomCat alone. So I don't know where I can edit to solve this problem. Please give me some sugesstion !Any idea would be highly appreciated. Thank you a lot! Best regards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831173#3831173 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831173 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - My first servlet can't run! Help me!
Hi,I am using jboss3.0.8_tomcat4.1.24 in the eclipse. I use lomboz to develop servlet. I just write a servlet to response to the invoke and write hello world in the browser .But I found that the lomboz can't generate the class file for the servlet in the web-info/classes directory(I don't know why,but no error informaiotn emerged) . When I typed the url:http://localhost:8080/webmodule,the default string welcome can be seen in the browser.But if I typed the url:http://localhost:8080/webmodule/accountlet,the error information emerged: 14:18:22,937 ERROR [Engine] ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[errorCode=404, location=/error.jsp] java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:668) at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:171) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523) at org.apache.coyote.Response.doWrite(Response.java:524) at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:439) at org.apache.coyote.tomcat4.OutputBuffer.flush(OutputBuffer.java:345) at org.apache.coyote.tomcat4.CoyoteResponse.flushBuffer(CoyoteResponse.java:555) at org.apache.coyote.tomcat4.CoyoteResponseFacade.flushBuffer(CoyoteResponseFacade.java:227) at org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:329) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:181) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534) Can anyone help me? Thank you very much. Best regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830896#3830896 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830896 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - My first servlet Hello world can't run! Help me!
Hi,I am using jboss3.0.8_tomcat4.1.24 in the eclipse. I use lomboz to develop servlet. I just write a servlet to response to the invoke and write hello world in the browser .But I found that the lomboz can't generate the class file for the servlet in the web-info/classes directory( I don't know why,but no error informaiotn emerged ) . When I typed the url:http://localhost:8080/webmodule,the default string welcome can be seen in the browser.But if I typed the url:http://localhost:8080/webmodule/accountlet,the error information emerged: 14:18:22,937 ERROR [Engine] ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[errorCode=404, location=/error.jsp] java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:668) at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:171) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:523) at org.apache.coyote.Response.doWrite(Response.java:524) at org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:384) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:439) at org.apache.coyote.tomcat4.OutputBuffer.flush(OutputBuffer.java:345) at org.apache.coyote.tomcat4.CoyoteResponse.flushBuffer(CoyoteResponse.java:555) at org.apache.coyote.tomcat4.CoyoteResponseFacade.flushBuffer(CoyoteResponseFacade.java:227) at org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.java:329) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:181) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534) Can anyone help me? Thank you very much. Best regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830900#3830900 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830900 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: My first servlet can't run! Help me!
Hi,ManneF,thank you for your help! I only had one servlet in my project . My web module is calledWebModule. My web.xml is below: servlet-nameaccountlet/servlet-name servlet-classserver.web.Accountlet/servlet-class servlet-mapping servlet-nameaccountlet/servlet-name url-pattern/*.account/url-pattern /servlet-mapping welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list error-page error-code404/error-code /error.jsp /error-page /web-app So I use the url :http://localhost:8080/WebModule/accountlet to access my servlet. Is that anything wrong with the url or something else? What's more , what confused me is that there is no class file in the web-info diretory, what on earth happened? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830912#3830912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830912 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Strange problem with starting jboss ! I really need help
Thank you ,adrian! I had thought that all ports had been closed when I closed the jboss server . But it's not the true story. I had to close the eclipse so that all ports could be free. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3829982#3829982 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829982 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - I can't get localhome in jboss! Help me!
I use lomboz for eclipse to develop a CMPBean which is deployed in jboss3.0.8. The jboss uses the configuration files under server/all directory ,not server/default , in my eclipse. The CMPBean named Account should be deployed successfully because the information below emerged when starting the jboss under eclipse : 23:41:45,593 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss-3.0.8/server/all/deploy/TicketModule.jar 23:41:45,781 INFO [EjbModule] Creating 23:41:45,812 INFO [EjbModule] Deploying Account 23:41:45,875 INFO [EjbModule] Created 23:41:45,875 INFO [EjbModule] Starting 23:41:47,703 INFO [Account] Table 'ACCOUNT' already exists 23:41:47,750 INFO [EjbModule] Started 23:41:47,750 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.8/server/all/deploy/TicketModule.jar I think the clue above means that the CMPBean is deployed in jboss. To test the CMPBean I write a plain java object (not a sessionBean) in the same project where the CMPBean resides. The main function of the plain java object is to retrive the localhome of the CMPBean and call the FINDER mothed. But I find that I can't get the localhome refrence through the getLocalhome() in the AccountUtil class generated by lomboz . I write the code to throw an EJBException which inherites the RuntimeException when error occured. The real Exception is nested in the EJBException so I can stop the application and find what the real error is .I find that if I use the default code in the getLocalHome() which is listed below: javax.naming.InitialContext initialContext =new javax.naming.InitialContext(); (server.ejb.account.AccountLocalHome)initialContext.lookup(server.ejb.account.AccountLocalHome.COMP_NAME) I 'll get the error below: javax.ejb.EJBException: nested exception is: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640) If I change the default code to the format below: Hashtable props = new Hashtable(); props.put( javax.naming.InitialContext.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); props.put( javax.naming.InitialContext.PROVIDER_URL, jnp://127.0.0.1:1099); // Obtain initial context javax.naming.InitialContext initialContext = new javax.naming.InitialContext(props); (server.ejb.account.AccountLocalHome)initialContext.lookup(server.ejb.account.AccountLocalHome.COMP_NAME) I'll get the erro below: javax.ejb.EJBException: nested exception is: javax.naming.NameNotFoundException: comp not bound If I change the server.ejb.account.AccountLocalHome.COMP_NAME(which is java:comp/env/ejb/Account) to server.ejb.account.AccountLocalHome.JNDI_NAME (which is Account), I 'll get the error below : exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)] javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)] I am surprise very much. I write code to list all the content in the Context NamingEnumeration enum = initialContext.list(); // print out everything in the enum while (enum.hasMore()) { Object obj = enum.next(); NameClassPair entry = (NameClassPair) javax.rmi.PortableRemoteObject.narrow(obj, NameClassPair.class); String eName = entry.getName(); String eClass = entry.getClassName(); System.out.println(eName + \t + eClass);} I get the information below: HASessionState org.jnp.interfaces.NamingContext jmx org.jnp.interfaces.NamingContext clustering org.jnp.interfaces.NamingContext ConnectionFactory org.jboss.mq.SpyConnectionFactory anonymous wrote : AccountLocal $Proxy34 UserTransactionSessionFactory org.jboss.tm.usertx.server.UserTransactionSessionFactoryImpl XAConnectionFactory org.jboss.mq.SpyXAConnectionFactory invokersorg.jnp.interfaces.NamingContext jetty org.jnp.interfaces.NamingContext UserTransaction org.jboss.tm.usertx.client.ClientUserTransaction UILXAConnectionFactory org.jboss.mq.SpyXAConnectionFactory RMIXAConnectionFactory org.jboss.mq.SpyXAConnectionFactory UIL2XAConnectionFactory org.jboss.mq.SpyXAConnectionFactory HAPartitionorg.jnp.interfaces.NamingContext queue org.jnp.interfaces.NamingContext
[JBoss-user] [Installation Configuration] - Re: I can't get localhome in jboss! Help me!
sorry the JNDI name should be AccountBean View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3829988#3829988 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829988 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: I can't get localhome in jboss! Help me!
Hi , jae77 ,Thank you for your reply. You mean that in one project only the Bean ( what ever the sessionbean or the entitybean) can call the mothod of another entityBean, but the plain java object in the same project can't , right? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3830025#3830025 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3830025 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Can any one direct me to configure jboss3.08 with oracle
Thank you ,kbk!Thank you adrian. It's really the problem you mentioned above. I 've solved it . View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3829814#3829814 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829814 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Strange problem with starting jboss ! I really need help!
I met a strange problem . I find every first time I start my jboss3.08 in the eclipse , it seems that everything is fine except the two exception information below: 20:48:29,265 INFO [jbossweb] Starting Jetty/4.2.10pre1 20:48:29,281 INFO [jbossweb] Started [EMAIL PROTECTED] 20:48:29,296 WARN [jbossweb] WARNING: Failed to start: [EMAIL PROTECTED]:8080 20:48:29,312 INFO [jbossweb] Started AJP13Listener on 0.0.0.0:8009 20:48:29,312 INFO [jbossweb] NOTICE: AJP13 is not a secure protocol. Please protect the port 0.0.0.0:8009 20:48:29,328 ERROR [JettyService] multiple exceptions... 20:48:29,328 ERROR [JettyService] exception java.net.BindException: Address already in use: JVM_Bind //NOTE at java.net.PlainSocketImpl.socketBind(Native Method) . 20:48:34,656 INFO [HANamingService] Starting 20:48:34,750 INFO [HANamingService] Listening on 0.0.0.0/0.0.0.0:1100 20:48:34,750 WARN [HANamingService] Failed to start AutomaticDiscovery java.net.SocketException: error setting options at java.net.PlainDatagramSocketImpl.join(Native Method) .. Maybe the error information above can be explained that ports used by Jboss have already been used by other software. That is to say, port confliction. But I find that if I close the jboss server and start it again immediately, a lot of error information will emerged. I briefly list the most important part t of them below: 23:58:41,156 INFO [JVMServerILService] Starting 23:58:41,203 INFO [JVMServerILService] Started 23:58:41,203 INFO [RMIServerILService] Starting 23:58:41,375 INFO [RMIServerILService] Started 23:58:41,375 INFO [OILServerILService] Starting 23:58:41,390 ERROR [OILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) ... 23:58:41,406 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=OIL java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) . 23:58:41,406 INFO [UILServerILService] Starting 23:58:41,406 ERROR [UILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) 23:58:41,421 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=UIL java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) . 23:58:41,421 INFO [UILServerILService] Starting 23:58:41,437 ERROR [UILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) 23:58:41,437 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=UIL2 java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) .. 23:58:56,984 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:343) Caused by: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:415) Caused by: java.rmi.NoSuchObjectException: object not exported ... 23:58:57,687 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=jetty/CMPState,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] . 23:58:58,140 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/jmx/ejb/Adaptor,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] ... 23:59:00,359 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss:service=Webserver state: FAILED I Depend On: Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp state: FAILED I
[JBoss-user] [Installation Configuration] - Strange problem with starting jboss ! I really need help!
I met a strange problem . I find every first time I start my jboss3.08 in the eclipse , it seems that everything is fine except the two exception information below: 20:48:29,265 INFO [jbossweb] Starting Jetty/4.2.10pre1 20:48:29,281 INFO [jbossweb] Started [EMAIL PROTECTED] 20:48:29,296 WARN [jbossweb] WARNING: Failed to start: [EMAIL PROTECTED]:8080 20:48:29,312 INFO [jbossweb] Started AJP13Listener on 0.0.0.0:8009 20:48:29,312 INFO [jbossweb] NOTICE: AJP13 is not a secure protocol. Please protect the port 0.0.0.0:8009 20:48:29,328 ERROR [JettyService] multiple exceptions... 20:48:29,328 ERROR [JettyService] exception java.net.BindException: Address already in use: JVM_Bind //NOTE at java.net.PlainSocketImpl.socketBind(Native Method) . 20:48:34,656 INFO [HANamingService] Starting 20:48:34,750 INFO [HANamingService] Listening on 0.0.0.0/0.0.0.0:1100 20:48:34,750 WARN [HANamingService] Failed to start AutomaticDiscovery java.net.SocketException: error setting options at java.net.PlainDatagramSocketImpl.join(Native Method) .. Maybe the error information above can be explained that ports used by Jboss have already been used by other software. That is to say, port confliction. But I find that if I close the jboss server and start it again immediately, a lot of error information will emerged. I briefly list the most important part t of them below: 23:58:41,156 INFO [JVMServerILService] Starting 23:58:41,203 INFO [JVMServerILService] Started 23:58:41,203 INFO [RMIServerILService] Starting 23:58:41,375 INFO [RMIServerILService] Started 23:58:41,375 INFO [OILServerILService] Starting 23:58:41,390 ERROR [OILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) ... 23:58:41,406 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=OIL java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) . 23:58:41,406 INFO [UILServerILService] Starting 23:58:41,406 ERROR [UILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) 23:58:41,421 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=UIL java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) . 23:58:41,421 INFO [UILServerILService] Starting 23:58:41,437 ERROR [UILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) 23:58:41,437 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=UIL2 java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) .. 23:58:56,984 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:343) Caused by: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:415) Caused by: java.rmi.NoSuchObjectException: object not exported ... 23:58:57,687 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=jetty/CMPState,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] . 23:58:58,140 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/jmx/ejb/Adaptor,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] ... 23:59:00,359 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss:service=Webserver state: FAILED I Depend On: Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp state: FAILED I
[JBoss-user] [Installation Configuration] - Can any one direct me to configure jboss3.08 with oracle9i s
I use jboss3.08 and oracle9i release2 9.2.0.1. I don't know how to configure them to be work together succussfully. Configuring jboss3.08 with oracle9i is different from configuring 3.2.x with oracle9i because the configuration files under %jboss_home%\server\default\deploy are different in the tow version.When I deploy CMPBean in the jboss with lomboz for eclipse , it seemed that something wrong happened. Can anybody help me with tell me how to configure jboss3.08 with oracle9i step by step? I ask for the details. It had best to be your succussful story. I will thank you a million and give you my best regards! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3829660#3829660 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3829660 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Can any one direct me to configure jboss3.08 with oracle
Hi,kbk, thank you a lot for your help! Conforming to your direction , I made the change as below(if I did something wrong ,please tell me): 1 , I get the ojdbc.jar to the %JBOSS_HOME%\server\default\lib 2. I copy the oracle-service.xml to the %JBOSS_HOME%\server\default\deploy . I edit this file conform to my oracle configuration . 3. I start up the oraclelistener and database service I found that the first time I start the jboss server it seemed it's ok except the exception information below(Have you ever seen it when you deployed your CMPBean using oracle9i?): 11:34:13,937 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=AccountBean,service=EJB org.jboss.deployment.DeploymentException: Parameter class not found: String at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCQueryMetaDataFactory.getQueryMethods(JDBCQueryMetaDataFactory.java:232) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCQueryMetaDataFactory.createJDBCQueryMetaData(JDBCQueryMetaDataFactory.java:42) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:310) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:117) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:677) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:389) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) at org.jboss.ejb.Container.invoke(Container.java:782) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003) at $Proxy4.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:413) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy32.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:404) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003) at $Proxy4.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:413) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy15.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy3.deploy(Unknown Source) at