Re: Where do I put the oracle jdbc driver?

2002-05-20 Thread Gearoid Coughlan

Hi,

Drop the driver into $TOMCAT_HOME/common/lib then all apps will be able to 
use it.

--g



On Sunday 19 May 2002 18:07, you wrote:
> I have problems making Tomcat find the jdbcdriver which i downloaded from
> Oracle.
>
> I have put the driver (classes12.zip) into $JAVA_HOME/lib and renamed it
> classes12.jar.
> In /etc/profile I have added:
> CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/classes12.jar; export CLASSPATH
>
> My system config is:
> RedHat 7.3
> jdk1.4.0
> Oracle 9.0.1
> Tomcat 4.0.3
>
> I have tried putting classes12.jar in $TOMCAT_HOME/lib, but with the same
> amount of success...
>
> Anyone who can help me out on this one?


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




tomcat 4.0 + apache 1.3.12 + mod_jk

2002-02-06 Thread Gearoid Coughlan

Hi

I am getting the following error reported in mod_jk.log when
executing servlets
--
[Wed Feb 06 23:14:56 2002]  [jk_connect.c (143)]: jk_open_socket, connect() 
failed errno = 146
[Wed Feb 06 23:14:56 2002]  [jk_ajp13_worker.c (196)]: In 
jk_endpoint_t::connect_to_tomcat, failed errno = 146
[Wed Feb 06 23:14:56 2002]  [jk_ajp13_worker.c (635)]: Error connecting to 
the Tomcat process.
[Wed Feb 06 23:14:56 2002]  [jk_ajp13_worker.c (848)]: In 
jk_endpoint_t::service, send_request failed in send loop 2
---

Im running apache version 1.3.12
with tomcat 4.0.x

when I run tomcat 3.0 everything is fine.
BTW im running this on a Sparc Solaris SunOS 8

Any ideas..

thanks
gearoid



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Tomcat 4.0 + Solaris

2002-01-23 Thread Gearoid Coughlan

Hi,

Im running Tomcat 4.0.1 on sparc Solaris, with 
java version "1.2.1"
Solaris VM (build Solaris_JDK_1.2.1_03a, native threads, sunwjit)

I set the ulimit -s 2048 in startup.sh as recomended

but alas at startup, java core dumps.

any ideas,

ltr
gearóid



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Tomcat + Solaris (part II)

2002-01-23 Thread Gearoid Coughlan

hi,

the following is the trace i get in catalina.out



Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Segmentation Fault
si_signo [11]: Segmentation Fault
si_errno [0]: Error 0
si_code [1]: SEGV_MAPERR [addr: 0x10]

stackpointer=FFBEBD30

Exiting Thread (sys_thread_t:0xff8cace0) : no stack

Exiting Thread (sys_thread_t:0x3441b8) : no stack
"Finalizer" (TID:0x13360c, sys_thread_t:0x133590, state:CW, thread_t: t@6, 
threadID:0xff041dc0, stack_bottom:0xff042000, stack_size:0x2) prio=8

[1] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:106)
[2] java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:128)
[3] java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:175)
---
"Reference Handler" (TID:0x12da9c, sys_thread_t:0x12da20, state:CW, thread_t: t@5, 
threadID:0xff071dc0, stack_bottom:0xff072000, stack_size:0x2) prio=10

[1] java.lang.Object.wait(Object.java:424)
[2] java.lang.ref.Reference$ReferenceHandler.run(Reference.java:107)
---
"Signal dispatcher" (TID:0x1115ac, sys_thread_t:0x111530, state:MW, thread_t: t@4, 
threadID:0xff3a1dc0, stack_bottom:0xff3a2000, stack_size:0x2) prio=10

---
"main" (TID:0x398ac, sys_thread_t:0x39830, state:R, thread_t: t@1, threadID:0x24ac8, 
stack_bottom:0xffbf, stack_size:0x2) prio=5 *current thread*

