Building JAR with NetBeans 4.1
I have a NetBeans 4.1 project. I build a JAR file. So far so good.
When I run:
java -jar AmazonSample.jarI get, "java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException"
Apparently, it can't find "jaxrpc.jar". This file is both in the root of the JAR file and I've also tried copying it to the current working directory next to the the JAR. I try;
java -classpath .\jaxrpc.jar -jar AmazonSample.jarand
java -classpath jaxrpc.jar -jar AmazonSample.jarI still get the same error. As an aside question, can you specify a classpath like that when running a JAR file?
On other projects, I've added a classpath entry to the JAR's manifest file and that works fine. However, NetBeans doesn't provide an easy way to do that.
This must be a very common scenario. How do I resolve?
Thanks!
If you put the jar files in a library and then add that library to compile
and runtime classpaths its works fine running from within the
netbeans but when you try to run the jar outside it doesn't workIt doesn't work because you aren't providing any classpath information. When you run using the -jar variant [java -jar <proggie>] or by clicking the jar in Windows, all external classpath information is disregarded.
The only valid source for classpath information in that case is to provide it in the jar's manifest file, in the form of a Class-Path: <classpath> entry.
To add this to a Netbeans-created jar, look for a file manifest.mf in the Project's files, and add the above entry to this file. NB constructs the actual manifest file from this file, and the classpath entry will transfer.
Here's how to make this work:
1. Create an empty directory test somewhere in the computer.
2. Copy the external library directory or jar file to test.
3. Add the line Class-Path: <name> (where name is the library's directory or jar name) to the manifiest.mf file. If multiple items need to be listed, separate them with a space - not a colon or semi-colon.
CAUTION: The file must end with a linefeed/newline, and as far as I can determine, the <name> can't contain spaces.
4. Build the Project in NB.
5. Copy the jar it creates (in the dist directory) to test.
6 From the test directory, either issue the java -jar <proggie> command or [in Window, assuming your machine is setup to do this] click/double-click the jar.
The contents of test can be zipped for distribution; the recipent needs to unzip into a directory to run.
Similar Messages
-
.jar not working when building project with netbeans plugin and log4j
hey..
subject tells everything..if i build my project referencing log4j, i get a .jar file with 280 kb which is executable
if i add log4j and do some logging, code still works in netbeans, but buildung produces a .jar with 80 kb and an
attached lib-folder with the log4j.jar in it..if i uncheck copy requested libraries, i just get the 80 kb .jar file which
is not working
any hints?Are you building the jar file using the fxdeploy ant task to build the Jar? That is required to have an executable jar file.
Also there was a change to the netbeans project structure, which may be a contributing factor.
Things to try: Upgrade to the latest netbeans 7.1 beta build, set up a new Java platform in nb that includes JavaFX, create a new JavaFX project and build it. This should produce an executable jar. -
I have several classes and folders with various media in it ( bmp, jpg, wav, ... ) that's included in my project. I want to create a jar file which contains this media. It's not a problem when i'm using console and typing "jar" commands. But can i do this from NetBeans, maybe include this media somehow ...
i have tryed this, and searched NetBeans help flies but there is no result. I'm just wondering if it's possible ?I've a similar question.
I've created, by sql2java, this package
build\classes //contains .class file
build\javadoc //contains .html file
src\java //contains .java file
Now i want create a .jar file with all files inside.
How i can do this?
In Netbeans i've created a Library by Library manager. I've setted the corrispondent folder, and now the ide allow navigate .class file such as in a jar file. If i double click on one, the ide open corrispondent .java file, and if i want view javadoc, i right-click on .class file and choose "Show javadoc".
Well, how i can generate a jar file?
Thanks. -
Problem build .jar in netbean !
Hi every body, i have an porblem in build a project to runable .jar file
E:\Project Netbean\Security\nbproject\jfx-impl.xml:23: fxjar doesn't support the "applicationClass" attribute
BUILD FAILED (total time: 0 seconds)if you use JavaFX 2.0 Beta Plugin for NetBeans IDE 7.0 (build 42) and stable current build NetBeance 7.0.1
for each new java project you must edited two project files:
nbproject\project.properties
replace
endorsed.classpath=\
${libs.JavaFX2Runtime.classpath}
to
endorsed.classpath=
nbproject\build_impl.xml
replace
<target depends="jfx-deployment" name="-post-jar">
to
<target name="-post-jar">
and manual added library JavaFX 2.0 SDK\rt\lib\jfxrt.jar in project properties -
Build project with Netbeans using older version of Java
Hi,
I have Java 1.6 and Netbeans 5-5.
I need to build a project using Java 1.4.2.
Please let me know how can I do it.
Thanks,
Andreiclick right the "project folder", then "Properties" and under the "Libraries" tab change the Java platform.
-
How can I get a single jar file with NetBeans?
How can I get a single jar file with NetBeans?
When I create the project I get these files:
dist/lib/libreria1.jar
dist/lib/libreria2.jar
dist/software.jar
The libraries that have been imported to create the project are in separate folders:
libreria1/libreria1.jar
libreria2/libreria2.jar
libreria1, libreria2, dist folders are all located inside the project folder.
I added the following code to the build.xml:
<target name="-post-jar">
<jar jarfile="dist/software.jar">
<zipfileset src="${dist.jar}" excludes="META-INF/*" />
<zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
<zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
<manifest>
<attribute name="Main-Class" value="pacco.classeprincipale"/>
</manifest>
</jar>
</target>
Of course there is also the project folder:
src/pacco/classeprincipale.form
src/pacco/classeprincipale.java
Can you tell me what is wrong? The error message I get is as follows:
C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java
-
Strange problem with my build JAR
Hiii everybody... I'm having a strange problem with my build (JAR file)... when I work with the Eclipse and I click in the table that returns the clients stored in my PostGre database it works fine, but when I build my application and it generates my JAR file and I open it and click in the same table to return the objects that I have.. it does not appears anymore.. just show when I work with eclipse... and the database is the same for both.
I already checked the database path in my properties file... and the application recognize the database because I can login and there isn't any runtime exception...
In that application I work with Hibernate and Spring... for me it is very strange because the application works fine when I run by eclipse... but does not return the database data when I click on my Jar file to open the application..
Someone can help me with that?
I dont know if the problem is in the Spring, Hibernate, Libraries...
thanks in advance...So what's the error then? Are there any error messages? Have you checked the console? Or are you just clicking on the jar and you wouldn't even see the errors if there are any?
What do the logs say?
You're not giving a lot to work on here. -
Canvas3D not visable on Jpanel created with NetBeans UI Builder
Hi,
I created an application with NetBeans UI Builder. It has a frame and two panels. On one panel
I attached a few things with the UI builder and they get displayed correctly. On the other panel however,
I tried to attach a Canvas3D object that I created in another class (the object contains an universe
with 3D objects) with not success by using the following code:
DCL3DFrame mainWindow = new DCL3DFrame(); // object created with UI builder
DCL3d scope3d = new DCL3d(); // object created manually in another class
Canvas3D canvasForScope3D = scope3d.getCanvas();
mainWindow.getPanelForCanvas().add(canvasForScope3D, java.awt.BorderLayout.CENTER);
mainWindow.setVisible(true);I'm not a java programmer, so I'm probably missing something perhaps stupid.
Any help is appreciated.
Thanks,
SalvoThank you, now it works. It does not work because when I modified preferred size in netbeans the jpanel size was not changed. The jPanel size has changed when I reloaded(reopened) the file. I thought that preffered size property is not suitable but it is. I was wrong.
Here is my working code.
Regards,
Primoz
InvoiceCriteriaPanel icp = new InvoiceCriteriaPanel();
jPanelCriteria.add(icp);
jPanelCriteria.setPreferredSize(
new Dimension(icp.getPreferredSize().width,
icp.getPreferredSize().height));
icp.setSize(icp.getPreferredSize().width,
icp.getPreferredSize().height);
icp.setVisible(true); -
Problem building application with weblogic.jar placed out of bea install.
Weblogic version: 10.3
EJB Version: 2.x
Method for generating webservices fomr EJBs: servicegen task.
Application Build steps:
Step1) Maven to build the complete application and generate ejb-jar.jar and other projects jars and wars.
Step2) Post maven build success there is an ant script used to generate webservices using ejb’s in the project using servicegen task. Attached is build.xml for ant.
Following is the class path :
.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;C:\Program Files\IBM\RationalSDLC\ClearQuest\cqjni.jar;C:\bea10.3\wlserver_10.3\server\lib\weblogic.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\webservices.jar;%JAVA_HOME%\lib\tools.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\libslf4j-log4j12-1.5.2.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\struts.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\bootstrap.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc_license_cu.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\ehcache-core-2.0.0.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\j2ee.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\jdom.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\log4j-1.2.9.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\slf4j-api-1.5.8.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-dto.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-jar.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\scheduler-ejb.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\com.bea.core.xml.beaxmlbeans_2.0.0.0_2-5-1.jar;
Problem Area:
As you could notice in the yellow highlighted one that am referring to weblogic.jar from bea installation folder. Now if I use the weblogic.jar from the installation folder then build happens successfully.
However if I copy weblogic.jar to some other location say : C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\weblogic.jar
And include this path in the class path in place of weblogic.jar from the installation path, then I get the following errors: Please refer red highlighted part below…
C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\ulc-ear>ant
Buildfile: build.xml
ejbwebservice:
[servicegen] weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed D
OCTYPE header
[servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:301)
[servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:241)
[servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:320)
[servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:295)
[servicegen] at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:265)
[servicegen] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:118)
[servicegen] at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:47)
[servicegen] at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:177)
[servicegen] at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
[servicegen] at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
[servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[servicegen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[servicegen] at java.lang.reflect.Method.invoke(Method.java:597)
[servicegen] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[servicegen] at org.apache.tools.ant.Task.perform(Task.java:348)
[servicegen] at org.apache.tools.ant.Target.execute(Target.java:357)
[servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[servicegen] --------------- nested within: ------------------
[servicegen] Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document doe
s not appear to contain a properly formed DOCTYPE header - with nested exception:
[servicegen] [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed
DOCTYPE header]
--------------- nested within: ------------------
weblogic.webservice.util.WebServiceJarException: Could not process ejb-jar C:\DOCUME~1\ac30416\LOCALS~1\Temp\ulc-ear.ear
-86826932\ejb.jar - with nested exception:
[weblogic.webservice.dd.EJBProcessingException: Can read in ejb DD files. - with nested exception:
[Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document does not appear
to contain a properly formed DOCTYPE header - with nested exception:
[weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed DOCTYPE heade
r]]]
at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:183)
at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
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:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Please help as its urgent for me as we cannot have local installation of weblogic. We may just use the required jars.Weblogic version: 10.3
EJB Version: 2.x
Method for generating webservices fomr EJBs: servicegen task.
Application Build steps:
Step1) Maven to build the complete application and generate ejb-jar.jar and other projects jars and wars.
Step2) Post maven build success there is an ant script used to generate webservices using ejb’s in the project using servicegen task. Attached is build.xml for ant.
Following is the class path :
.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\sqlj.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar;C:\Program Files\IBM\RationalSDLC\ClearQuest\cqjni.jar;C:\bea10.3\wlserver_10.3\server\lib\weblogic.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\webservices.jar;%JAVA_HOME%\lib\tools.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\libslf4j-log4j12-1.5.2.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\struts.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\bootstrap.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\db2jcc_license_cu.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\ehcache-core-2.0.0.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\j2ee.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\jdom.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\log4j-1.2.9.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\slf4j-api-1.5.8.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-dto.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\ulc-jar.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\Deployment\scheduler-ejb.jar;C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\com.bea.core.xml.beaxmlbeans_2.0.0.0_2-5-1.jar;
Problem Area:
As you could notice in the yellow highlighted one that am referring to weblogic.jar from bea installation folder. Now if I use the weblogic.jar from the installation folder then build happens successfully.
However if I copy weblogic.jar to some other location say : C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\nordea-ulc\lib\weblogic.jar
And include this path in the class path in place of weblogic.jar from the installation path, then I get the following errors: Please refer red highlighted part below…
C:\Jeevesh DEV\ULM Core\UnitLinkCore\UnitLink\ulc-ear>ant
Buildfile: build.xml
ejbwebservice:
[servicegen] weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed D
OCTYPE header
[servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:301)
[servicegen] at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:241)
[servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:320)
[servicegen] at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:295)
[servicegen] at weblogic.ejb20.dd.xml.DDUtils.processEjbJarXML(DDUtils.java:265)
[servicegen] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:118)
[servicegen] at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:47)
[servicegen] at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:177)
[servicegen] at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
[servicegen] at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
[servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[servicegen] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[servicegen] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[servicegen] at java.lang.reflect.Method.invoke(Method.java:597)
[servicegen] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[servicegen] at org.apache.tools.ant.Task.perform(Task.java:348)
[servicegen] at org.apache.tools.ant.Target.execute(Target.java:357)
[servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[servicegen] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[servicegen] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[servicegen] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[servicegen] --------------- nested within: ------------------
[servicegen] Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document doe
s not appear to contain a properly formed DOCTYPE header - with nested exception:
[servicegen] [weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed
DOCTYPE header]
--------------- nested within: ------------------
weblogic.webservice.util.WebServiceJarException: Could not process ejb-jar C:\DOCUME~1\ac30416\LOCALS~1\Temp\ulc-ear.ear
-86826932\ejb.jar - with nested exception:
[weblogic.webservice.dd.EJBProcessingException: Can read in ejb DD files. - with nested exception:
[Error processing file 'META-INF/ejb-jar.xml'. weblogic.xml.process.XMLProcessingException: XML document does not appear
to contain a properly formed DOCTYPE header - with nested exception:
[weblogic.xml.process.ProcessorFactoryException: XML document does not appear to contain a properly formed DOCTYPE heade
r]]]
at weblogic.webservice.util.WebServiceEarFile.init(WebServiceEarFile.java:183)
at weblogic.webservice.util.WebServiceEarFile.readDD(WebServiceEarFile.java:235)
at weblogic.webservice.util.WebServiceEarFile.<init>(WebServiceEarFile.java:74)
at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:177)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
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:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Please help as its urgent for me as we cannot have local installation of weblogic. We may just use the required jars. -
[svn:fx-trunk] 9203: Update flex-fontkit.jar with P4 build 246325
Revision: 9203
Author: [email protected]
Date: 2009-08-10 07:09:18 -0700 (Mon, 10 Aug 2009)
Log Message:
Update flex-fontkit.jar with P4 build 246325
Modified Paths:
flex/sdk/trunk/lib/flex-fontkit.jar -
[svn:fx-trunk] 7637: Update flex-fontkit.jar with P4 build 236168
Revision: 7637
Author: [email protected]
Date: 2009-06-08 12:41:16 -0700 (Mon, 08 Jun 2009)
Log Message:
Update flex-fontkit.jar with P4 build 236168
Modified Paths:
flex/sdk/trunk/lib/flex-fontkit.jar -
[svn:fx-trunk] 13690: Update flex-fontkit.jar with P4 build 268130
Revision: 13690
Revision: 13690
Author: [email protected]
Date: 2010-01-21 10:03:28 -0800 (Thu, 21 Jan 2010)
Log Message:
Update flex-fontkit.jar with P4 build 268130
Modified Paths:
flex/sdk/trunk/lib/flex-fontkit.jar -
[svn:fx-trunk] 13629: Update flex-fontkit.jar with P4 build 267883
Revision: 13629
Revision: 13629
Author: [email protected]
Date: 2010-01-19 11:40:26 -0800 (Tue, 19 Jan 2010)
Log Message:
Update flex-fontkit.jar with P4 build 267883
Modified Paths:
flex/sdk/trunk/lib/flex-fontkit.jar -
[svn:fx-trunk] 13261: Update flex-fontkit.jar with P4 build 265783
Revision: 13261
Revision: 13261
Author: [email protected]
Date: 2010-01-04 13:29:29 -0800 (Mon, 04 Jan 2010)
Log Message:
Update flex-fontkit.jar with P4 build 265783
Modified Paths:
flex/sdk/trunk/lib/flex-fontkit.jar -
[svn:fx-trunk] 12768: Update flex-fontkit.jar with P4 build 263324
Revision: 12768
Revision: 12768
Author: [email protected]
Date: 2009-12-09 19:47:46 -0800 (Wed, 09 Dec 2009)
Log Message:
Update flex-fontkit.jar with P4 build 263324
Modified Paths:
flex/sdk/trunk/lib/flex-fontkit.jar
Maybe you are looking for
-
Budget to Actual Variance Formula in Scenario Dimension help
I am trying to calculate the Budget to Actual variance by using a member formula in the Scenario dimension. The formula I'm using is: @VAR("Final"->"Actual" -> &CurrentYear,"Budget"); This formula yields a value that equals the budgeted amount. The V
-
I cannot open itunes. error message missing file MSVCR 80.dll?
I cannot open i tunes. error message MSVCR 80.dll. Tried reinstalling same results.
-
Odd link to thread in email notification
I didn't see a section for the forum software itself, so I'll post this here. I just got notification of a response to a question I asked. The email had two links: 1. Mark it as solved 2. This doesn't solve my problem I find both of these odd and ver
-
Is the a way of haveing 2 lines of text in a button? myButton = w.add ("button", [10,65,110,155], "Two\rLines") Does not work.
-
Best jpg quality for website work?
I realize that 72 dpi is the best resolution to use for website images, but at what quality level should I export my image files (1-12) ?