Questions tagged [classpath]

13 questions
2
votes
2 answers

How are Java Libraries on Debian supposed to work?

I've just been through a lot of grief installing activemq on Debian Wheezy. apt-get install activemq installed a lot of packages - openjdk-jre + a raft of libraries, all of which ended up in /usr/share/java as far as I can make out. With a…
hollandlef
  • 153
  • 7
2
votes
2 answers

Weblogic 10.3 weblogic.jar classpath issues

I am upgrading an old WLS8.1 app to 10.3 (11g) My ant build includes only the new weblogic.jar in the compile classpath and the build runs with no issues but when I include weblogic.jar as a libeary in the IDE (Intellij) i see many unresolved…
user63063
1
vote
1 answer

Setting up Jetty SessionHandler

I am trying to set up persistent sessions on Jetty 9.2.3 on a linux machine running Java8. I have added jetty-web.xml file to my app under ${jetty.home}/webapps/app/WEB-INF/ with the following content:
Kęstutis
  • 533
  • 1
  • 6
  • 16
1
vote
3 answers

Multiple java versions

I have a server running rhel5 and jre 1.6. All my apps are running perfectly for now. But I want to install java 1.7 but keeping java 1.6 as the default so my running apps want be affected. If I want to install java 1.7 from a rpm how can I do this,…
ivcode
  • 1,062
  • 1
  • 9
  • 13
1
vote
0 answers

Does Jetty have a way to PRE-pend folders to an war's classpath?

I have an app.war which contains app.conf file which I load using ClassLoader.getResource(...) all works well in development, in production I would like to place a different kind of app.conf file which will contain secret database passwords, etc…
Alex Kravets
  • 111
  • 2
1
vote
1 answer

Neo4j Web Server Hangs: Logging Issue?

I have a small database that was working fine just a day ago, but now, when I try to start it, the console claims that it succeeds in opening, but the web server hangs. lsof -i | grep 7474 states that neo4j is listening to the port, and…
Olga Mu
  • 111
  • 2
1
vote
2 answers

Java class path completely ignored (OS X)

I'm trying to run a jar that is located at /Library/Java/jack.jar, this works: java -jar /Library/Java/jack.jar However, I want to run it without the path, relying on the class path. The default class path includes /Library/Java, but this fails…
Jack Sleight
  • 211
  • 2
  • 8
1
vote
2 answers

Tomcat - additional classpath

We have set up Tomcat 6 with [TOMCAT_HOME]/lib - here is the standard tomcat release [TOMCAT_BASE]/lib - here we like to add non standard additional jar file However somehow I don't manage to get [TOMCAT_BASE]/lib jar files to be picked up by…
s5804
  • 755
  • 1
  • 6
  • 8
0
votes
1 answer

How to make changes to environmental variables on Windows Server 2016 stick and stay permanent?

After setting the CLASSPATH environmental variable on Windows Server 2016 using the Control Panel/System/Advanced Settings/Environmental Variables UI Tool - the CLASSPATH value reverts back to its original value when the system is restarted. We…
0
votes
1 answer

Why does Play! not recognize JDK when I try to build with ant?

I recently built an ubuntu server that I am going to do some minor web hosting on. I have wanted to use Play Framework for a while now, so I thought this would be a good opportunity. I installed Play based on the instructions from their website, but…
jbranchaud
  • 103
  • 3
0
votes
2 answers

JDBC CLASSPATH Not Working

I'm setting up a simple JDBC connection to my working MySQL database on my server. I'm using the Connector-J provided by MySQL. According to their documentation, I'm suppose to create the CLASSPATH variable to point to the directory where the…
AeroDroid
  • 101
  • 1
0
votes
1 answer

How to override files in Tomcat5's classpath

I have a .war file in Tomcat server. The .war file contains a file that I would like to override. The webapp will load up the file from the classpath. How can I modify the classpath so that the server will load an another file from the local disk…
Juha Syrjälä
  • 1,081
  • 10
  • 19
0
votes
1 answer

Should app config files be in jboss/bin directory?

I am a Integration Engineer for a software company. My development team has generated various jboss .ear applications that rely on configuration files being in the jboss/bin directory and setting the CLASSPATH externally using batch files (on…
djangofan
  • 4,182
  • 10
  • 46
  • 59