[1] org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:591)
[2] org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1092)
[3] org.apache.catalina.core.StandardContext.start(StandardContext.java:3334)
[4] org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1092)
[5] org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
[6] org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1092)
[7] org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
[8] org.apache.catalina.core.StandardService.start(StandardService.java:376)
[9] org.apache.catalina.core.StandardServer.start(StandardServer.java:494)
[10] org.apache.catalina.startup.Catalina.start(Catalina.java:776)
[11] org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
[12] org.apache.catalina.startup.Catalina.process(Catalina.java:179)
[13] java.lang.reflect.Method.invoke(Native Method)
[14] org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:114)
---


ltr
gearóid



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Problem starting Tomcat 4.01 on RedHat 7.1

2002-01-21 Thread Gearoid Coughlan

Hi,

This happened to me also. From what I can gather the tarball is corrupt,
I tried making a patched version between the windoze one and what
I got from the unix one, but java kept core dumping on me due to the fact 
that too many of the xml files hand ctrl-m's in them,and I did not want to
spend my time running dos2unix on em. In the end i downloaded 3.3a and
it worked first time. still would like to update to catalina.

ltr
gearóid

21/01/02 13:31:22, Bruce Perryman <[EMAIL PROTECTED]> wrote:

>Hello,
>
>Originally I built Tomcat 4.01 from source following
>building.txt. After an apparent successful build, and
>setting up my JAVA_HOME  and  CATALINA_HOME
>environment variables, I ran bin/startup.sh from my
>dist directory in my tomcat installation. The console
>shows the usual "USING" messages for classpath,
>catalina environment variables and java_home, but I
>can't view the tomcat home page from my netscape
>browser with localhost:8080. When I attempt to
>shutdown using bin/shutdown.sh, I get a
>ConnectionException. The catalina.out log file shows
>"Starting Service Tomcat-Standalone" and "Apache
>Tomcat/4.1-dev" and nothing else.
>
>I tried downloading the latest binary to see if it was
>a build problem, but I have the same problem with the
>downloaded binary. I signed in as root to see if was a
>permissions problem, same thing. I tried changing the
>directory names to see if dashes in the directory
>names make the scripts act weird, same problem.
>
>I'm using jdk1.3.1. Any help would be greatly
>appreciated.
>
>
>
>__
>Do You Yahoo!?
>Send FREE video emails in Yahoo! Mail!
>http://promo.yahoo.com/videomail/
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>
>



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Tomcat with jsp and wml

2001-01-24 Thread Gearoid Coughlan

Hi all,

Ive just download jakarta-tomcat version 3.2.1 Ive installed and
configured it
proper (to the best of my knowledge) to work with apache 1.3. Ive tested
the
examples from the webpage (they all work).

Now Im _trying_ to get a jsp file to generate a dynamic wml file for us.



<%@ page.contentType="text/vnd.wap.wml" %>

http://www.wapforum.org/DTD/wml_1.1.xml">



It worked





When I try to access this file from a nokia 7110 phone I get the
following error from tomcat

 2001-01-25 07:01:51 - Ctx( /examples ): JasperException: R( /examples +
/jsp/index.jsp + null)
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/jsp/index.jsp(2,0) Page
directive: Invalid attribute, .contentType

what gets written to jasper.log
--

2001-01-25 07:01:51 - JspEngine --> /jsp/index.jsp
2001-01-25 07:01:51 -ServletPath: /jsp/index.jsp
2001-01-25 07:01:51 -   PathInfo: null
2001-01-25 07:01:51 -   RealPath:
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/jsp/index.jsp
2001-01-25 07:01:51 - RequestURI: /examples/jsp/index.jsp
2001-01-25 07:01:51 -QueryString: msisdn=35386..
2001-01-25 07:01:51 - Request Params:
2001-01-25 07:01:51 -msisdn = 35386.
2001-01-25 07:01:51 - Classpath according to the Servlet Engine is:
/usr/local/jakarta-tomcat-3.2.1/webapps/examples/WEB-INF/classes

The apache access_log
---

193.120.144.60 - - [25/Jan/2001:07:01:51 +] "GET
/examples/jsp/index.jsp?msisdn=35386..  HTTP/1.1" 500 2219


It seems it dont like the
<%@ page.contentType ..

directive located at the first line of the example.



Am I missing any specific config setting to get tomcat to generate wml.


Any help appreciated,

regards

Gearóid



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]