JAR class path problem

Problem in including mapping JAR files in JAVA JVM settings

Page 1 of 1

3 Replies - 4274 Views - Last Post: 22 October 2008 - 12:50 PM Rate Topic: -----

#1 arundeva4u  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 09-October 08

JAR class path problem

Post icon  Posted 09 October 2008 - 08:17 AM

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

Is This A Good Question/Topic? 0
  • +

Replies To: JAR class path problem

#2 sansclue  Icon User is offline

  • D.I.C Regular

Reputation: 29
  • View blog
  • Posts: 316
  • Joined: 21-November 07

Re: JAR class path problem

Posted 09 October 2008 - 02:03 PM

View Postarundeva4u, 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


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
Was This Post Helpful? 0
  • +
  • -

#3 ajwsurfer  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 373
  • Joined: 24-October 06

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.
Was This Post Helpful? 0
  • +
  • -

#4 sansclue  Icon User is offline

  • D.I.C Regular

Reputation: 29
  • View blog
  • Posts: 316
  • Joined: 21-November 07

Re: JAR class path problem

Posted 22 October 2008 - 12:50 PM

View Postajwsurfer, 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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1