Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread cf coder
Can someone please show me how to load a class file in ColdFusion. I've tried 
everything from copying the .class file to the C:\CFusionMX7\lib directory to 
copying it to the C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even 
know if just by dropping the file to a specific directory is sufficient or if 
there is something else to do on top of that? Kindly help!

Regards,
John

 500 Event Handler Exception. That's all it says. I've turned on 
 debugging but it doesn't display any debugging information either.
 
  On Thursday 15 Jan 2009, cf coder wrote:
   This is when it throws the exception.
  
  What exception ?
  
  -- 
  Tom Chiverton
  Helping to appropriately transform market-growth
  
  
  
  This email is sent for and on behalf of Halliwells LLP.
  
  Halliwells LLP is a limited liability partnership registered in 
  England and Wales under registered number OC307980 whose registered 
 
  office address is at Halliwells LLP, 3 Hardman Square, 
 Spinningfields, 
  Manchester, M3 3EB.  A list of members is available for inspection 
 at 
  the registered office together with a list of those non members who 
 
  are referred to as partners.  We use the word “partner” to refer to 
 a 
  member of the LLP, or an employee or consultant with equivalent 
  standing and qualifications. Regulated by the Solicitors Regulation 
 
  Authority.
  
  CONFIDENTIALITY
  
  This email is intended only for the use of the addressee named above 
 
  and may be confidential or legally privileged.  If you are not the 
  addressee you must not read it and must not use any information 
  contained in nor copy it nor inform any person other than Halliwells 
 
  LLP or the addressee of its existence or contents.  If you have 
  received this email in error please delete it and notify Halliwells 
 
  LLP IT Department on 0870 365 2500.
  
  For more information about Halliwells LLP visit www.halliwells.com.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318055
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread cf coder
Can someone please show me how to load a class file in ColdFusion. I've tried 
everything from copying the .class file to the C:\CFusionMX7\lib directory to 
copying it to the C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even 
know if just by dropping the file to a specific directory is sufficient or if 
there is something else to do on top of that? Kindly help!

Regards,
John

 500 Event Handler Exception. That's all it says. I've turned on 
 debugging but it doesn't display any debugging information either.
 
  On Thursday 15 Jan 2009, cf coder wrote:
   This is when it throws the exception.
  
  What exception ?
  
  -- 
  Tom Chiverton
  Helping to appropriately transform market-growth
  
  
  
  This email is sent for and on behalf of Halliwells LLP.
  
  Halliwells LLP is a limited liability partnership registered in 
  England and Wales under registered number OC307980 whose registered 
 
  office address is at Halliwells LLP, 3 Hardman Square, 
 Spinningfields, 
  Manchester, M3 3EB.  A list of members is available for inspection 
 at 
  the registered office together with a list of those non members who 
 
  are referred to as partners.  We use the word “partner” to refer to 
 a 
  member of the LLP, or an employee or consultant with equivalent 
  standing and qualifications. Regulated by the Solicitors Regulation 
 
  Authority.
  
  CONFIDENTIALITY
  
  This email is intended only for the use of the addressee named above 
 
  and may be confidential or legally privileged.  If you are not the 
  addressee you must not read it and must not use any information 
  contained in nor copy it nor inform any person other than Halliwells 
 
  LLP or the addressee of its existence or contents.  If you have 
  received this email in error please delete it and notify Halliwells 
 
  LLP IT Department on 0870 365 2500.
  
  For more information about Halliwells LLP visit www.halliwells.com.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318056
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread sam Detweiler
 Can someone please show me how to load a class file in ColdFusion. 
 I've tried everything from copying the .class file to the 
 C:\CFusionMX7\lib directory to copying it to the 
 C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even know if 
 just by dropping the file to a specific directory is sufficient or if 
 there is something else to do on top of that? Kindly help!
 
 Regards,
 John
 

jClass = createobject(java, classname); 
(for example from one of my apps, the class is in a jar file, located in 
tomcat/webapps/cfusion/web-inf/lib) 
jClass = createobject(java, com.ca.dsm.webservice.UnitPropertyFilter);  

