Calling EJBs

2005-11-20 Thread Milan Tomic
Hi, I have developed my first EJB and deployed it into JBoss. When I try to call my EJB from JSP page stored in Tomcat I gen an compiler error saying that it can't find my EJB's interfaces. I have copied my EJB JAR into all Tomcat's lib folders, but the error is still present. :) What

RE: Calling EJBs

2005-11-21 Thread Milan Tomic
] Sent: Sunday, November 20, 2005 6:14 PM To: Tomcat Users List Subject: Re: Calling EJBs Buongiuorno Milan- Can we see the contents of your ejb-jar.xml? Gratsi, M- - Original Message - From: Milan Tomic [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, November 20, 2005 8:37 AM

JSPs on Tomcat

2005-11-21 Thread Milan Tomic
I have problems running JSPs on Tomcat. I'm using latest release. I got compiler error that some imported classes could not be found. Where should I copy those classes? In the lib folder? Do I need to edit some configuration (xml) files also?

RE: Calling EJBs

2005-11-21 Thread Milan Tomic
in your webapps lib dir. 3. Make sure that your JNDI names of your EJB are configured correctly and accessible from tomcat. ND -Original Message- From: Milan Tomic [mailto:[EMAIL PROTECTED] Sent: Sunday, November 20, 2005 8:37 AM To: users@tomcat.apache.org Subject: Calling EJBs Hi

RE: JSP compilation

2005-11-21 Thread Milan Tomic
Users List Subject: Re: JSP compilation TestMe.class is not the file created. Look in $TOMCAT_INSTALLATION/work/. It'll probably be called TestMe_jsp.class -Tim Milan Tomic wrote: I have created simple TestMe.jsp page and when I open it in Tomcat, I can see it OK. The problem is that I

Servlets (total beginner)

2005-11-22 Thread Milan Tomic
I have compiled my first servlet and copied it into apache-tomcat-5.5.12\webapps\servlets-examples\WEB-INF\classes but when I navigate my browser to http://localhost:8080/servlets-examples/DemoServlet or http://localhost:8080/servlets-examples/servlet/DemoServlet I got an HTTP 404 error

RE: Servlets (total beginner)

2005-11-22 Thread Milan Tomic
-mapping elements to your web.xml file for this servlet? -Original Message- From: Milan Tomic [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 17:18 To: 'Tomcat Users List' Subject: Servlets (total beginner) I have compiled my first servlet and copied it into apache-tomcat-5.5.12

Servlet can't be found by Tomcat 5.5

2005-11-30 Thread Milan Tomic
Hi, I have created one small demo app and when I deploy it to JBoss 4.0 (Tomcat 5.5), although I have mapped my servlet to demo/DemoServlet, I can't access it with browser. I got 404 HTTP error. I have spent whole day trying to figure it out what is wrong. I could send all sources and binaries to

Tomcat startup exception

2009-11-09 Thread Milan Tomic
I got this excpetion while starting Tomcat 6.0.20: INFO: Starting service Catalina 9.11.2009 9:22:50 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.20 java.lang.reflect.InvocationTargetException     at

Re: Tomcat startup exception

2009-11-09 Thread Milan Tomic
Hi Pid, Post the full stacktrace please. At the end of this mail. Your server.xml with comments removed At the end of this mail. Is this a vanilla install? I have just installed it and moved some apps from tomcat 5.0. On which OS/version? Windows 2003 Server Thank you! :) LOG: Using

Re: Tomcat startup exception

2009-11-09 Thread Milan Tomic
Oh, I have missed this line: Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory it seems that Log4J is missing. Best regards, Milan - Original Message From: Milan Tomic tomicmi...@yahoo.com To: Tomcat Users List users@tomcat.apache.org Sent: Mon

Logging in Tomcat 5 (SysOut SysErr)

2009-11-20 Thread Milan Tomic
At present, system.out and system.err are printing in the Windows console. How can I redirect output to some file? Or even better would be to have 2 outputs: file and Windows console. I have tried to read Tomcat docs and got lost there. It mentions default catalina.log as output, but I don't

Re: DB Connection Pool

2012-11-21 Thread Milan Tomic
That's a really old version, you should strongly consider upgrading to the latest Tomcat 6.0.x or 7.0.x release. My SSO (old JOSSO version) works only with 6.0.18. How are you determining this? Are you looking at open connections from your database?  Are you looking at JMX stats for the