java.lang.NoClassDefFoundError Jboss6

Last post 06-17-2011, 3:03 PM by codewarior. 19 replies.
Page 1 of 2 (20 items)   1 2 Next >
Sort Posts: Previous Next
  •  05-02-2011, 11:11 AM 300865

    java.lang.NoClassDefFoundError Jboss6 Java

    Attachment: Present (inaccessible)
    Hi,

    We got error [java.lang.NoClassDefFoundError]  when we moved from jBoss 5 to jBoss 6.

    We are using version 1.4.0 of com.aspose.metafiles

    ERROR [STDERR] net.sf.saxon.trans.XPathException: Exception in extension function java.lang.NoClassDefFoundError: com/aspose/metafiles/ob
    fuscated/aP (wrong name: com/aspose/metafiles/obfuscated/ap)


    More Stack trace is in attachment in error.txt

    The problems seems to be with classloader  in jBoss 6 .

    Thanks
     
  •  05-03-2011, 10:30 AM 301083 in reply to 300865

    Re: java.lang.NoClassDefFoundError Jboss6

    Hello Lukas,

    Thanks for using our products.

    Can you please share the code snippet that you are using so that we can test the scenario at our end. We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  05-04-2011, 4:21 AM 301264 in reply to 301083

    Re: java.lang.NoClassDefFoundError Jboss6

    Hi,

    there is our code


    licenseFile = loader.getResourceAsStream("Aspose.Metafiles.lic");
                if (licenseFile == null) {
                    System.out.println("licenseFile not found");
                }
                // Instantiate the License class
                final License license = new License();
                // Set the license through the stream object
                license.setLicense(licenseFile);
    
                Metafile efile = null;
                if (fileExtension.equalsIgnoreCase("wmf")) {
                    efile = new WmfMetafile(imageSourcePath);
                } else if (fileExtension.equalsIgnoreCase("emf")) {
                    efile = new EmfMetafile(imageSourcePath);
                }
    
    The error happened when is creating new instance of WmfMetafile
    efile = new WmfMetafile(imageSourcePath);
     
  •  05-05-2011, 2:29 AM 301446 in reply to 301264

    Re: java.lang.NoClassDefFoundError Jboss6

    Hello Lukas,

    Thanks for sharing the information.

    We are working over this query and will get back to you soon. We are sorry for this inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  05-16-2011, 3:32 AM 303539 in reply to 301446

    Re: java.lang.NoClassDefFoundError Jboss6

    HI,

    It's been one week , without any response. Could we ask for progress on this issue ?

    We tried the new version 1.7.0 with  eval . licence  and we got same error .

    The problem comes from the obfuscation you use. Since you seem unable to resolve the problem, we'd like to request that you send us a special build with tweaks to the obfuscation: either don't use different cases (aw and aW, just standardize to all lower) or don't obfuscate the file names of the class files. I believe this would solve our problem while leaving your IP protections in place.
     
  •  05-16-2011, 7:57 AM 303602 in reply to 303539

    Re: java.lang.NoClassDefFoundError Jboss6

    Hi,

    Sorry for the delay. I am still working over this query and trying to build the test environment over my end. There have been some technical difficulties while building the testing environment but I think I can get them fixed shortly. Please spare us little time and soon you will be updated with the status of correction. We are really sorry for the delay and inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  05-26-2011, 10:14 AM 306370 in reply to 303602

    Re: java.lang.NoClassDefFoundError Jboss6

    Hello Nayyer,

    We still waiting for our solution . We need it , because we need to move to Jboss 6 from Jboss 5 . And this is last thing which we need . It's 10 days,  and we still don't get it .

    Could you please tell us , when you finish  ?

    Thanks

    BR.

    Lukas
     
  •  05-26-2011, 2:41 PM 306428 in reply to 306370

    Re: java.lang.NoClassDefFoundError Jboss6

    Hello Lukas,

    Thanks for your patience and sorry for replying you late.

    I have tried reproducing this problem at my end but I am afraid I am unable to notice any issue. May be I am missing something while generating simple application using Aspose.Pdf for Java. Can you please share some sample .JSP so that we can test the scenario using it. We are really sorry for this delay and inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  05-27-2011, 3:38 AM 306486 in reply to 306428

    Re: java.lang.NoClassDefFoundError Jboss6

    This is not acceptable. I don't know why you're asking about JSPs; the problem is specific to ClassLoading the library in JBoss 6. Have you tried running a simple test within JBoss6? I suspect not.

    It has now been almost 1 month since we first contacted support. We are a paying customer and this issue is preventing production code from working correctly. I have even recommended some possible solutions: 1. give us an un-obfuscated build of the jar, or 2. turn off class name obfuscation, but leave in place class body obfuscation.

    If you are unable to resolve the problem, I would like to raise this issue to your manager. Since your company has no phone support, I will then try contacting management through your Sales numbers.
     
  •  05-27-2011, 4:11 AM 306494 in reply to 306486

    Re: java.lang.NoClassDefFoundError Jboss6

    Hello Lukas,

    Please accept our humble apologies for this delay and inconvenience. In fact in earlier attempts, I tried loading the class library into JBoss application, but I am afraid I could not test the scenario properly. Let me try involving the development team into this thread and I hope they would be in more appropriate position to mitigate this issue.

    Once again I am really sorry for the inconvenience that you have been facing. We try our level best to help our customers in every possible scenario ASAP, but I am afraid this issue has taken longer time than normal.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  05-30-2011, 12:22 PM 307062 in reply to 306486

    Re: java.lang.NoClassDefFoundError Jboss6

    Hello Lukas,

    Thanks for your patience. I have logged this problem in our issue tracking system as METAFJAVA-27902. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  06-06-2011, 2:35 PM 308664 in reply to 306486

    Re: java.lang.NoClassDefFoundError Jboss6

    Attachment: Present (inaccessible)

    Hello Lukas,

    Thanks for your patience.

    I am pleased to inform you that the issue reported earlier has been resolved. Please try using the attached hotfix and in case you still face any problem or you have any further query, please feel free to contact. We apologize for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  06-07-2011, 9:58 AM 308933 in reply to 308664

    Re: java.lang.NoClassDefFoundError Jboss6

    Attachment: Present (inaccessible)
    Hi,

    thanks for response.

    We tried new version , on our Jboss 6 . but we got error .


    Error during converting images caused by : java.net.Malforme
    dURLException Reason > Couldn't parse black list. Please report this error to Aspose.: com.aspose.metafiles.AsposeLicenseException: Couldn't parse black list. Please report this error to Aspose.


    Stack trace is inside attch.



     
  •  06-07-2011, 3:15 PM 309008 in reply to 308933

    Re: java.lang.NoClassDefFoundError Jboss6

    Hello Lukas,

    Can you please share the license file so that we can test the scenario at our end. We apologize for your inconvenience.

    Please visit the following link for instructions on how to share How to send a license?


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  06-08-2011, 11:59 AM 309356 in reply to 308933

    Re: java.lang.NoClassDefFoundError Jboss6

    Hello Lukas,

    Thanks for sharing the license files.

    I have tested the scenario and I am able to notice the same com.aspose.metafiles.AsposeLicenseException. More along I have observed that this exception is being generated if you try to access the application right after you have deployed it.

    I would suggest you to please wait for some moments (may be around 20 to 30 sec) after deploying the application to JBoss and then try running the application. The license will work properly.

    In case the problem is still not resolved, please feel free to contact. We are sorry for your inconvenience.


    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
Page 1 of 2 (20 items)   1 2 Next >
View as RSS news feed in XML