|
From: Leif M. <le...@ta...> - 2006-04-27 03:49:21
|
Peter,
That is not surprising. Why are you you doing it that way? Could
you describe how
you are collecting the jars? If they are located in one or two
directories, you can simply
place the following in your wrapper.conf file.
wrapper.java.classpath.1=../lib/*.jar
wrapper.java.classpath.2=../lib2/*.jar
Much simpler and easy to maintain.
Cheers,
Leif
Peter Björkman wrote:
> Hi! I have a problem which I believe has to do with me having to many
> entries in my classpath. I have made modifications to the start scripts
> that first generates a CLASSPATH environment variable which it later
> passes to the wrapper using:
> wrapper.java.classpath.1=%CLASSPATH%
>
> The error I get is:
> ERROR | wrapper | 2006/04/26 16:34:55 | Unable to get information of
> classpath element: /usr/local/resin/lib/dom.jar:(Skipping the
> rest...)/webdata/ROOT/WEB-INF/lib//xwork-1.1.jar (File name too long)
>
> Sometimes the appication will start and sometimes not. I can't shorten
> the amount of classpath entries, and since I'm sitting with lots of
> other programmers, I can't control exactly which files should be
> included - I just get all the jars from a certain directory and add them
> to the classpath.
>
> Any ideas?
>
> Regards
> Peter Björkman
>
|