Welcome to Dream.In.Code
Getting Help is Easy!

Join 131,704 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,454 people online right now. Registration is fast and FREE... Join Now!




JAR class path problem

 
Reply to this topicStart new topic

JAR class path problem, Problem in including mapping JAR files in JAVA JVM settings

arundeva4u
post 9 Oct, 2008 - 07:17 AM
Post #1


New D.I.C Head

*
Joined: 9 Oct, 2008
Posts: 1

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
User is offlineProfile CardPM

Go to the top of the page

sansclue
post 9 Oct, 2008 - 01:03 PM
Post #2


D.I.C Head

**
Joined: 21 Nov, 2007
Posts: 104



Thanked 6 times
My Contributions


QUOTE(arundeva4u @ 9 Oct, 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


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

User is offlineProfile CardPM

Go to the top of the page

ajwsurfer
post 22 Oct, 2008 - 08:20 AM
Post #3


D.I.C Regular

Group Icon
Joined: 24 Oct, 2006
Posts: 292



Thanked 2 times

Dream Kudos: 50
My Contributions


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.
User is offlineProfile CardPM

Go to the top of the page

sansclue
post 22 Oct, 2008 - 11:50 AM
Post #4


D.I.C Head

**
Joined: 21 Nov, 2007
Posts: 104



Thanked 6 times
My Contributions


QUOTE(ajwsurfer @ 22 Oct, 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.


That is just how CF displays certain error messages. It usually has nothing to do with jar itself.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 09:15AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month