error message, can you tell me where I went wrong

2008-05-22 Thread Rick Simpson
I am new to Tomcat and I am trying to setup a new 2003 server to replace
an existing 2k server. I have downloaded the Tomcat 5.5 and installed.
When I get it installed it says it is stopped and when trying to start
just goes back to stopped. I have tried to look at all the faq and tried
to compare old server to new. I am sure it is someting that I am
missing. I have created an environamental variable called JAVA_HOME with
a path pointing to the JDK folder. I have also uninstalled and
reinstalled Tomcat 4.1 with same results. The log in Jakarta for both
versions says [174 javajni.c] [error] the specified module could not be
found. [986 prunsrv.c] [error] failed creating java c:\program
Files\java\jre1.6.0_06\bin\client\jvm.dll. This file does exist in this
location. As an additional note when I load version 4.1 I can start
Tomcat using the startup.bat file, and get to the tomcat default page on
server, but taskbar icon still shows Tomcat stopped.
Thanks for any help you can provide.
 

Rick Simpson
Insl-x
308 Old County Road
Edgewater, FL 32132
T/386-428-6461, x164
F/386-427-7130
Email:  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

 

 

===
This e-mail is intended only for the use of the addressees.  Any copying, 
forwarding, printing or 
other use of this e-mail by persons other than the addressees is not 
authorized.  
This e-mail may contain information that is privileged, confidential and exempt 
from disclosure.  
If you are not the intended recipient, please notify us immediately by return 
e-mail 
(including the original message in your reply) and then delete and discard all 
copies of the e-mail.  




RE: error message, can you tell me where I went wrong

2008-05-22 Thread Rick Simpson
Thanks everyone for the responses. I added the msvcr71.dll to the Tomcat
bin file and it fixed my problems. THANKS 

-Original Message-
From: Chris Stewart [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 22, 2008 11:23 AM
To: Tomcat Users List
Subject: Re: error message, can you tell me where I went wrong

Chuck,

Randomly throwing around versions of DLLs is not the answer to this
problem.  I had the exact issue as the original poster described and
what I posted solved my issue. What fixes the issue is putting the
msvcr71.dll file in the system32 directory on the machine.  Of course
this isn't a wise choice when simply adding the Java bin directory to
your PATH will work just fine.

Chris Stewart
[EMAIL PROTECTED]



On May 22, 2008, at 11:13 AM, Caldarale, Charles R wrote:

>> From: Chris Stewart [mailto:[EMAIL PROTECTED]
>> Subject: Re: error message, can you tell me where I went wrong
>>
>> The JAVA_HOME\bin directory needs to be added to the PATH variable on

>> your machine.
>
> The above is useless - Tomcat is being run as a service, so there is 
> no PATH in effect.
>
>>> I have created an environamental variable called JAVA_HOME with a 
>>> path pointing to the JDK folder.
>
> Also a waste of time when running Tomcat as a service.
>
>>> The log in Jakarta for both versions says
>>> [174 javajni.c] [error] the specified module could not be found.
>
> You may well be missing a .dll file that the service launcher needs; 
> find a copy of msvcr71.dll and put it in Tomcat's bin directory and 
> see if that fixes the problem.
>
>>> java\jre1.6.0_06\bin\client\jvm.dll
>
> You probably want to use the server version of the JVM.  Use the 
> tomcat5w.exe program to change that.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE 
> PROPRIETARY MATERIAL and is thus for use only by the intended 
> recipient. If you received this in error, please contact the sender 
> and delete the e-mail and its attachments from all computers.
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, 
> e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


===
This e-mail is intended only for the use of the addressees.  Any copying, 
forwarding, printing or 
other use of this e-mail by persons other than the addressees is not 
authorized.  
This e-mail may contain information that is privileged, confidential and exempt 
from disclosure.  
If you are not the intended recipient, please notify us immediately by return 
e-mail 
(including the original message in your reply) and then delete and discard all 
copies of the e-mail.  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Moving a site

2008-05-22 Thread Rick Simpson
Another question, that I am sure I am just over looking something
simple. I need to move a folder from old server to new server for a
sales website. I know I am missing something obvious but I have tried
serveral ways and none seem to work. Is there some magic. I have copied
the folder into the Tomcat web application manager, under the root. I
can see the file on the manager page but when I try to click on it I get
an error The requested source is not available. I started with little
hair and this is taking the rest. Thanks
 

Rick Simpson
Insl-x
308 Old County Road
Edgewater, FL 32132
T/386-428-6461, x164
F/386-427-7130
Email:  [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

 

 

===
This e-mail is intended only for the use of the addressees.  Any copying, 
forwarding, printing or 
other use of this e-mail by persons other than the addressees is not 
authorized.  
This e-mail may contain information that is privileged, confidential and exempt 
from disclosure.  
If you are not the intended recipient, please notify us immediately by return 
e-mail 
(including the original message in your reply) and then delete and discard all 
copies of the e-mail.  




RE: Moving a site

2008-05-22 Thread Rick Simpson
All 3 remaining hairs will thank you. 

Tomcat 5.5 Java JDK 1.6.0 Sever 2003

May 22, 2008 11:53:05 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SalesPor
tal] has not been started
May 22, 2008 11:53:12 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SalesPor
tal] has not been started
May 22, 2008 11:54:45 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SalesPor
tal] has not been started
May 22, 2008 11:54:45 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Undeploying context [/SalesPortal]
May 22, 2008 11:55:24 AM org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Program
Files\Apache Software Foundation\Tomcat 5.5\webapps\SalesPortal does not
exist or is not a readable directory 

