Xalan2
Hi,
I'm trying some XSLT-Transformations using various XMLParsers and
Transformation engines.
When I put the org-apache-Xalan-Version-2 jar in the ServerClasspath ahead
of the Weblogic.jar file, I encounter various problems starting and running
the server .
Since we use our own RDBMSRealm, which has a xml-based Property File which
is parsed at server startup, I don't know if these problems apply to the
Weblogic Server in general.
One of the problems is that, with the Xalan2 jar at the start of the
(Weblogic)-Classpath, the server no longer seems to be able to parse some
XML files (Exceptions show wrong pathnames), no matter wether they lie in
the filesystem directly, or in (Enterprise-javabeans)-jar files or in wars.
Are there any known problems using the Xalan2 with weblogic?
Thanks
Hi Brian,
Sorry for the delay in responding.
I can't think of anything in principal that would prevent Xalan-2 from
working as long as it works with the Xerces 1.2.0 parser (which the Xalan-2
docs say it does).
I'm assuming you have the beta-2 version of WebLogic installed. If not,
install it first before trying what follows.
If you have Xalan 1.2 installed, there might be a conflict with Xalan-2. As
it happens, WebLogic 6.0 does come with Xalan 1.2 installed in lib/xmlx.jar.
Note that the lib/xmlx.jar is automatically included in the CLASSPATH if
weblogic.jar is in your CLASSPATH. Therefore, you should rename or remove
lib/xmlx.jar (don't rename the lib directory, just the xmlx.jar file). Then
you either need to install Xerces 1.2.0 (since it was also in xmlx.jar) or
set up Xalan-2 to use the built-in parser's SAXParser
(weblogic.apache.xerces.parsers.SAXParser) as described at
http://xml.apache.org/xalan-j/usagepatterns.html#xmlreader
Give this a try and let me know how it goes.
Regards,
-Todd
"Brian Tasker" <[email protected]> wrote in message
news:[email protected]..
Hi,
I'm trying some XSLT-Transformations using various XMLParsers and
Transformation engines.
When I put the org-apache-Xalan-Version-2 jar in the ServerClasspath ahead
of the Weblogic.jar file, I encounter various problems starting andrunning
the server .
Since we use our own RDBMSRealm, which has a xml-based Property File which
is parsed at server startup, I don't know if these problems apply to the
Weblogic Server in general.
One of the problems is that, with the Xalan2 jar at the start of the
(Weblogic)-Classpath, the server no longer seems to be able to parse some
XML files (Exceptions show wrong pathnames), no matter wether they lie in
the filesystem directly, or in (Enterprise-javabeans)-jar files or inwars.
>
Are there any known problems using the Xalan2 with weblogic?
Thanks
Similar Messages
-
Anyone tried Xalan2.2.0? I found it slow...
anyone tried the new Xalan2.2.0? Supposedly the new implemented DTM provides better performance and less memory hog. However in comparing with Xalan2.1, I have found Xalan2.1 excels in terms of execution time in transformation.
I have written some XSL to do flat file(csv files) to XML transformation using Xalan extension which works really well with Xalan2.1, however the same transformation would take such a long time under Xalan2.2.0 that I had to stop it because it takes up too much CPU and memory...
Xalan2.2.0 also gives me bad performance in XML to XML and XML to flat transformation comparing to Xalan2.1.0 with the exact same file and stylesheets.
anyone got some insights?I can process 50K xml message in 1 to 2 secs in xalan
2.2 . My machine is 256MB RAM.
(single thread application)
See if your requirements fulfil...
Regards,
Dukkar Leethanks...
I also did lots of performance comparison... my computer has 128 meg ram running JDK 1.3.1... surprisingly Xalan 2.1.0 gives consistently better result than Xalan 2.2.0 in all kinds of transformation (flat to xml, xml to xml, etc)... for Xalan 2.1.0, it can transform a flat file of size 9 megs (about 86,000 records), under 6 minutes... and Xalan 2.2.0 just took forever... and for much smaller size, Xalan 2.1.0 always have the edge -
Xalan2 and AbstractMethodError
I am trying to use Xalan 2 with weblogic and I'm getting an AbstractMethodError.
I saw a posting on this newsgroup dated Dec 27 2000 (Problem sing Xalan within the
container), sighting
the same problem, but there was no solution. I wanted to see if anyone had found
a solution to this.
I'm running weblogic 6.0 and using xalan-j_2_0_D07. In my server startup script,
I placed xalan.jar
and xerces.jar in the classpath before weblogic.jar. I also moved the xmlx.jar file
from the lib
directory so it would not be in the classpath. I have a servlet that is using the
Trax API but when I run
the servlet on weblogic I get the following exception:
<Feb 5, 2001 8:19:17 AM CST> <Error> <HTTP> <[WebAppServletContext(302511,stk)]
Servlet failed with Exception
java.lang.AbstractMethodError
at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:710)
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:601)
at com.transentric.stk.servlets.FleetListServlet.service(FleetListServlet.java:155)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Here is a snippet from the servlet class:
// Instantiate a Transformer Factory
javax.xml.transform.TransformerFactory tFactory =
javax.xml.transform.TransformerFactory.newInstance();
// Process the stylesheet source
javax.xml.transform.Transformer transformer = tFactory.newTransformer(xslSource);
// Transform the XML source
transformer.transform(xmlSource, htmlTarget);
Any help is greatly appreciated!In your BEA install directory (Assume D:\BEA)
D:\BEA\WLSERVER6.0\EXT - remove xmlx.zip
D:\BEA\WLSERVER6.0\LIB - remove xmlx.jar
D:\BEA\WLSERVER6.0\LIB - hack the weblogic.jar file and remove all
references related to
org.apache.*
javax.xml.*
Then start up your console and configure WLS to use an external parser
http://edocs.bea.com/wls/docs60/xml/xml_admin.html#1055027
Note: I've only tested this with WLS SP2!!
"Dennis Brennan" <[email protected]> wrote in message
news:[email protected]...
>
You must have changed something else as well. I'm using the xalan.jarfrom xalan-j_2_0_0.zip
and still seeing an AbstractMethodError. I too have my removed xmlx.jarfrom
wls lib dir and put xalan.jar and xerces.jar in front of weblogic.jar inmy startup
script.
I can run everything outside of wls with no problem. When I try to callthe same
code from inside the container, I see the AbstractMethodError
Does anyone have the real solution to this problem? Bea?
"MKParini" <[email protected]> wrote:
Okay. I finally found the source of this problem (sort of).
I had downloaded my xalan.jar from Apache's web site as part of
the
xalan-j_2_0_D07 zip. I'm not sure what the problem is with this
jar, but
if I use the xalan.jar from either Sun's web site in the jaxp download
or
from Apache's web site in the xalan-j_2_0_0 zip then I don't get
this error.
I don't understand what was different in the xalan.jar that I previously
had
that caused the problem. If anyone happens to know, I'd be interested.
"MK Parini" <[email protected]> wrote:
I am trying to use Xalan 2 with weblogic and I'm getting
an AbstractMethodError.
I saw a posting on this newsgroup dated Dec 27 2000 (Problem
sing Xalan within the
container), sighting
the same problem, but there was no solution. I wanted
to see if anyone had found
a solution to this.
I'm running weblogic 6.0 and using xalan-j_2_0_D07. In
my server startup script,
I placed xalan.jar
and xerces.jar in the classpath before weblogic.jar.
I also moved the xmlx.jar file
from the lib
directory so it would not be in the classpath. I have
a servlet that is using the
Trax API but when I run
the servlet on weblogic I get the following exception:
<Feb 5, 2001 8:19:17 AM CST> <Error> <HTTP>
<[WebAppServletContext(302511,stk)]
Servlet failed with Exception
java.lang.AbstractMethodError
atorg.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFa
ctoryImpl.java:710)
atorg.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transformer
FactoryImpl.java:601)
atcom.transentric.stk.servlets.FleetListServlet.service(FleetListServlet.java:
155)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:208)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:1127)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Here is a snippet from the servlet class:
// Instantiate a Transformer Factory
javax.xml.transform.TransformerFactory tFactory =
javax.xml.transform.TransformerFactory.newInstance();
// Process the stylesheet source
javax.xml.transform.Transformer transformer =tFactory.newTransformer(xslSource);
>>>
// Transform the XML source
transformer.transform(xmlSource, htmlTarget);
Any help is greatly appreciated! -
Creating an xml file from java.
I trying to create an xml file using a java program. I just wondering what is the best way to go about it and what should i use jdom ,xerces sax etc.
Use JAXP+SAX.
Here an example:import java.io.*;
// SAX classes.
import org.xml.sax.*;
import org.xml.sax.helpers.*;
//JAXP 1.1
import javax.xml.parsers.*;
import javax.xml.transform.*;
import javax.xml.transform.stream.*;
import javax.xml.transform.sax.*;
// PrintWriter from a Servlet
PrintWriter out = response.getWriter();
StreamResult streamResult = new StreamResult(out);
SAXTransformerFactory tf = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
// SAX2.0 ContentHandler.
TransformerHandler hd = tf.newTransformerHandler();
Transformer serializer = hd.getTransformer();
serializer.setOutputProperty(OutputKeys.ENCODING,"ISO-8859-1");
serializer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM,"users.dtd");
serializer.setOutputProperty(OutputKeys.INDENT,"yes");
hd.setResult(streamResult);
hd.startDocument();
AttributesImpl atts = new AttributesImpl();
// USERS tag.
hd.startElement("","","USERS",atts);
// USER tags.
String[] id = {"PWD122","MX787","A4Q45"};
String[] type = {"customer","manager","employee"};
String[] desc = {"Tim@Home","Jack&Moud","John D'o�"};
for (int i=0;i<id.length;i++)
atts.clear();
atts.addAttribute("","","ID","CDATA",id);
atts.addAttribute("","","TYPE","CDATA",type[i]);
hd.startElement("","","USER",atts);
hd.characters(desc[i].toCharArray(),0,desc[i].length());
hd.endElement("","","USER");
hd.endElement("","","USERS");
hd.endDocument();
[i]This xml generation program might be the best solution because it uses JAXP 1.1 so it will work under JDK 1.4 or JDK 1.2/1.3 with XALAN2 library (or any XML library JAXP 1.1 compliant). It's also memory-friendly because it doesn't need DOM.
See http://www.javazoom.net/services/newsletter/xmlgeneration.html
Hope That Helps -
Problems installing newer xalan distribution (jdk 1.4.1)
Hi,
i would like to install xalan 2.5.D1 with a jdk-1.4.1.
As far as i've understood the docs, xalan ist shipped with
the jdk and i have to use the 'endorsed tecnoligy' to
overirde the jars.
So i put the xalan.jar under $JAVA_HOME/lib/endorsed/xalan.jar.
But if i run 'java org.apache.xalan.xsl.EnvironmentCheck'
I get "version.xalan2=Xalan;Java;Xalan Java 2.2.D11;".
What went wrong ?So i put the xalan.jar under
$JAVA_HOME/lib/endorsed/xalan.jar.^^^^
Well it should be:
$JAVA_HOME/jre/lib/endorsed/xalan.jar.
^^^ -
Classpath setting "unable to access jarfile"
Hi
when i run $java -jar batik-squiggle.jar the error message on screen is
"unable to acces jarfile batik-squiggle.jar" and the path of the jar file is edited with the $CLASSPATH variable in the ~/.bash_profile
if i execute $java -jar /usr/share/batik-1.7/batik-squiggle.jar there is not problem
if i execute $java -cp /usr/share/batik-1.7/batik-squiggle.jar -jar batik-1.7.jar the error message is the above one.
the java virtual machine is sun jdk6
the application file is
-rw-r--r-- 1 root root 553671 2008-01-06 11:11 /usr/share/batik-1.7/batik-squiggle.jar
This is the content of batik-squiggle.jar file about Main-Class paremeter in the MANIFEST.MF file
root@izar:/usr/share/batik-1.7# jar xf batik-squiggle.jar META-INF/MANIFEST.MF && cat META-INF/MANIFEST.MF | grep Main-Class | awk '{ print $2}'
org.apache.batik.apps.svgbrowser.Main
root@izar:/usr/share/batik-1.7# jar tf batik-squiggle.jar | grep org/apache/batik/apps/svgbrowser/Main.class
org/apache/batik/apps/svgbrowser/Main.class
This is my .bash_profile file content
#Fichero de configuración que se ejecuta al:
# entrar en SESION y
# al ejecutar source ~/.bash_profile
#configuracion de imagemagick . /usr/bin ya esta en el path
export MAGICK_HOME="$HOME/imagemagick"
export LD_LIBRARY_PATH="/usr/lib"
#Configuración del PATH para:
#java,xmlmind editor
export PATH=$PATH:$JAVA_HOME/bin:/usr/share/xxe-perso-4_5_0/bin
#instalacion de la maquina virtual java-6-sun
#configuración de JAVA_HOME
export JAVA_HOME="/usr/lib/jvm/java-6-sun"
export JAR_HOME="/usr/share/java"
#configuracion de la validacion de documentos xml con saxon
export CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAR_HOME/saxon.jar:$JAR_HOME/docbook-xsl-saxon.jar:$JAR_HOME/xercesImpl.jar
#configuracion para batik:
export CLASSPATH=$CLASSPATH:/usr/share/batik-1.7/batik-squiggle.jar
#configuración para xalan
export CLASSPATH=$CLASSPATH:$JAR_HOME/xalan2.jar:$JAR_HOME/xml-apis.jar:$JAR_HOME/docbook-website-xalan2.jar
#configuración para fop
export CLASSPATH=$CLASSPATH:$JAR_HOME/fop.jar:$JAR_HOME/avalon-framework.jar:$JAR_HOME/batik.jar:$JAR_HOME/commons-io.jar:$JAR_HOME/commons-logging.jar:$JAR_HOME/jai_core.jar:$JAR_HOME/jai_codec.jar:$JAR_HOME/fop-hyph.jar:$JAR_HOME/serializer.jar:$JAR_HOME/xmlgraphics-commons.jar
#configuracion para los samples de xeres apache. Synaptic no instala xercesSamples.jar
export CLASSPATH=$CLASSPATH:$JAR_HOME/xerces.jar:/usr/share/xerces-1_4_4/xercesSamples.jar
so the $CLASSPATH is ok no?
Whats the configuration error?
THANKS IN ADVANCEc_aramburu wrote:
Hi
when i run $java -jar batik-squiggle.jar the error message on screen is
"unable to acces jarfile batik-squiggle.jar" and the path of the jar file is edited with the $CLASSPATH variable in the ~/.bash_profileThe CLASSPATH doesn't locate .jar files. It locates +.class+ files, usually inside .jar files. java -jar needs the full path name of the .jar file. -
Using WLST with ant. Need help
I try to create ant task which connects to WLST engine and creates datasource.
This is build.xml :
+<?xml version="1.0" ?>+
+<project name="deploy" default="connect" basedir=".">+
+<echo> ${wl.home} </echo>+
+<path id="wl.appc.classpath">+
+<pathelement location="${wl.home}/server/lib/weblogic.jar"/>+
+</path>+
+<taskdef name="wlst" classpathref="wl.appc.classpath" classname="weblogic.ant.taskdefs.management.WLSTTask" />+
+<target name="connect">+
+<wlst executescriptbeforefile="true" debug="false">+
+<script>+
connect('weblogic','weblogic','t3://localhost:7001')
+</script>+
+</wlst>+
+</target>+
+</project>+
Running this is script I'm getting the following error:
Buildfile: c:\wl-ds.xml
[echo] C:/Oracle/Middleware11.1.1.4/wlserver_10.3
connect:
[wlst] java.lang.NoClassDefFoundError: weblogic/management/scripting/WLSTInterpreterInvoker
[wlst] Caused by: java.lang.ClassNotFoundException: weblogic.management.scripting.WLSTInterpreterInvoker
[wlst] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[wlst] at java.security.AccessController.doPrivileged(Native Method)
[wlst] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[wlst] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[wlst] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
[wlst] Could not find the main class: weblogic.management.scripting.WLSTInterpreterInvoker. Program will exit.
[wlst] Exception in thread "main"
BUILD FAILED
c:\wl-ds.xml:12: Java returned: 1
Ant founds weblogic.ant.taskdefs.management.WLSTTask but in some reasons cannot find weblogic.management.scripting.WLSTInterpreterInvoker, although they both placed in the weblogic.jar
I can't understand what I do wrong! Please, help or advice what to do...
Edited by: creed on 03.03.2011 20:55Hi,
Just wanted to check if the issue was resolved, I have the same issue , Below is the details of the error i get when i try jay's script
Apache Ant version 1.8.0 compiled on February 1 2010
Trying the default build file: build.xml
Buildfile: D:\anttest\build.xml
Adding reference: ant.PropertyHelper
Detected Java version: 1.6 in: D:\SYS\JAVA\jdk1.6.0_21\jre
Detected OS: Windows Server 2008
Adding reference: ant.ComponentHelper
Setting ro project property: ant.file -> D:\anttest\build.xml
Setting ro project property: ant.file.type -> file
Adding reference: ant.projectHelper
Adding reference: ant.parsing.context
Adding reference: ant.targets
parsing buildfile D:\anttest\build.xml with URI = file:/D:/anttest/build.xml
Setting ro project property: ant.project.name -> deploy
Adding reference: deploy
Setting ro project property: ant.project.default-target -> run
Setting ro project property: ant.file.deploy -> D:\anttest\build.xml
Setting ro project property: ant.file.type.deploy -> file
Project base dir set to: D:\anttest
+Target:
+Target: connect
+Target: run
Adding reference: ant.LocalProperties
parsing buildfile jar:file:/D:/SYS/apache-ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/D:/SYS/apache-ant-1.8.0/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file
Setting project property: wl.home -> D:\SYS\Weblogic1034\wlserver_10.3
Adding reference: wl.classpath
fileset: Setup scanner in dir D:\SYS\Weblogic1034\wlserver_10.3\server\lib with patternSet{ includes: [*.jar] excludes: [] }
Finding class weblogic.ant.taskdefs.management.WLSTTask
Loaded from D:\SYS\Weblogic1034\wlserver_10.3\server\lib\weblogic.jar weblogic/ant/taskdefs/management/WLSTTask.class
Class org.apache.tools.ant.taskdefs.Java loaded from parent loader (parentFirst)
Class weblogic.ant.taskdefs.management.WLSTTask loaded from ant loader (parentFirst)
Class java.lang.Object loaded from parent loader (parentFirst)
Class java.lang.Throwable loaded from parent loader (parentFirst)
Class org.apache.tools.ant.BuildException loaded from parent loader (parentFirst)
Class java.lang.Exception loaded from parent loader (parentFirst)
Class java.lang.IllegalStateException loaded from parent loader (parentFirst)
Class java.io.Reader loaded from parent loader (parentFirst)
Class java.io.StringReader loaded from parent loader (parentFirst)
Class java.lang.String loaded from parent loader (parentFirst)
Class java.io.IOException loaded from parent loader (parentFirst)
Class java.io.OutputStream loaded from parent loader (parentFirst)
Class java.io.FileOutputStream loaded from parent loader (parentFirst)
+Datatype wlst weblogic.ant.taskdefs.management.WLSTTask
Setting ro project property: ant.project.invoked-targets -> run
Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
Adding reference: ant.executor
Build sequence for target(s) `run' is [connect, run]
Complete build sequence is [connect, run, ]
connect:
[echo] WebLogic Home is : D:\SYS\Weblogic1034\wlserver_10.3
Class org.apache.tools.ant.types.Path loaded from parent loader (parentFirst)
Finding class weblogic.ant.taskdefs.management.WLSTScript
Loaded from D:\SYS\Weblogic1034\wlserver_10.3\server\lib\weblogic.jar weblogic/ant/taskdefs/management/WLSTScript.class
Class org.apache.tools.ant.Task loaded from parent loader (parentFirst)
Class weblogic.ant.taskdefs.management.WLSTScript loaded from ant loader (parentFirst)
Class java.lang.Boolean loaded from parent loader (parentFirst)
Class java.lang.StringBuilder loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.Commandline$Argument loaded from parent loader (parentFirst)
Class org.apache.tools.ant.util.FileUtils loaded from parent loader (parentFirst)
Class java.io.PrintWriter loaded from parent loader (parentFirst)
Class java.io.LineNumberReader loaded from parent loader (parentFirst)
Finding class weblogic.utils.StringUtils
Loaded from D:\SYS\Weblogic1034\modules\com.bea.core.utils_1.9.0.0.jar weblogic/utils/StringUtils.class
Class weblogic.utils.StringUtils loaded from ant loader (parentFirst)
Class java.lang.SecurityException loaded from parent loader (parentFirst)
Class java.lang.NoSuchMethodException loaded from parent loader (parentFirst)
Finding class weblogic.utils.StringUtils$StringMaker
Loaded from D:\SYS\Weblogic1034\modules\com.bea.core.utils_1.9.0.0.jar weblogic/utils/StringUtils$StringMaker.class
Class weblogic.utils.StringUtils$StringMaker loaded from ant loader (parentFirst)
Finding class weblogic.utils.StringUtils$ReflectedStringMaker
Loaded from D:\SYS\Weblogic1034\modules\com.bea.core.utils_1.9.0.0.jar weblogic/utils/StringUtils$ReflectedStringMaker.class
Class weblogic.utils.StringUtils$ReflectedStringMaker loaded from ant loader (parentFirst)
Class java.lang.Class loaded from parent loader (parentFirst)
Class java.lang.Integer loaded from parent loader (parentFirst)
Class java.lang.reflect.Constructor loaded from parent loader (parentFirst)
Class java.lang.reflect.InvocationTargetException loaded from parent loader (parentFirst)
Class java.lang.IllegalAccessException loaded from parent loader (parentFirst)
Class java.lang.InstantiationException loaded from parent loader (parentFirst)
Class java.lang.RuntimeException loaded from parent loader (parentFirst)
Class java.lang.Character loaded from parent loader (parentFirst)
Class java.io.File loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.CommandlineJava loaded from parent loader (parentFirst)
[wlst] Executing 'D:\SYS\JAVA\jdk1.6.0_21\jre\bin\java.exe' with arguments:
[wlst] '-Ddebug=false'
[wlst] '-DfailOnError=true'
[wlst] '-DexecuteScriptBeforeFile=true'
[wlst] '-DscriptTempFile=C:\Users\Administrator\AppData\Local\Temp\2\wlsttempfile214271013.py'
[wlst] '-classpath'
[wlst] 'D:\SYS\apache-ant-1.8.0\lib\ant-launcher.jar;D:\SYS\apache-ant-1.8.0\lib\ant-antlr.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-bcel.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-bsf.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-log4j.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-oro.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-regexp.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-resolver.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-xalan2.jar;D:\SYS\apache-ant-1.8.0\lib\ant-commons-logging.jar;D:\SYS\apache-ant-1.8.0\lib\ant-commons-net.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jai.jar;D:\SYS\apache-ant-1.8.0\lib\ant-javamail.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jdepend.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jmf.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jsch.jar;D:\SYS\apache-ant-1.8.0\lib\ant-junit.jar;D:\SYS\apache-ant-1.8.0\lib\ant-netrexx.jar;D:\SYS\apache-ant-1.8.0\lib\ant-nodeps.jar;D:\SYS\apache-ant-1.8.0\lib\ant-stylebook.jar;D:\SYS\apache-ant-1.8.0\lib\ant-swing.jar;D:\SYS\apache-ant-1.8.0\lib\ant-testutil.jar;D:\SYS\apache-ant-1.8.0\lib\ant-trax.jar;D:\SYS\apache-ant-1.8.0\lib\ant.jar;D:\SYS\apache-ant-1.8.0\lib\xercesImpl.jar;D:\SYS\apache-ant-1.8.0\lib\xml-apis.jar;D:\SYS\JAVA\jdk1.6.0_21\lib\tools.jar'
[wlst] 'weblogic.management.scripting.WLSTInterpreterInvoker'
[wlst]
[wlst] The ' characters around the executable and arguments are
[wlst] not part of the command.
[wlst] Using input " "
Execute:Java13CommandLauncher: Executing 'D:\SYS\JAVA\jdk1.6.0_21\jre\bin\java.exe' with arguments:
'-Ddebug=false'
'-DfailOnError=true'
'-DexecuteScriptBeforeFile=true'
'-DscriptTempFile=C:\Users\Administrator\AppData\Local\Temp\2\wlsttempfile214271013.py'
'-classpath'
'D:\SYS\apache-ant-1.8.0\lib\ant-launcher.jar;D:\SYS\apache-ant-1.8.0\lib\ant-antlr.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-bcel.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-bsf.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-log4j.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-oro.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-regexp.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-resolver.jar;D:\SYS\apache-ant-1.8.0\lib\ant-apache-xalan2.jar;D:\SYS\apache-ant-1.8.0\lib\ant-commons-logging.jar;D:\SYS\apache-ant-1.8.0\lib\ant-commons-net.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jai.jar;D:\SYS\apache-ant-1.8.0\lib\ant-javamail.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jdepend.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jmf.jar;D:\SYS\apache-ant-1.8.0\lib\ant-jsch.jar;D:\SYS\apache-ant-1.8.0\lib\ant-junit.jar;D:\SYS\apache-ant-1.8.0\lib\ant-netrexx.jar;D:\SYS\apache-ant-1.8.0\lib\ant-nodeps.jar;D:\SYS\apache-ant-1.8.0\lib\ant-stylebook.jar;D:\SYS\apache-ant-1.8.0\lib\ant-swing.jar;D:\SYS\apache-ant-1.8.0\lib\ant-testutil.jar;D:\SYS\apache-ant-1.8.0\lib\ant-trax.jar;D:\SYS\apache-ant-1.8.0\lib\ant.jar;D:\SYS\apache-ant-1.8.0\lib\xercesImpl.jar;D:\SYS\apache-ant-1.8.0\lib\xml-apis.jar;D:\SYS\JAVA\jdk1.6.0_21\lib\tools.jar'
'weblogic.management.scripting.WLSTInterpreterInvoker'
The ' characters around the executable and arguments are
not part of the command.
[wlst] java.lang.NoClassDefFoundError: weblogic/management/scripting/WLSTInterpreterInvoker
[wlst] Caused by: java.lang.ClassNotFoundException: weblogic.management.scripting.WLSTInterpreterInvoker
[wlst] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[wlst] at java.security.AccessController.doPrivileged(Native Method)
[wlst] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[wlst] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[wlst] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[wlst] Could not find the main class: weblogic.management.scripting.WLSTInterpreterInvoker. Program will exit.
[wlst] Exception in thread "main" -
Out Of Memory with tons of free mem
I need help diagnosing a problem I'm having with a server application.
The problem:
I'm getting general flakeyness and sometimes "OutOfMemory: cannot create new native thread" after the application has been running several hours (with 150 or so logins and 300 or so signs rendered).
The environment:
We run Tomcat 3.2.4, Xalan2, JAXP1.1, mysql w/ mm.sql JDBC driver v1.2.0.13, JDK 1.3.1_03
on a SunFire v880 w/ 4 processors, 8Gig RAM running Solaris 8. JVM args set to -server -Xms3g -Xmx3g -XX:NewSize=1024m -XX:MaxNewSize=1024m -XX:SurvivorRatio=16 -XX:+DisableExplicitGC
What I've tried:
I've run under OptimizeIt and found only small amounts of mem being consumed ongoing. Something the GC ought to be able to handle. I've played with the GC parameters in an effort to get this problem under control. I monitor the freemem and can see it go up and down through out the day. The lowest freemem has come down is to 900Meg, then bounces back up to 2.7Gig or so. I suspected fragmentation, but from what I read, hotspot shouldn't allow that to happen.
That exception is thrown from native code in "jvm.cpp" in the JVM_StartThread() method. Comments say it could happen when memory is low (duh).
Our App:
We render in store signs for a major US department store. Our app provides simplified sign composition. We render the signs for printing (generating postscript for the printers). Sometimes we deal with buffers as large as 112Meg. We use XML for sign templates and jobs. We spit out XML from servlets, using XSLT to transform to HTML for the browser. Our sign templates use some XSLT to add common things into the templates as they are loaded. We support image upload to a repository that the sign creators can use in the signs. So, we deal with lots if image data and XML throughout the app. We hit the database throughout the workflow.
HELP!Hi,
I had the same problem under Linux, but found a solution:
There are 2 different factors for this problem.
There is the "Xss" option of Java and the "stack size"
as reported/set by ulimit:
ulimit -acore file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 16896
virtual memory (kbytes) unlimited
When using java 1.3.1, the "Xss" option is ignored, so
only the "stack size" of ulimit counts. Setting the
stack size using ulimit is done using the -s option:
ulimit -s 8129This sets the stack size per Java thread to 8MB.
The default stack size in Redhat Enterprise Server 3.1
is 10MB. When a Java thread is started, this 10MB is not taken
immediately, but the Linux kernel does guarantee this thread 10MB
if it needs it. Suppose you hava 2GB memory in your machine, then
after starting 200 Java threads, the light goes out even though
"top" reports 1.5GB of free memory. The memory is free, but the
kernel has already promised all of it to the 200 executing Java
threads.
Under java 1.4.2, the Xss option is not ignored. It has the same
effect as the "stack size" set by ulimit; specifying a large amount
of memory for Xss will limit the amount of threads you can start.
Using java 1.4.2 it seems these settings both have to be tuned.
Greetz,
Chris Twigt -
Xalan applet getProperty securityException
If I use xalan2.2D6 for xsl transformation in an applet I get the following securityException:
Is ther a proper way to solve this problem ?
I hacked TreeWalker.java and removed the getProperty calls. It works for me but I'm shure its not the best way
to do it.
Regards Christian
java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1278)
at java.lang.System.getProperty(System.java:560)
at org.apache.xml.utils.TreeWalker.<init>(TreeWalker.java:149)
at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.<init>(DOM2DTM.java:1563)
at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM(DTMManagerDefault.java:185)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:585)
at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1037)I have the same problem.
Does anybody know elegant solution for this problem ?
Please...
Sincerely,
Victor Letunovsky
AlarIT programmer
http://www.AlarIT.com -
Hi,
I'm trying to use Xalan 2.6.1 and Xerces 2.6.2 with Weblogic 8.1SP2, but no result yet...
I found docs on bea website:
http://edocs.bea.com/wls/docs81/pdf/faq.pdf
http://e-docs.bea.com/wls/docs81/xml/xml_admin.html
where I found this:
"Warning: In version 8.1 of WebLogic Server, you can plug in only the following versions of the Apache Xerces parser:
Xerces 2.2.0
Xerces 2.3.0
Xerces 2.4.0
In addition, you can plug in only those versions of the Apache Xalan transformer that are compatible with the preceding versions of the Apache Xerces parser."
I can't find any solution to this?
I tried various option:
- xercesImpl2.6 in the classpath variable
- xalan2.6.2 in the endorsed lib
- registered factory impl names in xml registry
- prefer web-inf set to true
Errors result in following exception:
- NoMethodFound (rhino classes inside weblogic.jar)
- ClassCast (xalan/xerces conflicts)
Any one has suggestions?
Regards
LeonardoAccording to that link your right it is not supported.
Have you tried adding the xerces jars at the beginning of the classpath? -
XML transformation problems - URGENT!!!!!
Hi,
I have a problem on writing data into XML files on Win NT/Tomcat platform from a servlet. This problem has been getting on my nerves for the past few weeks now. It was earlier giving a SecurityException: sealing violation error, when trying to write into the XML file using the Transformer object's transform method. What I need to do is, just read in data from the XML file first, do some processing and then dump in the results back in the same XML file.
I managed to get rid of the Sealing violation exception now, by downloading the xalan2 package and giving the reference of the new xalan.jar in the classpath. I am using the JAXP Transformer class's transform method to change the XML document. But, the problem now is that it is throwing a NoSuchMethodError exception on the line where the transform(source, result) method is coded.
This is the source code:
private void writeXMLData(Node n) throws IOException
Transformer transformer;
StreamResult streamresult;
DOMSource domsource;
TransformerFactory factory;
factory= TransformerFactory.newInstance();
try
transformer = factory.newTransformer();
domsource = new DOMSource(n);
transformer.transform(domsource, new javax.xml.transform.stream.StreamResult(new FileOutputStream("d:\\tomcat\\webapps\\ROOT\\Orders.xml")));
catch (Exception e)
e.printStackTrace();
transformer = null;
factory=null;
domsource= null;
streamresult=null;
This is the error that is thrown:
java.lang.NoSuchMethodError: org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String; not found
at org.apache.xpath.DOM2Helper.getNamespaceOfNode(DOM2Helper.java:348)
at org.apache.xml.utils.TreeWalker.startNode(TreeWalker.java, Compiled Code)
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java, Compiled Code)
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java, Compiled Code)
at test.TestOrderAdd_proto.writeXMLData(TestOrderAdd_proto.java:427)
at test.TestOrderAdd_proto.doPost(TestOrderAdd_proto.java:228)
at test.TestOrderAdd_proto.doGet(TestOrderAdd_proto.java:246)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:402)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java, Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java, Compiled Code)
at java.lang.Thread.run(Thread.java:479)
The classpath settings are:
d:\jaxp-1.1\jaxp.jar;d:\xalan2\xalan-j_2_2_D9\bin\xalan.jar;d:\jaxp-1.1\crimson.jar (in that order)
Could anyone please help me out with this problem?
Thanks,
JatinI assume you're starting tomcat by using the tomcat.bat file. Keep in mind that this batch file adds every .jar file in tomcat's lib directory BEFORE your own classpath and it usually contains a parser.jar file, which might cause problems, it also contains a jaxp.jar.
If you want to switch to xerces, remove jaxp and crimson from your classpath and add xerces.jar to it (xerces contains jaxp). In the case of tomcat, you'd need to delete parser.jar and add xerces.jar to its lib dir.
Hope that helps. -
Help...where can i find the api for XSLTProcessor
Anyone can help me on tis....
i hav already
import org.apache.xalan.xslt.*;
to my program which look like tis
//program Simpletransform.java
//necessary import files
import org.apache.xalan.xslt.*;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
import org.apache.xerces.parsers.DOMParser;
//Here we can load the given XML and XSL files,
//transform the XML and store it in the output file.
public class SimpleTransform {
public SimpleTransform(String xmlFile, String xslFile, String outFile) throws
java.io.IOException, java.net.MalformedURLException,
org.xml.sax.SAXException {
// Load the XSLT Processor.
XSLTProcessor xsltProc = new XSLTProcessorFactory.getProcessor();
// XSLTProcessor xsltProc = XSLTProcessorFactory.getProcessor();
xsltProc.process(new XSLTInputSource(xmlFile),
new XSLTInputSource(xslFile),
new XSLTResultTarget(outFile));
System.out.println("************* The result is in the " + outFile +
" file*************");
//method : main is for testing the program and just creates an instanceand tests the results.
public static void main(String[] args) {
try {
SimpleTransform st = new
SimpleTransform("example.xml", "example.xsl", "example.out");
catch (Exception e) {
System.out.println("Exception caught = " + e);
public SimpleTransform() {
but still there is error which look like tis
C:\A>javac -classpath C:\j2sdk1.4.2\lib\xerces.java;C:\j2sdk1.4.2\lib\xalan.jar
SimpleTransform.java
SimpleTransform.java:6: package org.apache.xerces.parsers does not exist
import org.apache.xerces.parsers.DOMParser;
^
SimpleTransform.java:19: cannot resolve symbol
symbol : class XSLTProcessor
location: class SimpleTransform
XSLTProcessor xsltProc = XSLTProcessorFactory.getProcessor();
^
SimpleTransform.java:19: cannot resolve symbol
symbol : variable XSLTProcessorFactory
location: class SimpleTransform
XSLTProcessor xsltProc = XSLTProcessorFactory.getProcessor();
^
SimpleTransform.java:22: cannot resolve symbol
symbol : class XSLTInputSource
location: class SimpleTransform
xsltProc.process(new XSLTInputSource(xmlFile),
^
SimpleTransform.java:23: cannot resolve symbol
symbol : class XSLTInputSource
location: class SimpleTransform
new XSLTInputSource(xslFile),
^
SimpleTransform.java:24: cannot resolve symbol
symbol : class XSLTResultTarget
location: class SimpleTransform
new XSLTResultTarget(outFile));
^
6 errors
CAn onyone help me???Thank youyou are using an older version of xalan, & the latest version of xalan.jar does not have these classes anymore. to transform the given xml, use the following code :
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.Source;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.stream.StreamSource;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
//Here we can load the given XML and XSL files,
//transform the XML and store it in the output file.
public class SimpleTransform
public SimpleTransform() throws TransformerException, FileNotFoundException
// Load the XSLT Processor.
TransformerFactory tFactory = TransformerFactory.newInstance();
Source xslSource = new StreamSource( "config/birds.xsl" );
Transformer transformer = tFactory.newTransformer( xslSource );
transformer.transform( new StreamSource("config/birds.xml"),new StreamResult( new FileOutputStream( "config/birds.out" )));
System.out.println("************* The result is in birds.out file*************");
//method : main is for testing the program and just creates an instanceand tests the results.
public static void main(String[] args)
try
SimpleTransform st=new SimpleTransform();
catch(Exception e)
System.out.println("Exception caught = " + e);
also, use the latest version of the xalan jar, which is xalan2.6.jar -
J2ee.template ant build failed
Hello,
I am not sure why the following error that ant encountered while compiling with the init setting on java.class.path points to jboss-j2ee.jar file already. Believe the jboss-j2ee.jar file has the javax.jms.ConnectionFactory class included in the jar. Do I need other jar files?
Thanks in advance.
Alan
compile:
[javac] Compiling 1 source file to C:\user\product\JBoss\j2ee.template\ejb\build\class
es
[javac] C:\user\product\JBoss\j2ee.template\ejb\src\main\client\com\mpg\template\clien
t\TestClient.java:88: cannot resolve symbol
[javac] symbol : method createConnection ()
[javac] location: interface javax.jms.ConnectionFactory
[javac] lConnection = lFactory.createConnection();
[javac] ^
init:
[echo] build.compiler = ${build.compiler}
[echo] user.home = C:\Documents and Settings\alan
[echo] java.home = c:\j2sdk1.4.2_03\jre
[echo] ant.home = c:\ant\bin\..
[echo] jboss.home = c:/user/product/jboss/jboss-3.2.3-src/build/output/jboss-3.2.3
[echo] xdoclet.home = c:xdoclet
[echo] junit.home = c:/junit3.8.1
[echo] java.class.path = c:\ant\bin\..\lib\ant-launcher.jar;C:\user\product\JBoss\j2e
e.template\.\;c:\j2sdk1.4.2_03\jre\lib\rt.jar;c:\user\product\jboss\jboss-3.2.3-src\build\
output\jboss-3.2.3\server\default\lib\jboss-j2ee.jar;C:\ant\lib\ant-antlr.jar;C:\ant\lib\a
nt-apache-bsf.jar;C:\ant\lib\ant-apache-resolver.jar;C:\ant\lib\ant-commons-logging.jar;C:
\ant\lib\ant-commons-net.jar;C:\ant\lib\ant-icontract.jar;C:\ant\lib\ant-jai.jar;C:\ant\li
b\ant-jakarta-bcel.jar;C:\ant\lib\ant-jakarta-log4j.jar;C:\ant\lib\ant-jakarta-oro.jar;C:\
ant\lib\ant-jakarta-regexp.jar;C:\ant\lib\ant-javamail.jar;C:\ant\lib\ant-jdepend.jar;C:\a
nt\lib\ant-jmf.jar;C:\ant\lib\ant-jsch.jar;C:\ant\lib\ant-junit.jar;C:\ant\lib\ant-launche
r.jar;C:\ant\lib\ant-netrexx.jar;C:\ant\lib\ant-nodeps.jar;C:\ant\lib\ant-starteam.jar;C:\
ant\lib\ant-stylebook.jar;C:\ant\lib\ant-swing.jar;C:\ant\lib\ant-trax.jar;C:\ant\lib\ant-
vaj.jar;C:\ant\lib\ant-weblogic.jar;C:\ant\lib\ant-xalan1.jar;C:\ant\lib\ant-xalan2.jar;C:
\ant\lib\ant-xslp.jar;C:\ant\lib\ant.jar;C:\ant\lib\xercesImpl.jar;C:\ant\lib\xml-apis.jar
;c:\j2sdk1.4.2_03\lib\tools.jarHi,
I've got the same problem, but with the JBOSS 3.0, here is the sample output:
My settings are:
init:
[echo] build.compiler = ${build.compiler}
[echo] user.home = C:\Documents and Settings\Marek
[echo] java.home = c:\j2sdk\jre
[echo] ant.home = c:\ant\bin\\..
[echo] jboss.home = c:/jboss
[echo] xdoclet.home = c:/xdoc
[echo] junit.home = c:/junit
[echo] java.class.path = c:\j2sdk\lib\tools.jar;c:\ant\bin\\..\lib\crimson.jar;c:\ant\bin\\..\lib\jaxp.jar;c:\ant\bin\\..\lib\ant.jar;;C:\xerces\xml-apis.jar;C:\xerces\xercesImpl.jar;C:\xerces\tools\xalan.jar;C:\xerces\xercesSamples.jar;C:\ant\lib;c:\junit;C:\jboss\lib;C:\jboss\client;C:\jboss\server\all\lib;C:\template\j2ee.template
[echo]
And at the end I get the message:
compile:
[javac] Compiling 1 source file to C:\template\j2ee.template\ejb\build\classes
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:88: cannot resolve symbol
[javac] symbol : method createConnection ()
[javac] location: interface javax.jms.ConnectionFactory
[javac] lConnection = lFactory.createConnection();
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:90: cannot resolve symbol
[javac] symbol : method createSession (boolean,int)
[javac] location: interface javax.jms.Connection
[javac] Session lJMSSession = lConnection.createSession( false, Session.AUTO_ACKNOWLEDGE );
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:95: cannot resolve symbol
[javac] symbol : method createProducer (javax.jms.Queue)
[javac] location: interface javax.jms.Session
[javac] MessageProducer lProducer = lJMSSession.createProducer( lQueue );
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:98: cannot resolve symbol
[javac] symbol : method send (javax.jms.TextMessage)
[javac] location: interface javax.jms.MessageProducer
[javac] lProducer.send( lMessage );
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:100: cannot resolve symbol
[javac] symbol : method send (javax.jms.TextMessage)
[javac] location: interface javax.jms.MessageProducer
[javac] lProducer.send( lMessage );
[javac] ^
[javac] C:\template\j2ee.template\ejb\src\main\client\com\mpg\template\client\TestClient.java:102: cannot resolve symbol
[javac] symbol : method send (javax.jms.TextMessage)
[javac] location: interface javax.jms.MessageProducer
[javac] lProducer.send( lMessage );
[javac] ^
[javac] 6 errors
BUILD FAILED
C:\template\j2ee.template\ejb\build.xml:213: Compile failed, messages should hav
e been provided.
Total time: 7 seconds
Please tell me what is wrong???
Big thanx for your help
Rabenda
Maybe you are looking for
-
I bought a $25 iTunes Gift Certificate to spend on, but I realized that this $25 iTunes Gift Card is for use in the United States only. So I created a new account (this account) to redeem this card. Since I don't really live in the United States I en
-
Following upgrade, no sound was available. The driver had disappeared. I have found new drivers on the hp support site, however, they fail to install complaining that the driver is incompatible with the hardware. Other users have been successful in s
-
Saving as pdf with pages in correct order.
my magazine is 40 pages, i want to perfect bound this . so obviously i will be only printing 36 pages as a magazine, Then the other 4 pages will be the front/back cover to be attached afterwards. when i print in indeisgn for perfect bound to my print
-
How do I identify the video port on my MacBook OS X 10.9.4?
How do I identify the video port on my MacBook Pro OS X 10.9.4
-
Why does the 'Downloads' gives me a full page which I can not just minimize to the task bar.
I'm running Firefox 34.05 as opposed to what the data will say (34.0) Lately, when I press the 'Downloads' in Tools, I get a full page as if it is a new tab. I use to have a small block that I could minimize to the task bar. Is there something I can