I have added a jar file in the \coldfusion8\lib\ directory.
I have added class path -> server settings -> JAVA and JVM /coldfusion8/lib/jars
The server is re-started after the changes
But when i run the index page (http://ipaddress/test/index.cfm) I am getting the given below error
"Element SESSIONCHECKER is undefined in a Java object of type class [Ljava.lang.String;."
SESSIONCHECKER is present in the jar file.
I am using apache websever and coldfusion8 application server.
please help me to fix this
JAR class path problemProblem in including mapping JAR files in JAVA JVM settings
Page 1 of 1
3 Replies - 3810 Views - Last Post: 22 October 2008 - 12:50 PM
Replies To: JAR class path problem
#2
Re: JAR class path problem
Posted 09 October 2008 - 02:03 PM
arundeva4u, on 9 Oct, 2008 - 08:17 AM, said:
I have added a jar file in the \coldfusion8\lib\ directory.
I have added class path -> server settings -> JAVA and JVM /coldfusion8/lib/jars
The server is re-started after the changes
But when i run the index page (http://ipaddress/test/index.cfm) I am getting the given below error
"Element SESSIONCHECKER is undefined in a Java object of type class [Ljava.lang.String;."
SESSIONCHECKER is present in the jar file.
I am using apache websever and coldfusion8 application server.
please help me to fix this
I have added class path -> server settings -> JAVA and JVM /coldfusion8/lib/jars
The server is re-started after the changes
But when i run the index page (http://ipaddress/test/index.cfm) I am getting the given below error
"Element SESSIONCHECKER is undefined in a Java object of type class [Ljava.lang.String;."
SESSIONCHECKER is present in the jar file.
I am using apache websever and coldfusion8 application server.
please help me to fix this
That seems like a generic variable error. It's hard to tell how that relates to your jar.
1. What product/jar are you using
2. What code is used with the SESSIONCHECKER class in your index.cfm page
#3
Re: JAR class path problem
Posted 22 October 2008 - 09:20 AM
The line in the Java object is a dead give away. "[Ljava.lang.String;" is a syntax error. I would do a search through the Java source code, for this line. I would then remove the "L" and recompile the Jar file. Next just copy (overwrite the original) the Jar file to the current location on the CF server.
#4
Re: JAR class path problem
Posted 22 October 2008 - 12:50 PM
ajwsurfer, on 22 Oct, 2008 - 09:20 AM, said:
The line in the Java object is a dead give away. "[Ljava.lang.String;" is a syntax error. I would do a search through the Java source code, for this line. I would then remove the "L" and recompile the Jar file. Next just copy (overwrite the original) the Jar file to the current location on the CF server.
That is just how CF displays certain error messages. It usually has nothing to do with jar itself.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|