We recently updated to CF 8.01. Now we're getting this intermittent error on
a webservice call that seems to be related to the custom return type:
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>coldfusion.xml.rpc.CFCInvocationException:
[java.lang.ClassNotFoundException :
components.bridge.Cp_startup][java.lang.LinkageError : loader (instance of
coldfusion/xml/rpc/SkeletonClassLoader): attempted duplicate class
definition for name: "components/bridge/Cp_startup"]</faultstring>
<detail>
<ns1:hostname
xmlns:ns1="http://xml.apache.org/axis/">YOURMAMA</ns1:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
The problem is described in good detail here:
http://blog.coldfusionpowered.com/?p=28
Clearing the cfc skeletons worked once, but does not work anymore. All
referenced to custom return types use the same case.
Has anyone else seen this? Google turned up nothing...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339515
However, I don't trust it will continue working since it has been
intermittent. Fingers crossed it was a left over class file prior to
upgrading to 8.01 (although I thought I had cleared all class files during
the upgrade.
Brook
Hello,
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<detail>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
http://blog.coldfusionpowered.com/?p=28
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339522
The fault returned when invoking the web service operation is:<br>
<pre>AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode: faultString: coldfusion.xml.rpc.CFCInvocationException:
[java.lang.ClassNotFoundException :
components.bridge.Cp_register][java.lang.LinkageError : loader (instance of
coldfusion/xml/rpc/SkeletonClassLoader): attempted duplicate class
definition for name: "components/bridge/Cp_register"] faultActor:
faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:YOURMAMA2
''</pre>
Brook
Brook
Hello,
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<detail>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
http://blog.coldfusionpowered.com/?p=28
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339644
On Tue, Nov 30, 2010 at 11:16 PM, Brook Davies <cft...@logiforms.com> wrote:
>
> I am getting this error again, now with a different custom return type
> class. This error is making our web service unusable. Has any one
> encountered this:
>
> The fault returned when invoking the web service operation is:<br>
> <pre>AxisFault faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException<http://schemas.xmlsoap.org/soap/envelope/%7DServer.userException>
> faultSubcode: faultString: coldfusion.xml.rpc.CFCInvocationException:
> [java.lang.ClassNotFoundException :
> components.bridge.Cp_register][java.lang.LinkageError : loader (instance of
> coldfusion/xml/rpc/SkeletonClassLoader): attempted duplicate class
> definition for name: "components/bridge/Cp_register"] faultActor:
> faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:YOURMAMA2<http://xml.apache.org/axis/%7Dhostname:YOURMAMA2>
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339647
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339649
I tried a different JVM and checked to make sure the jvm.config file was not
corrupt. Same error (different path) with a different JVM.
I tried everything I could think of and eventually decided to re-install
CF8. I'm getting the exact same error after the re-install. CF will not
start. The error message is the same as above.
I've never had this happen before, to this extent. I don't know what it
could be. This server has ran fine for years..
Anybody have any pointers on where to look?
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339650
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339651
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=C:/ColdFusion8/runtime/jre
-----------
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339652
-mark
Its plain jane:
-----------
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339653
Like I said also, I just reinstalled CF8 and am still getting this error.
I've tried everything I can think of....
These problems all started when I deleted the contents of the cfclasses
directory and cleared the template cache on the server. That hung the server
and on restart its just not working. I've never seen anything like this
before.. I don't know where else to look... but for the windows 2003 install
CD... which I hope I don't need to do...
Brook
-mark
Its plain jane:
-----------
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339654
C:\\coldfusion8\\runtime\\bin .... maybe all the way to the jvm dir...
\\bin\\server...
Brook
-mark
Its plain jane:
-----------
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339655
Brook
-mark
Its plain jane:
-----------
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339656
When you reinstalled CF8 did you apply the update again?
Did you try to start CF before applying the update after the reinstall?
Wil Genovese
One man with courage makes a majority.
-Andrew Jackson
A fine is a tax for doing wrong. A tax is a fine for doing well.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339657
My guess is that you have the following:
- a 64-bit system,
- a 32-bit version of CF with a 32-bit jvm.dll,
- a 64-bit JVM installed elsewhere that's in the path, and that's
trying to interact with the 32-bit DLL.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339658
Will: I've tried both ways now, with and without the 8.01 updater.
I've never seen anything like this before. I don't know what it could be. I
think I'm gonna have to do a complete re-install of the OS. Cause I have no
idea. BTW, I can run "java - version" from a command prompt and get a
result. Java appears to be installed and functional...
Brook
Wil Genovese
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339660
Running "java -version" indicates that the user context in which
you're logged in has the proper environment variables, etc, set up. It
doesn't tell you anything about how CF will run Java, unless you've
logged in as the same user account that CF uses.
What version of Java does it say you have?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339661
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-----Original Message-----
From: Dave Watts [mailto:dwa...@figleaf.com]
Sent: Tuesday, November 30, 2010 9:39 PM
To: cf-talk
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339662
I really don't want to spend all night (going downtown to the colo)
re-installing the OS and CF and setting up all the crap on this server, but
it looks like I may have to.
Any other ideas? I'll try anything!
Brook
-----Original Message-----
From: Mark A. Kruger [mailto:mkr...@cfwebtools.com]
Sent: November-30-10 8:01 PM
To: cf-talk
Oooh... .good thought.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339663
But I have tried setting this to the version that ships with CF and that
doesn't work either...
Brook
-----Original Message-----
From: Dave Watts [mailto:dwa...@figleaf.com]
Sent: November-30-10 7:49 PM
To: cf-talk
Subject: Re: Webservice error after CF 8.01 update CF FAILS TO START! Error
loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339664
What do the windows logs show... any i/o type errors? The error you are
getting is definitely really early on in the bootstrap - like when the JVM
is first tapped.... not much to go on eh?
Brook
Oooh... .good thought.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339665
Remove all other versions of Java, make sure their environment
variables are removed, and restart CF.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339666
I think it's possible, but every "Error loading ... jvm.dll" I've seen
or heard of was caused by a mismatch between JVMs.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339667
Also... have you tried commenting it out? Perhaps you have a JAVA_HOME
set.....
Its plain jane:
-----------
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339668
Its plain jane:
-----------
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339669
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=C:/ColdFusion8/runtime/jre
#
# If no java.home is specified a VM is located by looking in these places in
this
# order:
#
# 1) bin directory for java.dll (windows) or lib/<ARCH>/libjava.so (unix)
# 2) ../jre
# 3) registry (windows only)
# 4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
#
# Arguments to VM
java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=192m -XX:+UseParallelGC
-Dcoldfusion.rootDir={application.home}/../
-Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/
../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-
INF/cfform/jars -Dcoldfusion.libPath={application.home}/../lib
#
# commas will be converted to platform specific separator and the result
will be passed
# as -Djava.ext.dirs= to the VM
java.ext.dirs={jre.home}/lib/ext
#
# where to find shared libraries
java.library.path={application.home}/../lib,{application.home}/../jintegra/b
in,{application.home}/../jintegra/bin/international
system.path.first=false
#
# set the current working directory - useful for Windows to control
# the default search path used when loading DLLs since it comes
# before system directory, windows directory and PATH
java.user.dir={application.home}/../../lib
# JVM classpath
java.class.path={application.home}/servers/lib,{application.home}/../lib/mac
romedia_drivers.jar,{application.home}/lib/cfmx_mbean.jar,{application.home}
/lib
Its plain jane:
-----------
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339670
I'll run chkdsk and report back..
Brook
Brook
Oooh... .good thought.
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339671
-----Original Message-----
From: Brook Davies [mailto:cft...@logiforms.com]
Sent: November-30-10 8:52 PM
To: cf-talk
Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START! Error
loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll
No I/O errors in the logs. The duplicate class file issue also happened on
two servers (after the 8.01 update) so I don't think thats I/O related. I am
leaning that way aswell though, since this is just a bit to bizarre...
I'll run chkdsk and report back..
Brook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339672
If I open a command prompt and go to 'c:\coldfusion8\runtime\bin\' and run
any of executables directly (like sniffer.exe or xmlscript.exe - I get the
same error "Error loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll".
Theres nothing in any logs. I don't know what else to do. How can I get a
more detailed error message or insight into what is happening?
Could this permissions related? I've tried giving 'everyone' full access to
the CF directory. Running the service under an admin account - all with no
luck...
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339673
So does the dll exist on the filesystem? What is the md5 and file size
of the dll? Do you have some sort of antivirus with on-access scans
installed on the system?
> Theres nothing in any logs. I don't know what else to do. How can I get a
> more detailed error message or insight into what is happening?
How are you starting CF? Have you tried bypassing the service and just
starting it from the command line with "jrun.exe -start cfusion"? What
is the output from the command "set"?
Jochem
--
Jochem van Dieten
http://jochem.vandieten.net/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339675
(make sure you download and install the JDK, not just JRE - jdk includes
the /server directory; jre only has /client)
and, as has been suggested already, triple-check that all the parts (OS,
CF and JVM) run in same bit mode (all 32-bit or all 64-bit)
Azadi
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339676
The dll does exist where it is supposed to. Its 3,813,376 KB in size. I've
reinstalled CF8 about 6 or 7 times now, to various locations always with the
exact same error. The dll is virus free.
I've tried starting CF directly and I get the exact same error and that
error alone printed out to the console.
Its bizarre right?
Brook
Jochem
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339677
Any compression on the file system?
-mark
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-----Original Message-----
From: Brook Davies [mailto:cft...@logiforms.com]
Hi Jochem,
Its bizarre right?
Brook
Jochem
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339678
I have the keyTool GUI program on this server and it has a dump of all the
Java paths and configurations - they match exactly our other web server that
is running CF8 with the exact same config just fine.
Also, I can open a command prompt and go to c:\coldfusion8\runtime\jre\bin\
and run java -version and it reports '1.6.0_04'....
Everything is 32bit...
Brook
-----Original Message-----
From: Mark A. Kruger [mailto:mkr...@cfwebtools.com]
Brook,
-mark
Hi Jochem,
Its bizarre right?
Brook
Jochem
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339679
And a full reinstall to a different directory (c:\coldfusion8_new or
something) didn't work?
Everything is 32bit...
Brook
Brook,
-mark
Hi Jochem,
Its bizarre right?
Brook
Jochem
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339680
Brook,
Everything is 32bit...
Brook
Brook,
-mark
Hi Jochem,
Its bizarre right?
Brook
Jochem
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339681
Tell me everything about the OS - ignoring any information about JVM's etc.
What exact version of windows are you running? Is it a VPS? Is it on a
domain? What are the environmental variables? Is your login as an admin?
What is the service pack level.... gotta be something else going on outside
of CF at this point - don't you think?
What was your process for "uninstalling" CF? For "reinstalling"?
-Mark
Brook,
Everything is 32bit...
Brook
Brook,
-mark
Hi Jochem,
Its bizarre right?
Brook
Jochem
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339683
I don't know why it just started all of sudden, but updating this dll
resolved the problem. Maybe Mack can comment further on the resolution.
Thank you for everyones responses and suggestions!!
Brook
Brook,
-Mark
Brook,
Everything is 32bit...
Brook
Brook,
-mark
Hi Jochem,
Its bizarre right?
Brook
Jochem
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339700
Brook
Brook,
-Mark
Brook,
Everything is 32bit...
Brook
Brook,
-mark
Hi Jochem,
Its bizarre right?
Brook
Jochem
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339709
Russ
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339710
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-----Original Message-----
From: Russ Michaels [mailto:ru...@michaels.me.uk]
Sent: Wednesday, December 01, 2010 4:27 PM
To: cf-talk
Subject: Re: Webservice error after CF 8.01 update CF FAILS TO START!
[FIXED]
that is certainly odd, that is the microsoft visual c runtime file, how
would it affect ColdFusion which runs on Java ?
Russ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339711
I noticed the bug database does mention problems with java 1.6/msvcr71.dll and custom loaders
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6509291
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6509739
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339712
The JVM itself is loaded as a native DLL - jvm.dll. Java requires a
native bootstrap to run in the first place.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339713
Dave is correct here, jvm.dll has a dependency on msvcr71.dll. In this
case jrun.exe would terminate immediately after msvcr71.dll was loaded
and write an error to the log file about not being able to load
jvm.dll. The fix was to copy a newer version of msvcr71.dll to
runtime\bin so CF used that and leave the older dll in system32.
--
Mack
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339715
Thanks for that info.... so copying to the /bin directory does the trick? I
would think you would have to "un register" and "re register".... nice to
know.
-Mark
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-----Original Message-----
From: Mack [mailto:mrsmit...@gmail.com]
Sent: Thursday, December 02, 2010 5:42 AM
To: cf-talk
Subject: Re: Webservice error after CF 8.01 update CF FAILS TO START!
[FIXED]
--
Mack
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339717
Mark,
When loading a DLL Windows searches first in the current directory
and then in the system directories I think.
--
Mack
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339718
Brook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339719
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339726
coldfusion.xml.rpc.CFCInvocationException: [java.lang.ClassNotFoundException
: components.bridge.Cp_startup][java.lang.LinkageError : loader (instance of
coldfusion/xml/rpc/SkeletonClassLoader): attempted duplicate class
definition for name: "components/bridge/Cp_startup"]
The error would go away after a restart and clearing out all of the
generated class files. But it would then start happening again out of the
blue.
I first tried making sure that the references to the returntypes in the code
were all the same case. This did not resolve it. Finally I renamed all of
the complex return type definitions to begin with an upper case "C" (from
'cp_startup.cfc' to 'Cp_startup.cfc'). After rebooting and clearing the
cache the problem seems to have been resolved.
Brook
-----Original Message-----
From: Bobby Hartsfield [mailto:bo...@acoderslife.com]
Sent: December-02-10 2:27 PM
To: cf-talk
Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START!
[FIXED]
So did the initial webservice error go away as well?
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-----Original Message-----
From: Brook Davies [mailto:cft...@logiforms.com]
Sent: Thursday, December 02, 2010 10:35 AM
To: cf-talk
Subject: RE: Webservice error after CF 8.01 update CF FAILS TO START!
[FIXED]
Yeah, I wasn't sure if you need to copy it into the bin directory or just
update the version in system32. Thanks again Mack.
Brook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339735
Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339771
I guess time will tell if it resolved the issue. It gives me hope that it
seems to have resolved your problem.
Thanks
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339777
Brook
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339788
>Well, its 2am and I am still trying to figure this one out. I've reinstalled
>CF now about 5 times, I get the same error (with zero details!) everytime.
>I've tried installing to a new partition - same error. I've logged on with a
>new admin account and installed from there, same error. I've tried multiple
>JVMs, same thing.
>
>If I open a command prompt and go to 'c:\coldfusion8\runtime\bin\' and run
>any of executables directly (like sniffer.exe or xmlscript.exe - I get the
>same error "Error loading: C:/ColdFusion8/runtime/jre\bin\server\jvm.dll".
>
>Theres nothing in any logs. I don't know what else to do. How can I get a
>more detailed error message or insight into what is happening?
>
>Could this permissions related? I've tried giving 'everyone' full access to
>the CF directory. Running the service under an admin account - all with no
>luck...
>
>Brook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339792
> Wow very interesting and difficult problem. I am a bit late in reading
> this detail and have nothing to add over what others have covered.
> Curious is it fixed and what was to solution?
> Regards, Carl.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339793
Bobby mentioned he was having the same error. Anyone else? I think this is a
bug, since it only started happening on a webservice that has ran without
error for 5 years - after the 8.01 update.
coldfusion.xml.rpc.CFCInvocationException: [java.lang.ClassNotFoundException
: components.bridge.Cp_startup][java.lang.LinkageError : loader (instance of
coldfusion/xml/rpc/SkeletonClassLoader): attempted duplicate class
definition for name: "components/bridge/Cp_startup"]
My customers are up in arms, but we don't have a good solution for this....
Brook
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339938
At this point I think I might set up a task that runs every 5 mins, calls
the webservice and if the result contains the "duplicate class definition"
string/error, then programmatically clear the template cache (
createObject("component","cfide.adminapi.administrator").login("ohnoyoudont"
);
createObject("component","cfide.adminapi.runtime").clearTrustedCache();
*Would this even work to clear the template cache???*
). Its hella ugly, but its hack/patch..
Brook
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339940
Since the problem came back, what I ended up doing was reverting to the
lower case file names and references used previously and taking a copy of
the WSDL generated prior to CF 8.01 and saving it as a standalone WSDL. Then
in the webservice CFC, I added <component wsdlfile="myOriginal.wsdl">, so
that it would use my original 'static' WSDL. So far this is working, it
remains to be seen if the problem will rear its ugly head again. If it does,
I'm sure it will happen at 3am Sunday morning ;)
Brook
Brook
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339998
The fault returned when invoking the web service operation is:<br>
<pre>AxisFault faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode: faultString: coldfusion.xml.rpc.CFCInvocationException:
[java.lang.ClassNotFoundException :
components.bridge.Cp_startup][java.lang.LinkageError : loader (instance of
coldfusion/xml/rpc/SkeletonClassLoader): attempted duplicate class
definition for name: "components/bridge/Cp_startup"] faultActor:
faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:AWEB2 ''</pre>
Grrr.... I've pretty much exhausted all my options now, this is driving me
batty..
Brook
An update on this:
Brook
Brook
Brook
Brook
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340001
Brook,
I think this is a bug in CF. I've made a small testcase on which I can
reproduce the error all the time:
http://dl.dropbox.com/u/15688335/wstest.zip
1. Put the files in a wstest folder in your root.
2. create a file to test the web service : <cfset ws =
createObject("webservice",
"http://SERVER/wstest/ws.cfc?wsdl").function1()>
3. run the test file once. It should work properly.
4. rename wstest/result/function1Response.cfc (adding 1 at the end of
the file works just fine)
5. run the test file. It should complain about function1Response.cfc
not being found.
6. rename the cfc back to function1Response.cfc
7. run the test file. On my server (9.0.1) it alternates between
'java.lang.LinkageError : loader (instance of
coldfusion/xml/rpc/SkeletonClassLoader): attempted duplicate class
definition for name: "wstest/result/Function1Response"' and
'java.lang.ClassNotFoundException :
wstest.result.Function1Response][java.lang.NullPointerException :
null'
The error is cleared temporarily by:
- changing ws.cfc (adding spaces at the start for example);
- using the clearTrustedCache function like in your code.
If you can duplicate the error I will log this as a bug with Adobe.
--
Mack
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340010
On CF 8.01 I get this error when following the steps:
[coldfusion.runtime.UDFMethod$InvalidReturnTypeException : The value
returned from the function1 function is not of type
wstest.result.function1Response.]
Your getting a different error, which is actually the same one I get on my
production server. However, I don't have to modify any filenames or ANY code
to get this error. I think it happens when there is a cache pop in the
template cache. Because it works for a while, some times a day or so, and
then stops. If I increase the template cache size it seems to work for
longer before an error starts, thats why I think its related to the template
cache..
Brook
-----Original Message-----
From: Mack [mailto:mrsmit...@gmail.com]
Sent: December-11-10 10:05 AM
To: cf-talk
Brook,
--
Mack
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340025
That's my guess also and I think renaming the cfc does a cache pop so
the bug can be duplicated quickly.
--
Mack
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340026
Just wondering if you filed this as a bug. My webservice continually throws
the duplicate class error message after running for some time. I have
resorted now to running the following code every 1 hour to clear the
template cache and hopefully avoid this error:
<!--- login --->
<cftry>
<cfinvoke
component="cfide.adminapi.administrator"
method="login"
adminPassword=""
adminUsername="admin">
<cflog file="wsCACHE" text="Log in successful">
<cfcatch>
<cflog file="wsCACHE" text="Error logging in to CFADMIN.
#cfcatch.message#">
<cfabort>
</cfcatch>
</cftry>
<!--- release templates from template cache --->
<cfset filepath = 'C:\Inetpub\wwwroot\www.yourmamassofat.com\cmp\bridge\'>
<cfset tpllist = ''>
<cfset tpllist = listAppend(tpllist, filepath & 'cp_startup.cfc')>
<cfset tpllist = listAppend(tpllist, filepath & 'cp_register.cfc')>
<cfset tpllist = listAppend(tpllist, filepath & 'cp_createTask.cfc')>
<cfset tpllist = listAppend(tpllist, filepath & 'cp_deleteTask.cfc')>
<cfset tpllist = listAppend(tpllist, filepath & 'cp_getFieldList.cfc')>
<cfset tpllist = listAppend(tpllist, filepath &
'cp_getFieldListandfilters.cfc')>
<cfset tpllist = listAppend(tpllist, filepath & 'cp_uninstallBridge.cfc')>
<cfset tpllist = listAppend(tpllist, filepath & 'cp_updateTask.cfc')>
<cfset tpllist = listAppend(tpllist, filepath & 'bridge.cfc')>
<cftry>
<cfinvoke
component="cfide.adminapi.runtime"
method="clearTrustedCache"
templateList="#tpllist#">
<!--- log failure clearing template cache --->
<cfcatch>
<cflog file="wsCACHE" text="Errror clearing template cache
via adminAPI. #cfcatch.message#">
</cfcatch>
</cftry>
<!--- log success --->
<cflog file="wsCACHE" text="Template Cache cleared">
<!--- logout --->
<cftry>
<cfinvoke
component="cfide.adminapi.administrator"
method="logout"
adminPassword=""
adminUsername="admin"
templateList="#tpllist#">
<cfcatch>
<cflog file="wsCACHE" text="Error logging out of CFADMIN">
</cfcatch>
</cftry>
Brook
-----Original Message-----
From: Mack [mailto:mrsmit...@gmail.com]
Sent: December-11-10 10:05 AM
To: cf-talk
Subject: Re: Webservice error after CF 8.01 update
Brook,
--
Mack
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340212
Brook,
It's bug 85391.
--
Mack
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340249