tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kerber <dcker...@verizon.net>
Subject Re: Error while first Run of Tomcat Server 7.0.22
Date Sat, 22 Oct 2011 13:04:49 GMT
On 10/22/2011 8:57 AM, Amit Kumar wrote:
> Hi,
>
> I downloaded apache-tomcat-7.0.22-windows-x64.zip file, unzipped in my
> Windows-7 64-bit comp and set the JAVA_HOME and JRE_HOME paths.
> When I tried double-clicking startup.bat to run the server , a cmd prompt
> popped-up and soon disappeared. I tried accessing http://localhost:8080/
> *But got below error:*
> *Internet Explorer cannot display the webpage*
>
>
> Then I tried running the batch file through the command prompt by changing
> directory to the bin subdirectory of the TOMCAT installation and then run
> batch file from there *(C:\TOMCAT 7\bin>startup.bat) *which gave me follow
> error:

It looks to me like it couldn't find a 64-bit jvm.



>
> java.lang.UnsatisfiedLinkError: C:\TOMCAT 7\bin\tcnative-1.dll: Can't load
> AMD 6
> 4-bit .dll on a IA 32-bit platform
>          at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>          at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
>          at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)
>          at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>          at java.lang.System.loadLibrary(System.java:1028)
>          at org.apache.tomcat.jni.Library.<init>(Library.java:42)
>          at org.apache.tomcat.jni.Library.initialize(Library.java:174)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:597)
>          at
> org.apache.catalina.core.AprLifecycleListener.init(AprLifecycleListen
> er.java:165)
>          at
> org.apache.catalina.core.AprLifecycleListener.isAprAvailable(AprLifec
> ycleListener.java:81)
>          at
> org.apache.catalina.connector.Connector.setProtocol(Connector.java:54
> 0)
>          at org.apache.catalina.connector.Connector.<init>(Connector.java:71)
>          at
> org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreate
> Rule.java:62)
>          at
> org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1
> 276)
>          at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startEle
> ment(AbstractSAXParser.java:501)
>          at
> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.
> emptyElement(AbstractXMLDocumentParser.java:179)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
> MLDocumentScannerImpl.java:648)
>          at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:808)
>          at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:737)
>          at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
> java:119)
>          at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
> stractSAXParser.java:1205)
>          at
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
> arse(SAXParserImpl.java:522)
>          at
> org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
>          at org.apache.catalina.startup.Catalina.load(Catalina.java:555)
>          at org.apache.catalina.startup.Catalina.load(Catalina.java:596)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:597)
>          at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
>          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:449)
> 22 Oct, 2011 5:58:58 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performanc
> e in production environments was not found on the java.library.path:
> C:\Oracle\M
> iddleware\jdk160_18\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Win
> dows;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\app\Nano\product\11.2.0
> \dbhome_1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows
> Live;C:\Pro
> gram Files (x86)\Common Files\Microsoft Shared\Windows
> Live;C:\Windows\system32;
> C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
> C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common
> Files\Intel\WirelessCom
> mon\;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program
> Files\WIDCOMM\Bluet
> ooth Software\syswow64;C:\Program Files (x86)\Windows Live\Shared;C:\Program
> Fil
> es (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common
> File
> s\Roxio Shared\OEM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio
> Shared\O
> EM\DLLShared\;C:\Program Files (x86)\Common Files\Roxio
> Shared\OEM\12.0\DLLShare
> d\;C:\Program Files
> (x86)\Roxio\OEM\AudioCore\;c:\glassfish3\glassfish\bin\;c:\g
> lassfish3\bin\;C:\glassfish3\jdk\bin\
> 22 Oct, 2011 5:58:58 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-9090"]
> 22 Oct, 2011 5:58:58 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
> 22 Oct, 2011 5:58:58 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 562 ms
> 22 Oct, 2011 5:58:58 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> 22 Oct, 2011 5:58:58 PM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.22
> 22 Oct, 2011 5:58:58 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory docs
> 22 Oct, 2011 5:58:59 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory examples
> 22 Oct, 2011 5:58:59 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory host-manager
> 22 Oct, 2011 5:58:59 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory manager
> 22 Oct, 2011 5:58:59 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory ROOT
> 22 Oct, 2011 5:58:59 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-9090"]
> 22 Oct, 2011 5:58:59 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-8009"]
> 22 Oct, 2011 5:58:59 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 573 ms
>
>
> PLz tell me what to do????
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message