[JBoss-user] tomcat-test.ear test run problems
Hello: New JBoss user. When I try and run tomcat-test.ear (which deploys ok) I get the following error on the server black screen: 2001-06-05 02:33:33 - Ctx( /jboss ): 404 R( /jboss + /org.jboss.test.tomcat.serv let.HelloEJB + null) null The url I use is: http://localhost:8080/jboss/org.jboss.test.tomcat.servlet.HelloEJB and the browser error is http 404 file not found. Thanks for any help Bernard Lavallee ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Trouble with .ear execution
Hello: I am currently running the integrated (with tomcat) version and have ejb's running fine. I am nowtrying to run a servlet client communicating with an ejb and am receiving errors whenever I call the servlet from a browser page. I have created an .ear, .war and .jar files as described in the online documentation. It appears everything is deployed correctly. Just can't seem to get the servlet to go. Here are my errors: 2001-06-01 09:10:41 - Ctx( /servlets ): 404 R( /servlets + /ThirdJBoss.JBossServ let1 + null) null Also here is my application.xml JBossServlet Application description ejb-jar-ic.jar war-ic.war servlets Here is my web.xml file: JBossServletWar no description JBossServlet1 JBossServlet1 no description ThirdJBoss.JBossServlet1 JBossServlet1 JBossServlet1Alias 30 JBossBean Session JBossHome JBoss and finally, here is my ejb-jar.xml simple servlet to ejb Ejb1 JBossServlet1 JBossServlet1 ThirdJBoss.JBossHome ThirdJBoss.JBoss ThirdJBoss.JBossBean Stateless Bean Sorry for the extra long email. Just trying to give you as much info as I have. The browser simply says 404 file not fouund (as also show above). Would appreciate any help at all. Bernard Lavallee
[JBoss-user] Trouble - servlets calling ejb error
Hello: Am currently trying to get my servlet client to communicate with my bean. I have created my ejb-jar.xml and bundled it into /deploy. It deploys just fine. I also have a servlet client which is not bundled as part of the overall application. I have another message to the list group about problems executing .ear using servlet clients. So I'm leaving the servlet as a stand alone. I start the JBoss server (without tomcat) just fine and my bean is properly deployed. If I start Tomcat separately (I have apache/tomcat on my server as well as the JBoss/Tomcat combo-here I've started this version of tomcat, not the version integrated with JBoss) and execute my servlet(which is in the /classes dir in tomcat), I can call my bean just fine. It's not to fast, however, because my beans are running in a different container. I then start the JBoss/Tomcat integrated version and place my servlet in that tomcat's /classes dir. Again the bean deploys correctly. When I call the servlet, it executes correctly but fails to make the call to the bean - giving me the following errors: In my browser I get: Error: 500Location: /servlet/SecondJBoss.JBossServlet1Internal Servlet Error: java.lang.NoClassDefFoundError: SecondJBoss/JBoss at SecondJBoss.JBossServlet1.doPost(JBossServlet1.java:90) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Unknown Source) and the server errors reads as follows: [EmbeddedTomcat] javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: SecondJBoss.JBossHome][EmbeddedTomcat] Account no: 12001-06-03 01:16:36 - Ctx( ): Exception in: R( + /servlet/SecondJBoss.JBossServlet1 + null) - java.lang.NoClassDefFoundError: SecondJBoss/JBoss at SecondJBoss.JBossServlet1.doPost(JBossServlet1.java:90) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Unknown Source) Why doesn't this run in the integrated version when the identical software runs fine from the separate Tomcat version? Bernard Lavallee
[JBoss-user] (no subject)
List Members: I recently downloaded JBoss and find it an amazing development tool. Fast and easy to use (for the most part). I am currently running the integrated (with tomcat) version and have managed to get ejb's running fine. I am now trying to run a servlet client communicating with an ejb and am having trouble with the .ear, .war and .jar files and the deployment to JBoss. I have been using the J2SDKEE1.2.2 deployment tool to produce my .ear file which also contains my .jar file for my ejb's and my .war file for my web client (servlet). The .ear, after placing in /deploy dir deploys ok as far as the JBoss is concerned. However, when I call the servlet in a browser, I keep getting the error: 2001-06-01 09:10:41 - Ctx( /servlets ): 404 R( /servlets + /ThirdJBoss.JBossServ let1 + null) null The browser simply says 404 file not fouund (as also show above). Seems to be a context error but I'm not sure. Perhaps I should't be using the deploytool, which might be leaving something missing. If not, does anyone have some samples to send me or a good tool to use to create the bundles for deployment? Would appreciate any help at all. Thank you very much. Bernard Lavallee Bernard Lavallee Java End-to-End 166 Packard Road Jericho, VT 05465 Tel: 802 899-3115Email: [EMAIL PROTECTED] Web: www.javaendtoend.com Specializing in designing, developing and implementing Java enabled enterprise applications for your business. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] help : java.sql.SQLException : could not find table ...
Hello, could someone help me? I will explain my problem : I'm using JBoss 2.0 final on Windows 2000 service pack 1 with Mysql 3.23.33 on a pentium III with 390 MB RAM. OS: Windows 2000 Service Pack 1 JBoss : JBoss 2.0 final JDK : java 2 sdk 1.3 J2EE : java 2 sdk enterprise edition 1.2.1 DBMS : MySQL 3.23.33 JDBC : mm.mysql-2.0.4-bin.jar I have created a database "RailTrackerDB" and I'd like to use it in my EJB's. When I start JBoss, I can see that it connects to mysql and to the right database. In that database, there is a table "CL". I have an EJB "Customer" that access to the table "CL". When I use this EJB on the sun J2EE reference implementation, it's all right; but when I try on JBoss, it tells me that it can't find the table "CL". What can I do to make him find this table ??? Is is a security problem ??? here is the error message : Erreur : java.sql.SQLException: Table not found: CL in statement [SELECT CLUID, CLID, SYNWID, CLNM, CLNMAB, CLALIA, CLBAI FROM CL WHERE CLID = '0211' AND SYNWID = 'ZR' ] java.sql.SQLException: Table not found: CL in statement [SELECT CLUID, CLID, SYNWID, CLNM, CLNMAB, CLALIA, CLBAI FROM CL WHERE CLID = '0211' AND SYNWID = 'ZR' ] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source) at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:175) at $Proxy1.getMinimumDetail(Unknown Source) at com.RailTracker.Client.CL.(CL.java:27) at com.RailTracker.Client.CL.main(CL.java:41) thanks to help me. Jean-François ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user