IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.71 MB
Powered by
Channel Info
Network: freenodeChannel: #tomcat |
Search in www.irclog.org
Log from #tomcat at freenode 2006-07-10
[02:44]<dzpzydrvn>I am having a terrible time getting a sample webapp to find the JAR libraries that it needs
[02:44]<dzpzydrvn>I have tried putting them in all /lib/ directories within tomcat and WEB-INF/lib inside the app's own directory, but it still throws NoClassDefFoundError
[02:50]<dzpzydrvn>where should I put these JARs ?
[02:51]<r2rfygv>What's the whole error?
[02:51]<r2rfygv>(in rafb.net/paste please)
[02:52]<r2rfygv>and what jar are you using? have you tried: jar -tf Myfile.jar | grep ClassName
[02:54]<dzpzydrvn>i'll paste it, one moment,
[02:54]<dzpzydrvn>it's chartfx.jar
[02:54]<dzpzydrvn>yes, the classes that it is looking for are within the JAR
[02:54]<dzpzydrvn>it's just a NoClassDefFound,
[02:55]<dzpzydrvn>my web traffic is blocked up for a moment but I will paste as soon as I can
[02:55]<r2rfygv>Ok, you can paste it here
[02:55]<r2rfygv>just the top few lines though
[02:57]<dzpzydrvn>I think I need to restart my router, it won't respond and things are acting strangely, brb
[03:00]<dzpzydrvn>java.lang.NoClassDefFoundError
[03:00]<dzpzydrvn> SoftwareFX.ChartFX.ChartServer.<init>(Unknown Source)
[03:00]<dzpzydrvn> org.apache.jsp.ChartFX.samples.Legends.ExternalBorder_jsp._jspService(ExternalBorder_jsp.java:51)
[03:01]<r2rfygv>Doesn't it say which class?
[03:01]<vygsn>MrPrimate: i'm guessing you didnt deploy with some library you need
[03:02]<vygsn>heh just read up , you already knew that!
[03:07]<dzpzydrvn>well I put the library in every /lib/ directory I could find, there are like 6 or 8
[03:07]<dzpzydrvn>and I also put the JAR libraries into /WEB-INF/lib as it says with the webapp's installation instructions
[03:07]<dzpzydrvn>it is the samples package for ChartFX
[03:07]<dzpzydrvn>so I don't know where else I could put the library
[03:07]<dzpzydrvn>I even tried to put it in the shared Java library path for the entire system
[03:11]<dzpzydrvn>where else do you think that Tomcat might look for the jar? :]
[03:11]<dzpzydrvn>It claims that there should be an error in the logs, but I don't see anything
[03:27]<r2rfygv>That's probably the problem.
[03:27]<r2rfygv>You should only need it in WEB-INF/lib.
[03:28]<r2rfygv>Are there any dlls involved?
[03:29]<dzpzydrvn>so you think that duplicates are the problem ?
[03:29]<dzpzydrvn>No DLLs, this is ChartFX for Java on a Debian server
[03:30]<r2rfygv>Well, putting stuff in Tomcat's lib dirs is a bad idea unless you know what you're doing.
[03:30]<dzpzydrvn>(no .so shared es either)
[03:30]<r2rfygv>same thing
[03:31]<dzpzydrvn>well I started with one place as it said in the install docs,
[03:31]<dzpzydrvn>so then it didn't work, so I tried somewhere else
[03:31]<dzpzydrvn>and that didn't work, and I kept copying it to other places,
[03:31]<dzpzydrvn>I'll remove them all now and start over,
[03:33]<dzpzydrvn>OK so now I have only the WEB-INF/lib copy of the JAR files
[03:44]<dzpzydrvn>it still doesn't work :[
[04:26]<odykzog>hi all
[04:26]<odykzog>any ideea why this is happening?
[04:26]<odykzog>INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/dspace] has not been started
[07:27]<zcxzysw61>Hello anyone here?
[07:31]<r9rc2>Yo.
[07:31]<r9rc2>bugfixer: Hello.
[07:40]<zcxzysw61>Hey
[07:40]<zcxzysw61>I'm wondering if anyone knows how to foce all http traffic to https for a specific director, my webhosting company has no idea..
[08:03]<zcxzysw61>I'm wondering if anyone knows how to foce all http traffic to https for a specific director, my webhosting company has no idea..
[08:03]<zcxzysw61>ANYONE?
[09:07]<rc-6n>I can specify the order in which servlets are loaded with load-on-startup, but how do I specify the order in which webapps are loaded?
[12:28]<-- wgrvwsygc wrs puy>3) bad = 1;")
[13:01]<drssygn>bonjiorno *
[13:02]<fdcgg>yo
[13:02]<fdcgg>hey yassine do you know who pennywise is?
[13:02]<drssygn>no :s
[13:03]<drssygn>have no clue what that is
[13:03]<fdcgg>its a punk band
[13:03]<fdcgg>thats been around for many years
[13:06]<drssygn>ah okay
[13:06]<drssygn>was thinking somthing related to the worldcup :)
[13:07]<fdcgg>heh
[15:07]<dzssygnwjzc>again around *
[15:47]<dzssygnwjzc>*
[16:15]<vvw>I am new to tomcat and have a little Problem with logging. I am using tomcat 5.5.17 with default setup + log4j for logging. Plus an application we bought. I wrote some own code, where I use the commons-logging-api. This code is used from within the application, we bought. The logging code I wrote works! I did setup logging for my code within tomcat, but I get the messages from my code in the tomcat logfile. The loglevels I get in the logs are FATAL, ERROR, WARN a
[16:15]<vvw>nd INFO. Now I want to see debug-messages for my code too, but I cannot find out where and how to do it.
[16:17]<vvw>I wanted to say: I did *NOT* setup logging for my code within tomcat, but ...
[16:33]<zzgmznw>tvw: looking at bin/catalina.sh suggests the base settings come from conf/logging.properties
[16:34]<vvw>randrew: yes, I thought so! so if my package is called com.abc.test, what should I put into there?
[16:36]<vvw>I tried something like "com.abc.test.level = DEBUG"
[16:37]<vvw>but it did not help
[17:04]<zzgmznw>tvw: check out the docs, there's an example there
[17:05]<zzgmznw>tvw: at the end of http://tomcat.apache.org/tomcat-5.5-doc/logging.html
[17:06]<vvw>I found out: changes could be made in conf/log4j.properties
[17:07]<vvw>randrew: http://tomcat.apache.org/tomcat-5.5-doc/logging.html I read, but found the documentation is very poor or ment for experts.
[18:02]<r2rfygv>re
[18:19]<dzssygnwjzc>heya jbalint ;)
[18:19]<dzssygnwjzc>wb
[19:10]<scdprffsyg>anyone had success with using any xml-rpc libraries with tomcat?
[19:10]<scdprffsyg>i'm using the redstone library, and for some reason it gives me null pointer errors running through tomcat, but works perfectly when i run on my machine
[19:10]<scdprffsyg>i this a security issue maybe?
[19:11]<scdprffsyg>i'm running with security manager off
[19:16]<r2rfygv>can you show the error?
[19:16]<r2rfygv>And what do you mean by 'tomcat' vs 'your machine'
[20:09]<2yzznz>how can i modify the default charset tomcat specifies in the Content-Type-header it sends? for 404-pages it generates it sets it to utf-8, but for other pages it sets it to iso-8859-1
[20:10]<2yzznz>unless i override with <%@ pageEncoding="UTF-8">
[20:10]<2yzznz>i'd like it to send utf-8 as default for everything, and i think this should be possible without using filters?
[20:10]<2yzznz>http://www.jguru.com/forums/view.jsp?EID=1283330 (solution with filter)
[20:11]<2yzznz>:)
[20:15]<dzssygnwjzc>birger, do you mean somthing like this ? JAVA_OPTS="$JAVA_OPTS -file.encoding=UTF-8"
[20:16]<2yzznz>maybe, i'll try :)
[20:18]<2yzznz>hmm, but i cannot set that in my webproject, or can i?
[20:20]<dzssygnwjzc>so you mean the web application ?
[20:21]<dzssygnwjzc>have you tried to see in the web.xml







