VFS - Could not load VFS configuration

2008-12-10 Thread Per Hermansson
Hi I'm having trouble using recent versions of Commons VFS. Current trunk gives the following error: org.apache.commons.vfs.FileSystemException: Could not load VFS configuration from

Re: Looking for an OSGi expert

2008-12-10 Thread Raman Gupta
Paul Benedict wrote: Is anyone here very good with OSGi bundles? I am looking to OSGify Struts 1.3.10, but I need someone who can help out with their knowledge. The Spring guys have already OSGified Struts for their enterprise bundle repository. I suggest you download their jar and take a look

Antwort: Re: BooleanUtils

2008-12-10 Thread magnus . karlsson
Hi Hen, I have open a JIRA LANG-475 with the new feature and a junit. just open it in eclipse and run the test. cheers. magnus ___ BSGroup Zürich Magnus Karlsson Software Entwickler externe Mitarbeiter CH- Telefon ++41 (0)58 277

java.net.bind exception with ports 80.

2008-12-10 Thread Srijith Kochunni
Hi All, I am using jsvc to daemonize my java application, which runs on a Linux box. I get an error java.net.BindException: Permission denied. I get this only for ports 1024 and I understand on linux to bind to any ports which are below 1024, you require root permission. Therefore

Re: VFS - Could not load VFS configuration

2008-12-10 Thread Mark Fortner
It looks like your classpath doesn't include all of the vfs libraries. You might want to check to see that you have all dependent libraries. The VFS project page should give you a list of dependencies. Hope this helps, Mark On Wed, Dec 10, 2008 at 4:07 AM, Per Hermansson [EMAIL PROTECTED]

[SCXML] Help with Data()

2008-12-10 Thread Jaroslav Pullmann
Dear all, could you please give me a short hint on these questions ? 1) where to find documentation and source code for the Data-function for JEXL evaluator ? I need to clarify which subset of XPath is supported. 2) there is no name attribute on data in current working draft, but

Re: VFS - Could not load VFS configuration

2008-12-10 Thread Per Hermansson
Hi Thanks for your help but I've now tried to add all the jars mentioned on the homepage and I still get the same exception. /Per Mark Fortner wrote: It looks like your classpath doesn't include all of the vfs libraries. You might want to check to see that you have all dependent libraries.

RE: VFS - Could not load VFS configuration

2008-12-10 Thread Mario Ivankovits
Hi! org.apache.commons.vfs.provider.local.DefaultLocalFileProvider is a class in vfs core. For me it seems there is something wrong with your vfs core jar. Please check if the class is in there. Did you build the jar by yourself? Probably something went wrong during the build process. Ciao,

Re: VFS - Could not load VFS configuration

2008-12-10 Thread Per Hermansson
Hi I've build it using mvn install from the core directory and I've verified that the class file is actually in the jar file. This problem might not be related to VFS but I can't understand what is causing it. Per Mario Ivankovits wrote: Hi!

RE: VFS - Could not load VFS configuration

2008-12-10 Thread Mario Ivankovits
Me too. Probaby try it with Sun's JDK, or enable some sort of class loading debug (there might be a command-line switch to do so) with OpenJDK, probably you can find some more hints. According to [1] this java -verbose:class might do the trick. Ciao Mario [1]

Re: [SCXML] how to parse and serialize a string located in a transition

2008-12-10 Thread Rahul Akolkar
Since this is a shared mailing list, please prefix your email subject with the correct Commons component such as the [SCXML] prefix I have added to this message. To your question below ... On Wed, Dec 10, 2008 at 7:45 AM, Rostand [EMAIL PROTECTED] wrote: ich want to add a String in a

Re: [SCXML] Help with Data()

2008-12-10 Thread Rahul Akolkar
On Wed, Dec 10, 2008 at 10:38 AM, Jaroslav Pullmann [EMAIL PROTECTED] wrote: Dear all, could you please give me a short hint on these questions ? 1) where to find documentation and source code for the Data-function for JEXL evaluator ? I need to clarify which subset of XPath is

DIGESTER - ClassNotFoundException when object-create-rule fires

2008-12-10 Thread Wm.A.Stafford
I'm following the Digester tutorial at http://www.onjava.com/pub/a/onjava/2002/10/23/digester.html. I substituted some classes of my own for those in the tutorial. I'm getting a ClassNotFound exception when digester.parse() fires the first object-create-rule. I can create an instance of the

Re: [DIGESTER] - ClassNotFoundException when object-create-rule fires

2008-12-10 Thread James Carman
How are you running your code? In a stand-alone application? On Wed, Dec 10, 2008 at 3:40 PM, Wm.A.Stafford [EMAIL PROTECTED] wrote: I'm following the Digester tutorial at http://www.onjava.com/pub/a/onjava/2002/10/23/digester.html. I substituted some classes of my own for those in the

DIGESTER - am I involved in a battle of the class loaders?

2008-12-10 Thread Wm.A.Stafford
James, After making the class loader adjustment I got a ClassNotFound exception for beanutils.MethodUtils. Dec 10, 2008 4:05:12 PM org.apache.commons.digester.Digester endElement SEVERE: End event threw error java.lang.NoClassDefFoundError: org/apache/commons/beanutils/MethodUtils I thought

Commons Configuratio - CDATA in XML

2008-12-10 Thread Brian Boyle
Hi, I am loading up a XML file into and XMLConfiguration object but I am getting an error. org.apache.commons.configuration.ConfigurationException: Invalid byte 1 of 1-byte UTF-8 sequence. It appears the my XML is failing to be parsed correctly because I have an apostrophe in it. However, I

Digester - how to debug?

2008-12-10 Thread Wm.A.Stafford
I have boiled my Digester app down to the barest minimum; create an object when the outer tag is encountered. The object is always null. Digester digester = new Digester() ; digester.setValidating ( false ); digester.addObjectCreate( DIFF,

Re: Commons Configuratio - CDATA in XML

2008-12-10 Thread Mark Fortner
I can't tell without looking at the file, but my guess is that you have a character in your XML that is not UTF-8. The encoding at the top of the file probably specifies UTF-8 as the encoding. If you can replace the character you should be OK. JEdit or Eclipse should be able to point out the

Re: VFS - Could not load VFS configuration

2008-12-10 Thread Per Hermansson
I think I found the problem (context classloader). Reverting rev 537717 seems to solve my issue. Should I open an issue about this? Per Mario Ivankovits wrote: Me too. Probaby try it with Sun's JDK, or enable some sort of class loading debug (there might be a command-line switch to do so)

Re: [DIGESTER] - am I involved in a battle of the class loaders?

2008-12-10 Thread James Carman
How about you post the code you're using, if you can. We might be able to help better that way. On Wed, Dec 10, 2008 at 4:20 PM, Wm.A.Stafford [EMAIL PROTECTED] wrote: James, After making the class loader adjustment I got a ClassNotFound exception for beanutils.MethodUtils. Dec 10, 2008

RE: VFS - Could not load VFS configuration

2008-12-10 Thread Mario Ivankovits
Yes, but don't forget to attach a patch :-) Ciao, Mario -Original Message- From: Per Hermansson [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2008 11:31 PM To: Commons Users List Subject: Re: VFS - Could not load VFS configuration I think I found the problem (context

Re: java.net.bind exception with ports 80.

2008-12-10 Thread Srijith Kochunni
Hi, Just to narrow down on things, I wrote a simple Daemon class as follows public class MyDaemon implements Daemon ServerSocket socket; private String[] args; public void destroy() System.out.println(In destroy); public void init(DaemonContext arg0)