So, the error I presume is, there is no tools.jar file in your
$JAVA_HOME/lib.

Can you please confirm?


On Tue, Feb 22, 2011 at 9:50 PM, Afkham Azeez <[email protected]> wrote:

> This is because the new Tomcat 7 code tries to load TLD files from the
> classpath. If it finds an invalid or non-existent item in the classpath, it
> gives this error. The server starts up without any issue, but this ugly
> exception is printed. The fix would be to properly fix up the classpath. I
> fixed u some stuff in the wso2server.sh/bat files, and there were no
> issues on Linux. On MacOS it seems that an invalid classpath item is getting
> set.
>
>
> On Tue, Feb 22, 2011 at 12:20 PM, Sumedha Rubasinghe <[email protected]>wrote:
>
>> Devs,
>> I am getting following error during start up for both DSS & G-Reg(yes..
>> immediate response would be..this is local to me).
>> But then I tried booting up old releases. They work fine (both DSS 2.5.1 &
>> G-Reg 3.5.1).  I downloaded trunk packs from here[1] . Anyone else facing
>> the same?
>> Does this has anything to do with recent Tomcat upgrade?
>>
>> [1] http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
>>
>> Following are my specs.
>>
>> Darwin machine1-2.local 10.3.1 Darwin Kernel Version 10.3.1: Mon Mar 22
>> 15:13:15 PDT 2010; root:xnu-1504.3.52~1/RELEASE_I386 i386
>> java version "1.6.0_17"
>> Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248)
>> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
>>
>>
>>
>> wso2dataservices-2.6.0-SNAPSHOT$ bin/wso2server.sh
>> [2011-02-22 12:11:51,862]  INFO {org.wso2.carbon.server.Main} -
>>  Initializing system...
>> [2011-02-22 12:11:52,098]  INFO
>> {org.wso2.carbon.server.TomcatCarbonWebappDeployer} -  Deployed Carbon
>> webapp: StandardEngine[Tomcat].StandardHost[defaulthost].StandardContext[/]
>> [2011-02-22 12:11:52,379]  INFO
>> {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared selector for
>> servlet write/read
>> [2011-02-22 12:11:52,507]  INFO
>> {org.apache.tomcat.util.net.NioSelectorPool} -  Using a shared selector for
>> servlet write/read
>> [2011-02-22 12:11:52,950]  WARN {org.apache.catalina.startup.TldConfig} -
>>  Failed to process JAR
>> [jar:file:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/tools.jar!/null]
>> for TLD files
>> java.util.zip.ZipException: error in opening zip file
>> at java.util.zip.ZipFile.open(Native Method)
>> at java.util.zip.ZipFile.<init>(ZipFile.java:114)
>>  at java.util.jar.JarFile.<init>(JarFile.java:133)
>> at java.util.jar.JarFile.<init>(JarFile.java:70)
>>  at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)
>> at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*<http://www.apache.org/>
*
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to