facebook

Deployment error on SAS 8 since I started using Hibernate

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #227367 Reply

    g-greg
    Member

    Greetings,

    Since I enabled Hibernate into my project, I get this error when deploying it. I unse Sun Appserver 8. Can you help please ?

    [#|2005-03-30T23:02:36.950+0200|ATTENTION|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.deployment|_ThreadID=11;|Deployment Error
    com.sun.enterprise.deployment.backend.IASDeploymentException: filename: C:\DevJava\SunAppServer\domains\domain1\applications\j2ee-modules\Test1\WEB-INF\lib\__temp\license\LICENSE.dom-documentation.txt java.io.FileNotFoundException: C:\DevJava\SunAppServer\domains\domain1\applications\j2ee-modules\Test1\WEB-INF\lib\__temp\license\LICENSE.dom-documentation.txt (Le chemin d’accès spécifié est introuvable)
    at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explode(J2EEModuleExploder.java:101)
    at com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:148)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:131)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:124)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:74)
    at com.sun.enterprise.deployment.phasing.DeploymentService.executePhases(DeploymentService.java:233)
    at com.sun.enterprise.deployment.phasing.DeploymentService.deploy(DeploymentService.java:150)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:275)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:471)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:401)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployWarModule(AutoDeployer.java:377)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:184)
    at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:344)
    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    |#]

    #227370

    Riyad Kalla
    Member

    [#|2005-03-30T23:02:36.950+0200|ATTENTION|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.deployment|_ThreadID=11;|Deployment Error
    com.sun.enterprise.deployment.backend.IASDeploymentException: filename: C:\DevJava\SunAppServer\domains\domain1\applications\j2ee-modules\Test1\WEB-INF\lib\__temp\license\LICENSE.dom-documentation.txt java.io.FileNotFoundException: C:\DevJava\SunAppServer\domains\domain1\applications\j2ee-modules\Test1\WEB-INF\lib\__temp\license\LICENSE.dom-documentation.txt (Le chemin d’accès spécifié est introuvable)

    I don’t think hibernate had any effect on this, it just looks like you are missing a license file. I don’t use Sun AS, have you checked the forums.java.sun.com site for people having similar problems with this file missing?

    #241520

    Oizoken
    Member

    when you deploy an application on sas8, it makes sure every class included is loadable. you’re probably referencing xml-api.jar somewhere, where the license file is opened in one of it’s classes. since you didn’t include the file in the deployed application (but it is in the jar somewhere) it cannot find the file.

    Try putting a dummy (or the real file) in there. or try using other xml-api’s (like jaxp)

    Hope it helps

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Deployment error on SAS 8 since I started using Hibernate

You must be logged in to post in the forum log in