Kshitija Ambulgekar

Greenhorn
+ Follow
since Aug 27, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Kshitija Ambulgekar

Contents of mod-jk.conf are



workers.properties

18 years ago
Hi,

I am trying to set loadbalancer for JBoss using Apache and mod_jk.
1) I have modified httpd.conf file by adding following line at end:
Include APACHE_HOME/conf/mod-jk.conf

2) created APACHE_HOME/conf/mod-jk.conf file
3) Created APACHE_HOME/conf/workers.properties file
4) Created APACHE_HOME/conf/uriworkermap.properties file
5) Placed mod_jk.so in APACHE_HOME/modules folder

When I am starting the Apache server, it is giving me error saying:
"Cannot load C:/Program Files/Apache Group/Apache2/modules/mod_jk.so into server:The specified module could not be found."

Can somebody help on this? I am badly stuck on this problem.
18 years ago
I have exactly installed my java here and my JAVA_HOME is also set to same path.
C:\j2sdk1.4.2_05:--Installed my java here
18 years ago
yes it is that way.
Can you suggest in what way it should be?
18 years ago
No where while specifying path there is semicolon in between.I am not able understand why this problem is coming.
18 years ago
Hi All,

We are using Ant inbuilt in Eclipse3.2. When we are trying to build the project, build is Successful.
But after deploying WAR file ,when i try to start server using run.bat
we are getting following error:

"Could not locate C:\j2sdk1.4.2_05;\lib\tools.jar. Unexpected results may occur.
Make sure that JAVA_HOME points to a JDK and not a JRE."

Whereas JAVA_HOME is already pointing to java home directory. Also we added tools.jar in the classpath. But no use..

Can somebody help on this?

Kshitija
18 years ago
Hi Murli,

I added tools.jar.
But still not working .





Kshitija
18 years ago
Hi All,

We are using Ant inbuilt in Eclipse3.1. When we are trying to build the project, build is failing and we are getting following error:

"Unable to find a javac
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK"

Whereas JAVA_HOME is already pointing to java home directory. Also we added tools.jar in the classpath. But no use..

Can somebody help on this?
18 years ago
Hi Pradip,

Thanks for your reply. Could you please explian your point? I could not understand what you are saying.
18 years ago
I am doing the lookup from the java file present in my application. OracleDS jndi name is present in JNDI view.
18 years ago
Hi All,

I am trying to make the datasource connection in the application and deploying it on JBoss 4.0.3

try{
Context ctx = new InitialContext();
DataSource dataSource = (DataSource)ctx.lookup("java:/OracleDS);
}

But it is returning null DataSource object.

The same thing is working properly in JBoss 4.0.2.
Can somebody help on this?
18 years ago
Can somebody please help on this???
18 years ago
Tried it, OracleDS is present in Java namespace.
18 years ago
The problem is solved. Replaced the classes12.zip from jboss/server/default/lib with the classes12.zip of 10g.

Thanks a lot for all the help.