-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 22, 2008 2:36 PM
To: Tomcat Users List
Subject: Re: Moving a site

So you decided to take our hair as well .. :-)

Specifics please:

Tomcat version:
Java version:
OS:


Any relevant excerpts from the logs:

--David


===
This e-mail is intended only for the use of the addressees.  Any copying, 
forwarding, printing or 
other use of this e-mail by persons other than the addressees is not 
authorized.  
This e-mail may contain information that is privileged, confidential and exempt 
from disclosure.  
If you are not the intended recipient, please notify us immediately by return 
e-mail 
(including the original message in your reply) and then delete and discard all 
copies of the e-mail.  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Moving a site

2008-05-22 Thread Rick Simpson
David

I am sorry to sound like I don't know what I am doing but I don't. I can
open the rest of the folders in webapp folder from the manager just not
mine. The file I am moving came from version 4.1 of Tomcat, not sure if
that matters or not. 

-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 22, 2008 3:02 PM
To: Tomcat Users List
Subject: Re: Moving a site

>
>
>SEVERE: Error starting static Resources
>java.lang.IllegalArgumentException: Document base C:\Program 
>Files\Apache Software Foundation\Tomcat 5.5\webapps\SalesPortal does 
>not exist or is not a readable directory
>


Can you post more of this ... like say a root cause?  Also can you
verify the existence of the webapp folder and check to be sure the
tomcat service has permission to read it?

--David


===
This e-mail is intended only for the use of the addressees.  Any copying, 
forwarding, printing or 
other use of this e-mail by persons other than the addressees is not 
authorized.  
This e-mail may contain information that is privileged, confidential and exempt 
from disclosure.  
If you are not the intended recipient, please notify us immediately by return 
e-mail 
(including the original message in your reply) and then delete and discard all 
copies of the e-mail.  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Moving a site

2008-05-22 Thread Rick Simpson
First
It is a 20 meg folder not a shortcut
Second
Local system has read permissions
Third
C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\SalesPortal
Fourth sorry its so long but complete log

ay 22, 2008 11:50:43 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
OWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
May 22, 2008 11:50:44 AM org.apache.coyote.http11.Http11BaseProtocol
init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 22, 2008 11:50:44 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 547 ms
May 22, 2008 11:50:44 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 22, 2008 11:50:44 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
May 22, 2008 11:50:44 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 22, 2008 11:50:44 AM org.apache.coyote.http11.Http11BaseProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 22, 2008 11:50:44 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 22, 2008 11:50:44 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15  config=null
May 22, 2008 11:50:44 AM org.apache.catalina.storeconfig.StoreLoader
load
INFO: Find registry server-registry.xml at classpath resource
May 22, 2008 11:50:44 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 843 ms
May 22, 2008 11:53:05 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SalesPor
tal] has not been started
May 22, 2008 11:53:12 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SalesPor
tal] has not been started
May 22, 2008 11:54:45 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/SalesPor
tal] has not been started
May 22, 2008 11:54:45 AM org.apache.catalina.startup.HostConfig
checkResources
INFO: Undeploying context [/SalesPortal]
May 22, 2008 11:55:24 AM org.apache.catalina.core.StandardContext
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\Program
Files\Apache Software Foundation\Tomcat 5.5\webapps\SalesPortal does not
exist or is not a readable directory
at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.jav
a:141)
at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.
java:3855)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4024
)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:760)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:9
26)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:519)
at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:458
)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown
Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at
org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:139
4)
at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:81
2)
at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManage
rServlet.java:252)
at
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.
java:96)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
B