This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Copied from #236835. Hi, I'm experiencing the same problem on deploy on WLS 11g (10.3.6). The whole content of the weblogic.xml is the following: <?xml version="1.0" encoding="UTF-8"?> <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd"> <wls:weblogic-version>10.3.6</wls:weblogic-version> <wls:context-root>web-app-name</wls:context-root> <wls:container-descriptor> <wls:prefer-application-packages> <wls:package-name>org.joda.time.*</wls:package-name> <wls:package-name>org.eclipse.persistence.*</wls:package-name> </wls:prefer-application-packages> </wls:container-descriptor> </wls:weblogic-web-app> The architecture of my application is the following POM project as parent with several jars as modules and a web application. This is the stack trace: Deployment error: Cannot read the server libraries value because the \xtv-ws\xtv-ws-client\src\main\webapp\WEB-INF\weblogic.xml file is not parsable. See the server log for details. at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:273) at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:205) at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:123) at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:235) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) Caused by: org.netbeans.modules.j2ee.deployment.common.api.ConfigurationException: Cannot read the server libraries value because the D:\perforce_workspace\slazarov_slazarov-w7-lt_905\iTvManager\5.7\Server\minerva-xtv\xtv-ws\xtv-ws-client\src\main\webapp\WEB-INF\weblogic.xml file is not parsable. at org.netbeans.modules.j2ee.weblogic9.config.WarDeploymentConfiguration.getLibraries(WarDeploymentConfiguration.java:329) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getLibraries(ConfigSupportImpl.java:362) at org.netbeans.modules.j2ee.deployment.impl.DeploymentHelper.deployServerLibraries(DeploymentHelper.java:123) at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:217) ... 4 more Thanks, Regards
Looks like a problem in schema2beans module. It can be workarounded by removing the wls: namespace prefix from the file: <?xml version="1.0" encoding="UTF-8"?> <weblogic-web-app xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd"> <weblogic-version>10.3.6</weblogic-version> <context-root>web-app-name</context-root> <container-descriptor> <prefer-application-packages> <package-name>org.joda.time.*</package-name> <package-name>org.eclipse.persistence.*</package-name> </prefer-application-packages> </container-descriptor> </weblogic-web-app>