I think I know where I´m going wrong now. Now I get the following error. ============ Error ===================== [ERROR] RequestProcessor - -null <java.lang.NoClassDefFoundError: com/morelogs/guestbook/interfaces/home/gbEntryHome> ======================================
This is because of the import statements (I think) in my ActionServlet: ===================================== import com.morelogs.guestbook.interfaces.home.gbEntriesHome; import com.morelogs.guestbook.interfaces.home.gbEntryHome; import com.morelogs.guestbook.interfaces.remote.gbEntries; import com.morelogs.guestbook.interfaces.remote.gbEntry; import com.morelogs.guestbook.interfaces.pk.gbEntryPK; ====================================== I don´t have any of these classes in my client.war though! They only exist ín my ejb-guestbook.jar in my application server. Obviously when I remove them the class doesn´t work at all! What am I doing wrong here? I´m not quite sure which classes should be in my war file (or both?) and which should be in my ejb-jar. I thought that all the ejb stuff gets deployed in my application server and the client stuff (servlets etc) get´s deployed in tomcat. What am I doing wrong? Further help on this would be _very_ appreciated. Thanks, Michael ----- Original Message ----- From: "Alex Loubyansky" <[EMAIL PROTECTED]> To: "Michael Delamere" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 04, 2002 10:39 AM Subject: Re[4]: [JBoss-user] javax.naming.CommunicationException > MD> I´ve done exatctly as you said but unfortunately the problem remains. > > Do you also have correct jndi.properties file in the classpath of your > application? You can also hardcode them. > > Correct properties are: > java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory > java.naming.provider.url=jnp://localhost:1099 > java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces > > alex > > >>startup.sh -nonaming > > MD> Should I be changing any xml-files on the client side? > > MD> Thanks, > > MD> Michael > > > MD> ----- Original Message ----- > MD> From: "Alex Loubyansky" <[EMAIL PROTECTED]> > MD> To: "Michael Delamere" <[EMAIL PROTECTED]> > MD> Sent: Thursday, July 04, 2002 10:22 AM > MD> Subject: Re[2]: [JBoss-user] javax.naming.CommunicationException > > > >> MD> should I be starting with "-nonaming" (which I´m not)? > >> > >> Yes, sure. You are trying to lookup in JBoss JNDI but Tomcat uses it's > >> own. So, nonaming it! > >> > >> MD> Thanks, > >> > >> MD> Michael > >> > >> > >> MD> ----- Original Message ----- > >> MD> From: "Alex Loubyansky" <[EMAIL PROTECTED]> > >> MD> To: "Michael Delamere" <[EMAIL PROTECTED]> > >> MD> Cc: <[EMAIL PROTECTED]> > >> MD> Sent: Thursday, July 04, 2002 10:08 AM > >> MD> Subject: Re: [JBoss-user] javax.naming.CommunicationException > >> > >> > >> >> Hello Michael, > >> >> > >> >> Are you running tomcat with 'nonaming' option? > >> >> If no, tomcat uses its own JNDI. > >> >> To start with nonaming: > >> >> startup.bat -nonaming > >> >> > >> >> alex > >> >> > >> >> Thursday, July 04, 2002, 10:53:40 AM, you wrote: > >> >> > >> >> MD> Hi, > >> >> > >> >> MD> Originally I had jboss3.0 with an embedded tomcat4.0.3 and my > >> MD> application > >> >> MD> worked fine. Yesterday I attempted to seperate the two by > MD> installing > >> MD> jboss > >> >> MD> and tomcat on their own. > >> >> > >> >> MD> The client side works until the first call is made via jndi to my > >> MD> staless > >> >> MD> session bean. I then get the error stated below. > >> >> > >> >> MD> Both the jbossmq-client.jar and the jnp-client.jar have been copied > MD> to > >> MD> the > >> >> MD> clients lib directory. The jndi.properties has also been copied to > >> MD> the > >> >> MD> classes directory of tomcat. > >> >> > >> >> MD> Is there anything else I need to do to get this working. If so, > >> MD> what?? > >> >> > >> >> MD> Any help would be _very_ appreciated! > >> >> > >> >> MD> Thanks, > >> >> > >> >> MD> Michael > >> >> > >> >> MD> ===================== Error ===================== > >> >> > >> >> MD> [INFO] RequestProcessor - -Processing a 'POST' for path > >> MD> '/velo/saveGBEntry' > >> >> MD> [Root exception is java.lang.ClassNotFoundException: > >> >> MD> com.morelogs.guestbook.interfaces.home. > >> >> MD> gbEntryHome (no security manager: RMI class loader disabled)] > >> >> MD> =============================================== > >> >> > >> >> > >> >> > >> >> > >> >> MD> ------------------------------------------------------- > >> >> MD> This sf.net email is sponsored by:ThinkGeek > >> >> MD> Caffeinated soap. No kidding. > >> >> MD> http://thinkgeek.com/sf > >> >> MD> _______________________________________________ > >> >> MD> JBoss-user mailing list > >> >> MD> [EMAIL PROTECTED] > >> >> MD> https://lists.sourceforge.net/lists/listinfo/jboss-user > >> >> > >> >> -- > >> >> Best regards, > >> >> Alex Loubyansky > >> >> > >> >> > >> > >> > >> -- > >> Best regards, > >> Alex Loubyansky > >> > >> > > -- > Best regards, > Alex Loubyansky > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Caffeinated soap. No kidding. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user