Sam 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318058
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread sam Detweiler
 Can someone please show me how to load a class file in ColdFusion. 
 I've tried everything from copying the .class file to the 
 C:\CFusionMX7\lib directory to copying it to the 
 C:\CFusionMX7\wwwroot\WEB-INF\classes directory. I don't even know if 
 just by dropping the file to a specific directory is sufficient or if 
 there is something else to do on top of that? Kindly help!
 

I built the Employee class from the text, put the class file in 
webapps/cfusion/web-inf/classes and then used the sample cfm code, and it 
worked as documented. 
(I am running cf on tomcat)

Sam 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318059
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-16 Thread C S
 500 Event Handler Exception. That's all it says. I've turned on 
 debugging but it doesn't display any debugging information either.

What do your log files say?

Leigh 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
Hello everybody,

I have used the Employee.java example on the adobe livedocs 
(http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Java_7.html).
 Pleae Scroll down to the section titled Creating and using a simple Java 
class. I am running ColdFusion 7 server installation, developer version 
running on windows xp professional.
Server Product  ColdFusion MX
Version 7,0,2,142559  
Edition Developer

I complied the file Employee.java, and place the resulting Employee.class file 
in a directory in the C:\CFusionMX7\wwwroot\WEB-INF\classes folder. Is this 
right? The article on livedocs states that Save the following Java source code 
in the file Employee.java, compile it, and place the resulting Employee.class 
file in a directory that is specified in the classpath. How can I see the 
classpath? Is this the CLASSPATH environment variable or the CF Classpath?

Any help would be most appreciated.

Regards
John 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317979
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
This is how I am trying to create the object.

cfset objEmp = createObject(java,Employee) /
cfdump var=#objEmp#

This is when it throws the exception.

 Hello everybody,
 
 I have used the Employee.java example on the adobe livedocs 
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.
 html?content=Java_7.html). Pleae Scroll down to the section titled 
 Creating and using a simple Java class. I am running ColdFusion 7 
 server installation, developer version running on windows xp 
 professional.
 Server ProductColdFusion MX
 Version   7,0,2,142559  
 Edition   Developer
 
 I complied the file Employee.java, and place the resulting Employee.
 class file in a directory in the 
 C:\CFusionMX7\wwwroot\WEB-INF\classes folder. Is this right? The 
 article on livedocs states that Save the following Java source code 
 in the file Employee.java, compile it, and place the resulting 
 Employee.class file in a directory that is specified in the classpath. 
 How can I see the classpath? Is this the CLASSPATH environment 
 variable or the CF Classpath?
 
 Any help would be most appreciated.
 
 Regards
 John 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread Tom Chiverton
On Thursday 15 Jan 2009, cf coder wrote:
 This is when it throws the exception.

What exception ?

-- 
Tom Chiverton
Helping to appropriately transform market-growth



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317987
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 500 Event Handler Exception error when I try to create a java object

2009-01-15 Thread cf coder
500 Event Handler Exception. That's all it says. I've turned on debugging but 
it doesn't display any debugging information either.

 On Thursday 15 Jan 2009, cf coder wrote:
  This is when it throws the exception.
 
 What exception ?
 
 -- 
 Tom Chiverton
 Helping to appropriately transform market-growth
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, 
 Manchester, M3 3EB.  A list of members is available for inspection at 
 the registered office together with a list of those non members who 
 are referred to as partners.  We use the word “partner” to refer to a 
 member of the LLP, or an employee or consultant with equivalent 
 standing and qualifications. Regulated by the Solicitors Regulation 
 Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above 
 and may be confidential or legally privileged.  If you are not the 
 addressee you must not read it and must not use any information 
 contained in nor copy it nor inform any person other than Halliwells 
 LLP or the addressee of its existence or contents.  If you have 
 received this email in error please delete it and notify Halliwells 
 LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317991
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4