HashMap to xml
I am new to java and xml. I've been trying to figure out a way to convert a HashMap into an XML string. I download castor and have been playing around w/ the marshallar but am having no luck.
I create a hashmap as such:
java.util.HashMap hm = new java.util.HashMap();
hm.put("key","value");
hm.put("key1","value1");
then i attempt to send it to xml as such:
Marshaller m = null;
try{m=new Marshaller(new OutputStreamWriter(System.out));}catch(java.io.IOException ioe){
System.out.println(ioe);
try{m.marshal(hm);}catch(org.exolab.castor.xml.ValidationException ve){
System.out.println(ve);
}catch(org.exolab.castor.xml.MarshalException me){
System.out.println(me);
In System.out this is all i get:
<?xml version="1.0" encoding="UTF-8"?>
<hash-map empty="false" empty="false"/>
Any thoughts?
Brandon
I think by default it's going to treat the Object as a JavaBean. so it looks only for 'get' and 'is' methods with 0 arguments.
Similar Messages
-
Xsd + HashMap to XML - HowTo?
Hi,
I hava a xsd-file with an element looking like this.
<xs:element name="out" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="field1" type="xs:string" minOccurs="0"/>
<xs:element name="field3" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>And I have a HashMap containing many values.
Label Value
field1 abc
field2 asjdh
field3 sdfgs
field4 jkxhvThe elements of ths xsd-element 'out' are a subset of the values in the HashMap.
I want to create a xml file where all elements of 'out' are filed.
<out>
<field1>abc</field1>
<field3>sdfgs</field3>
</out>But: How do I know which values I have to use?
Parsing the xsd? No!
We already use the xsd for jaxb class generating. I could take the generated class 'out' and use the Java Reflection API to get all setter methods of 'out'. With them I would get the label of the value and could use them. jaxb would write the needed xml-file.
But this doesn't feel right.
Any ideas for another way to solve this?
MartinI think by default it's going to treat the Object as a JavaBean. so it looks only for 'get' and 'is' methods with 0 arguments.
-
Marshalling HashMap with JAXB 2.0 - empty tags & ill schema
Hi all,
I expected JAXB 2.0 to be capable to handle basic classes like HashMap, but it does not look so. I have two classes: SimpleNegotiationManager which has a property HashMap in which are stored the instances of SimpleInitiatedConversation:
package xml;
import javax.xml.bind.annotation.*;
import java.util.HashMap;
@XmlAccessorType(AccessType.FIELD)
@XmlRootElement
public class SimpleNegotiationManager {
@XmlElement
protected HashMap<String, SimpleInitiatedConversation> initiatedConversations;
public SimpleNegotiationManager() {
public HashMap<String, SimpleInitiatedConversation> getInitiatedConversations() {
if (initiatedConversations == null) {
initiatedConversations = new HashMap();
return initiatedConversations;
public void setInitiatedConversations(HashMap<String, SimpleInitiatedConversation> initiatedConversations) {
this.initiatedConversations = initiatedConversations;
}and
package xml;
import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
@XmlAccessorType(AccessType.FIELD)
@XmlType
public class SimpleInitiatedConversation {
@XmlElement
protected List<String> messages;
protected String conversationID;
protected int protocolState;
public SimpleInitiatedConversation() {
public List<String> getMessages() {
if (messages == null) {
messages = new ArrayList();
return messages;
public void setMessages(List<String> messages) {
this.messages = messages;
public int getProtocolState() {
return protocolState;
public void setProtocolState(int protocolState) {
this.protocolState = protocolState;
public String getConversationID() {
return conversationID;
public void setConversationID(String conversationID) {
this.conversationID = conversationID;
}When I marshalled SimpleNegotiationManager while the HashMap was filled with several <String,SimpleInitiatedConversation> entries, in the output were empty tags initiatedConversations:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<simpleNegotiationManager>
<initiatedConversations>
</initiatedConversations>
</simpleNegotiationManager>When I used schemagen to generate a schema, it produced:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="simpleInitiatedConversation">
<xs:sequence>
<xs:element name="messages" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
<xs:element name="conversationID" type="xs:string" minOccurs="0"/>
<xs:element name="protocolState" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:element name="simpleNegotiationManager" type="simpleNegotiationManager"/>
<xs:complexType name="simpleNegotiationManager">
<xs:sequence>
<xs:element name="initiatedConversations" type="hashMap" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="hashMap">
<xs:complexContent>
<xs:extension base="abstractMap">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="abstractMap" abstract="true"/>
</xs:schema>Particularly the description of HashMap seems ill - there is not specified that the HashMap has keys String and values SimpleInitiatedConversation.
Unfortunatelly, the j2s-xmlAdapter-field example available with JAXB 2.0 is more complicated than I need. I just need to store/load HashMap into/from XML and I do not care what it looks like. Is it possible to avoid extending XmlJavaTypeAdaptor for a simple storing a HashMap into XML? Perhaps I use improper annotations in the source code, but I cannot get it working. Any clue?Ok i figured out one way of doing this by using some classes from JAXP...
SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
Schema s = null;
try{
s = sf.newSchema(new File("Sources/schema/test.xsd"));
}catch(Exception e){
System.err.println("Exception e: " + e.getMessage());
marshaller.setSchema(s);
//MyValidationHandler class implements the ValidationEventHandler interface
MyValidationHandler gv = new MyValidationHandler();
marshaller.setEventHandler(gv);If anyone has something to add let me know!! -
JAXB 2.0, XMLAdaptor and HashMap for customized mapping
I have a requirement to implement a custom mapping of HashMap in JAXB. Basically I want to be able to use a HashMap structure to represent key/value pairs instead of the default List. So I need to be able to store (marshal) a HashMap structure into XML, and then be able to read (unmarshal) the XML back into a HashMap.
I've discovered the XMLAdaptor class and I think this is the way to do it:
https://jaxb.dev.java.net/nonav/jaxb20-pr/api/javax/xml/bind/annotation/adapters/XmlAdapter.html
However, my knowledge of generics and annotations in 5.0, and XML schemas are somewhat elementary - so I'm a bit stuck.
If someone has a complete working example of the HashMap example they show in the API doc linked above, I would greatly appreciate it if you could post it here.
Otherwise, perhaps you could answer a couple of questions for me.
1) I tried using the XSD directly from the example in the API doc (Step 2).
<xs:complexType name="myHashMapType">
<xs:sequence>
<xs:element name="entry" type="myHashMapEntryType"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="myHashMapEntryType">
<xs:simpleContent>
<xs:extension base="xs:string"/>
</xs:simpleContent>
<xs:attribute name="key" type="xs:int"/>
</xs:complexType>xjc complains when I generate the classes and says that the 'xs:attribute name=key' shouldn't be there. If I move it up into the 'xs:extension' node it works. But then I get strange XML when I create some key/value pairs and marshal them. The first XML node looks okay, but the rest of the List items start with '<xsi:entry ...', e.g.
<entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="myHashMapEntryType" key="key0">value0</entry>
<xsi:entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="myHashMapEntryType" key="key1">value1</xsi:entry>
...So my first question is, what is the proper XSD to represent a HashMap with XML like the following:
<hashmap>
<entry key="id123">this is a value</entry>
<entry key="id312">this is another value</entry>
</hashmap>2) Now for the HashMap part of it; you need to create a class that extends XmlAdaptor<HashMap, MyHashMapType> with marshal and unmarshal methods. This is where I get a little fuzzy on exactly what these methods need to do. The example in the API doc doesn't show this.
3) And finally; once I have all this in place, how do I actually marshal and unmarshal, presumably using the value types that I created instead of the value types that were auto generated by xjc? At least I think that's what I'm supposed to do.
Thanks.Download the javaeetutorial5
Under this path is a working example.
\examples\jaxb\j2s-xmlAdapter-field
I've tried following the bad example you sited, and even with a great deal of work it still fails to work.
I think the example will help clarify how marshall and unmarshall methods are to be implemented. What would be really nice is for whoever wrote the example you sited to finish the job instead of expecting the reader of their documentation to figure it out.
I fail to understand why JaxB has failed to directly support a collection so prevalent in its use as a HashMap. I also don�t know why they can�t support a Map interface that by default maps to a HashMap.
Best of luck to you,
Robert -
Serializing a HashMap - Please Help!
Hi to all,
I would like to serialize a hashmap that might contain objects that are not serializable. However I still would like to serialize all objects even if they are not serializable.
Any persitant storage solution would do. I tried using castor to represent the hashmap in XML format however castor does not support serialization of hash maps.
Does anybody now I a could store this hashmap on disk?
Thanks
camin001.Is there a particular reason why the objects in question could not be made serializable?
Assuming there is a good reason for that, here are a couple of papers you could check out on the topic:
[use an Adapter if you can't touch the original objects]
http://www.javageeks.com/Papers/SerializableAdapter/SerializableAdapter.pdf
[use reflection to get/set the state of your object graph even if it contains non-serializable classes; check out the object traversal code in cloning approach #4: it can be adapted to store the state on disk or whereever]
http://www.javaworld.com/javaqa/2003-01/02-qa-0124-clone_p.html -
Enumeration mapping in message mapping
I have a source structure ABC that contains two fields. This structure needs to be transformed into two records that will store the field name of the source as well as the value. It actually creates name/value pair in the target interface. I wonder if message mapping could possibly handle that.
[Source]
ABC
---FIELD_A = 123
---FIELD_B = 456
[Target]
DEF[0]
---NAME = "FIELD_A"
---VALUE = "123"
DEF[1]
---NAME = "FIELD_B"
---VALUE = "456"
Regards
Chong WahHi Chong Wah,
You can use the following java code to solve your problem using java mapping.
* Created on Sep 14, 2005
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import com.sap.aii.mapping.api.StreamTransformation;
* @author AnanthBabu Chinnaraj
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
public class JavaMapping implements StreamTransformation {
private Map map;
private Document document;
DOMSource domS = null;
Document docOut = null;
HashMap[] xmlData = null;
* method setParamters is required, but we do not anything with it
public void setParameter(Map param) {
map = param;
* method execute is called by the XI mapping program
public void execute(InputStream in, OutputStream out) {
HashMap[] xmlData = null;
xmlData = parseInputXML(in);
createOutputXML(xmlData[0], out);
public static void main(String args[]) throws Exception {
try {
JavaMapping mapObj = new JavaMapping();
FileInputStream in = new FileInputStream("D:/zAnanth/SDN/Src.xml");
FileOutputStream out =
new FileOutputStream("D:/zAnanth/SDN/Trgt.xml");
mapObj.execute(in, out);
} catch (Exception e) {
e.printStackTrace();
* method to process input xml
* return array of HashMap for every 'ABC' tag
public HashMap[] parseInputXML(InputStream in) {
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
try {
String tagName = null;
String tagValue = null;
// create DOM structure from input XML
DocumentBuilder builder = factory.newDocumentBuilder();
document = builder.parse(in);
// look for the tag 'ABC'
NodeList list = document.getElementsByTagName("ABC");
//Initialize array size
xmlData = new HashMap[list.getLength()];
for (int i = 0; i < list.getLength(); i++) {
Node node = list.item(i);
//Initialize hashmap
xmlData<i> = new HashMap();
//Process Child nodes
NodeList childList = node.getChildNodes();
for (int j = 0; j < childList.getLength(); j++) {
Node childNode = childList.item(j);
if (childNode != null) {
if (childNode.getNodeType() == Node.ELEMENT_NODE) {
//Store tag name
tagName = childNode.getNodeName();
//System.out.println("Name *:"+childNode.getNodeName());
//Store tag value
tagValue = processValueNode(childNode);
//Store as name value pair
xmlData<i>.put(tagName.toUpperCase(), tagValue);
} catch (Exception e) {
e.printStackTrace();
return xmlData;
private String processValueNode(Node childNode) {
String tagValue = null;
NodeList valueNodesList = childNode.getChildNodes();
Node valueNode = valueNodesList.item(0);
if (valueNode != null) {
if (valueNode.getNodeType() == Node.TEXT_NODE) {
tagValue = valueNode.getNodeValue();
//System.out.println("Value #:"+valueNode.getNodeValue());
return tagValue;
* Method to create xml document from input hashmaps
* return XML doc in InputStream
public void createOutputXML(HashMap xmlData, OutputStream out) {
try {
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
TransformerFactory tf = TransformerFactory.newInstance();
Transformer transform = tf.newTransformer();
DocumentBuilder builder = factory.newDocumentBuilder();
//Create the output DOM
docOut = builder.newDocument();
//Create Top most Element
Element topRoot = docOut.createElementNS("http://XYZ", "ns:MT_ABC");
docOut.appendChild(topRoot);
Element defNode = null;
Set set = xmlData.keySet();
String[] tagNames = new String[set.size()];
set.toArray(tagNames);
for (int i = 0; i < tagNames.length; i++) {
defNode = createElement("DEF", topRoot);
createElement("Name", defNode, tagNames<i>);
createElement(
"Value",
defNode,
(String) xmlData.get(tagNames<i>));
//Process XML
domS = new DOMSource(docOut);
transform.transform((domS), new StreamResult(out));
} catch (Exception e) {
e.printStackTrace();
//Create an Element and add it into Parent
private Element createElement(String elementName, Element parent) {
Element ele = docOut.createElement(elementName);
parent.appendChild(ele);
return ele;
//Create an Element and Text node and add it into Parent
private Element createElement(
String elementName,
Element parent,
String value) {
Element ele = docOut.createElement(elementName);
ele.appendChild(docOut.createTextNode(value));
parent.appendChild(ele);
return ele;
//Get Values from Map, if value is null pass empty string
private String getValue(HashMap map, String tagName) {
String value = "";
try {
value = (String) map.get(tagName);
if (value == null) {
value = "";
} catch (Exception e) {
e.printStackTrace();
return value;
Regards,
Ananth -
Store XML data in java cache (hashmap as a key value pair)
Hi,
I have to store a xml file in java cache so that I can resue it .The flow is like this :
DAO layer reads database ,create an xml and sends to --> IBM MQ-->our java code should read this xml file over MQ and store it in a cache (preferably hashmap).The file contain unique id for every customer.
How can we achieve this.One way is to store the xml as an string as key is "id" and value is whole xml.Is this a good way or any other way is available.Please suggest.
Sample xml:
<Client>
<ClientId>1234</ClientId>
<ClientName>STechnology</ClientName>
<ID>10</ID>
<ClientStatus>ACTIVE</ClientStatus>
- <LEAccount>
<ClientLE>678989</ClientLE>
<LEId>56743</LEId>
- <Account>
<AccountNumber>9876543678</AccountNumber>
</Account>
</LEAccount>
- <Service>
<Cindicator>Y2Y</Cindicator>
<PrefCode>980</PrefCode>
<BSCode>876</BSCode>
<MandatoryContent>MSP</MandatoryContent>
</Service>
</Client>
Thanks
SumitA HashMap can work, but then still store the customer related data in a bean (and perhaps it will have some child objects as well, if for example the service subelement can repeat). So you get a HashMap of Customer objects, with the clientID as the index into the hashmap.
-
Sending an XML file to a hashmap, using one of the elements as a key?
I am looking for a way to read an XML file to a hashmap.
So far I have learned to use javax.xml.parsers.*; tools to read the XML file
and I can send different elements of the XML file to the screen all day.
here is some snippets of what I'm doing now:
public class GLDefaultLoader {
protected String xmlFileName = "gl.xml";
private Document loadXML(String filename) throws Exception {
filename= "gl.xml";
Document doc = null;
try {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
db.setErrorHandler(new com.abcsinc.fwk.dom.MySaxErrorHandler());
doc = db.parse(new File("gl.xml").getAbsolutePath());
} // after this we do variuos catches
// here Im getting started on my hashmap
private HashMap buildGLDefaultsItems(Document doc) throws IOException,
ParserConfigurationException,
SAXException {
HashMap hashMap = new HashMap();
doc.getDocumentElement().normalize();
System.out.println("Root element of the doc is " + doc.getDocumentElement().getNodeName());
NodeList listOfQueries = doc.getElementsByTagName("glDefaultsItem");
int totalQueries = listOfQueries.getLength();
System.out.println("Total number of Queries : " + totalQueries);----------------------------------------
I think I'm going In the right direction but I'm kinda stuck, wallowing in ignorance maybe, lolfront
-
Need generic way to convert xml to hashmap table
Hi,
Can anybody please help me out:
I am trying to create a function that would do similar style xml-to-hashmap conversion as below code in perl
sub _HandleXML {
my $xmlin = shift || return;
my $xml = new XML::Simple;
my $data = $xml->XMLin($xmlin, forcearray => 0, keyattr => []);
return $data;
Every call of _HandleXML will return hash table with the outer most xml tag as the key and all blocks in it as array of hashes.
Thanks!Hi tobin,
Importing Images from the hard drive, CD, or DVD
To import a folder with subfolders of images maintaining the same organizational structure (or close to it):
Drag the folder into iPhotos viewing area.
A film roll will be created with each sub folders name. To view the rolls in the Library you need to first go to the menu bar and choose View>by film rolls.
To make each roll into an Album, highlight the tile of the roll
Go to File>new album from selection.
You will now have an Album in the source column with the images from that roll. Do this for each roll if you want them to be an Album. This is your choice.
Next, go to the menu bar and hit File>new folder
Name this new folder with the year or whatever the name was of the Parent folder containing the subfolders that you had dragged into iPhotos viewing area.
Next drag all the Albums into the respective new Parent folder you just made.
Albums- collection of images from one roll or many rolls. The Albums will be listed in your source column when you make them. The albums only contain placeholders for the images that are still in the library. They are not duplicates.
Rolls- rolls are created when you import folder of images. It will be given the name of the folder you are importing.
Rolls are also created from each import from your camera. You are given the option to name the roll at import.
Folder-a folder you create manually using the File>new folder command
Folders can hold Albums, slideshows, books, another folder, etc.
Hope this helps!
You can also drag a folder of images in the source column. The folder will be imported as an album with the same name as the folder.
Lori -
Hi ,
I want to add the conext information to my server.xml of tomcat for my hibernate configuration.....
the conext information is as follows ....
<Context path="/quickstart" docBase="quickstart">
<Resource name="jdbc/quickstart" scope="Shareable" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/quickstart">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<!-- DBCP database connection settings -->
<parameter>
<name>url</name>
<value>jdbc:postgresql://localhost/quickstart</value>
</parameter>
<parameter>
<name>driverClassName</name><value>org.postgresql.Driver</value>
</parameter>
<parameter>
<name>username</name>
<value>quickstart</value>
</parameter>
<parameter>
<name>password</name>
<value>secret</value>
</parameter>
<!-- DBCP connection pooling options -->
<parameter>
<name>maxWait</name>
<value>3000</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>100</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>10</value>
</parameter>
</ResourceParams>
</Context>
Where in my server.xml should i put
the server.xml looks like this :
<!-- Example Server Configuration File -->
<!-- Note that component elements are nested corresponding to their
parent-child relationships with each other -->
<!-- A "Server" is a singleton element that represents the entire JVM,
which may contain one or more "Service" instances. The Server
listens for a shutdown command on the indicated port.
Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<Server port="8005" shutdown="SHUTDOWN">
<!-- Comment these entries out to disable JMX MBeans support used for the
administration web application -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users -->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" (and therefore the web applications visible
within that Container). Normally, that Container is an "Engine",
but this is not required.
Note: A "Service" is not itself a "Container", so you may not
define subcomponents such as "Valves" or "Loggers" at this level.
-->
<!-- Define the Tomcat Stand-Alone Service -->
<Service name="Catalina">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Each Connector passes requests on to the
associated "Container" (normally an Engine) for processing.
By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
You can also enable an SSL HTTP/1.1 Connector on port 8443 by
following the instructions below and uncommenting the second Connector
entry. SSL support requires the following steps (see the SSL Config
HOWTO in the Tomcat 5 documentation bundle for more detailed
instructions):
* If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
* Execute:
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
with a password value of "changeit" for both the certificate and
the keystore itself.
By default, DNS lookups are enabled when a web application calls
request.getRemoteHost(). This can have an adverse impact on
performance, so you can disable it by setting the
"enableLookups" attribute to "false". When DNS lookups are disabled,
request.getRemoteHost() will return the String version of the
IP address of the remote client.
-->
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector
port="8080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->
<!-- Note : To use gzip compression you could set the following properties :
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml"
-->
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<!--
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
<!--
<Connector port="8082"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" acceptCount="100" connectionTimeout="20000"
proxyPort="80" disableUploadTimeout="true" />
-->
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host). -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
<Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
-->
<!-- Define the top level container in our container hierarchy -->
<Engine name="Catalina" defaultHost="localhost">
<!-- The request dumper valve dumps useful debugging information about
the request headers and cookies that were received, and the response
headers and cookies that were sent, for all requests received by
this instance of Tomcat. If you care only about requests to a
particular virtual host, or a particular application, nest this
element inside the corresponding <Host> or <Context> entry instead.
For a similar mechanism that is portable to all Servlet 2.4
containers, check out the "RequestDumperFilter" Filter in the
example application (the source for this filter may be found in
"$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
Request dumping is disabled by default. Uncomment the following
element to enable it. -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- Because this Realm is here, an instance will be shared globally -->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
<!-- Comment out the old realm but leave here for now in case we
need to go back quickly -->
<!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
-->
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test" connectionPassword="test"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
connectionName="scott" connectionPassword="tiger"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!--
<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:CATALINA"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />
-->
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<!-- Defines a cluster for this node,
By defining this element, means that every manager will be changed.
So when running a cluster, only make sure that you have webapps in there
that need to be clustered and remove the other ones.
A cluster has the following parameters:
className = the fully qualified name of the cluster class
name = a descriptive name for your cluster, can be anything
mcastAddr = the multicast address, has to be the same for all the nodes
mcastPort = the multicast port, has to be the same for all the nodes
mcastBindAddr = bind the multicast socket to a specific address
mcastTTL = the multicast TTL if you want to limit your broadcast
mcastSoTimeout = the multicast readtimeout
mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
in case of multiple ethernet cards.
auto means that address becomes
InetAddress.getLocalHost().getHostAddress()
tcpListenPort = the tcp listen port
tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
has a wakup bug in java.nio. Set to 0 for no timeout
printToScreen = true means that managers will also print to std.out
expireSessionsOnShutdown = true means that
useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
false means to replicate the session after each request.
false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
<%
HashMap map = (HashMap)session.getAttribute("map");
map.put("key","value");
%>
replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
* Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
* Synchronous means that the thread that executes the request, is also the
thread the replicates the data to the other nodes, and will not return until all
nodes have received the information.
* Asynchronous means that there is a specific 'sender' thread for each cluster node,
so the request thread will queue the replication request into a "smart" queue,
and then return to the client.
The "smart" queue is a queue where when a session is added to the queue, and the same session
already exists in the queue from a previous request, that session will be replaced
in the queue instead of replicating two requests. This almost never happens, unless there is a
large network delay.
-->
<!--
When configuring for clustering, you also add in a valve to catch all the requests
coming in, at the end of the request, the session may or may not be replicated.
A session is replicated if and only if all the conditions are met:
1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
2. a session exists (has been created)
3. the request is not trapped by the "filter" attribute
The filter attribute is to filter out requests that could not modify the session,
hence we don't replicate the session after the end of this request.
The filter is negative, ie, anything you put in the filter, you mean to filter out,
ie, no replication will be done on requests that match one of the filters.
The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
ending with .gif and .js are intercepted.
The deployer element can be used to deploy apps cluster wide.
Currently the deployment only deploys/undeploys to working members in the cluster
so no WARs are copied upons startup of a broken node.
The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
When a new war file is added the war gets deployed to the local instance,
and then deployed to the other instances in the cluster.
When a war file is deleted from the watchDir the war is undeployed locally
and cluster wide
-->
<!--
<Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
managerClassName="org.apache.catalina.cluster.session.DeltaManager"
expireSessionsOnShutdown="false"
useDirtyFlag="true"
notifyListenersOnReplication="true">
<Membership
className="org.apache.catalina.cluster.mcast.McastService"
mcastAddr="228.0.0.4"
mcastPort="45564"
mcastFrequency="500"
mcastDropTime="3000"/>
<Receiver
className="org.apache.catalina.cluster.tcp.ReplicationListener"
tcpListenAddress="auto"
tcpListenPort="4001"
tcpSelectorTimeout="100"
tcpThreadCount="6"/>
<Sender
className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
replicationMode="pooled"
ackTimeout="15000"/>
<Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
<Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
tempDir="/tmp/war-temp/"
deployDir="/tmp/war-deploy/"
watchDir="/tmp/war-listen/"
watchEnabled="false"/>
</Cluster>
-->
<!-- Normally, users must authenticate themselves to each web app
individually. Uncomment the following entry if you would like
a user to be authenticated the first time they encounter a
resource protected by a security constraint, and then have that
user identity maintained across all web applications contained
in this virtual host. -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
<!-- Access log processes all requests for this virtual host. By
default, log files are created in the "logs" directory relative to
$CATALINA_HOME. If you wish, you can specify a different
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
This access log implementation is optimized for maximum performance,
but is hardcoded to support only the "common" and "combined" patterns.
-->
<!--
<Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
-->
</Host>
</Engine>
</Service>
</Server>
Can Some one Help me pleaseeeeeePlease don't cross-post in multiple forums. I have answered
this in your other thread. -
Follow up on XPATH HashMap problem
Hi,
I got some great help before on this & am hoping for a little direction. I have a class that calculates the tax from an xml like below:
<Taxes>
<Tax TaxCode='code1' Amount='101.00'/>
<Tax TaxCode='code2' Amount='102.00'/>
<Tax TaxCode='code3' Amount='103.00'/>
<Tax TaxCode='code4' Amount='104.00'/>
<Tax TaxCode='code5' Amount='105.00'/>
</Taxes>Now, my method below, gets the last 3 values and sums them and applies the code "XT" to it & returns a HashMap that looks like:
{code1 = 101.00, code = 102. 00, XT = 312.00}.
public static HashMap getTaxAmounts(String xml) throws Exception {
HashMap taxes = new HashMap();
DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
domFactory.setNamespaceAware(true); // never forget this!
DocumentBuilder builder = domFactory.newDocumentBuilder();
Document doc = builder.parse(xml);
XPathFactory factory = XPathFactory.newInstance();
XPath xpath = factory.newXPath();
XPathExpression expr = xpath.compile("//Tax/@TaxCode");
Object result = expr.evaluate(doc, XPathConstants.NODESET);
NodeList nodes = (NodeList) result;
XPathExpression expr1 = xpath.compile("//Tax/@Amount");
Object result1 = expr1.evaluate(doc, XPathConstants.NODESET);
NodeList nodes1 = (NodeList) result1;
for ( int i = 0; i < nodes1.getLength() && (i<2); i++) {
taxes.put( nodes.item(i).getNodeValue(), nodes1.item(i).getNodeValue());
if( nodes1.getLength() >= 3){
float total = 0.00f;
for ( int i = 2; i < nodes1.getLength(); i++) {
total += Float.parseFloat(nodes1.item(i).getNodeValue());
String xt = nodes.item(2).getNodeValue();
xt = "XT";
taxes.put( xt, total);
return taxes;
/code]
all that's fine - but now I have to replace the tags in the original XML file so that they look like:<Taxes>
<Tax TaxCode='code1' Amount='101.00'/>
<Tax TaxCode='code2' Amount='102.00'/>
<Tax TaxCode='XT' Amount='312.00'/>
</Taxes>
any odeas how I would this???Hi, John. I can address one of your questions here.
However, the picture was slightly cropped at the top and it also had 2 very small borders on the left and right, being printed in landscape.
A standard digital camera image is proportioned 4:3 (1.33:1). That doesn't match the 6:4 ratio of your paper's dimensions (1.5:1), so unless you opt either to distort the image or crop it, it can't be an exact fit on the paper.
In the toolbar at the top of iPhoto's Edit view is a pull-down menu above the word "Constrain". You use that menu to specify standard proportions for printing the image. Select "4x6 (Postcard)", and you will see superimposed on the picture a rectangle that has those proportions. What's inside the rectangle looks normal, signifying that it will be printed; what's outside the rectangle is pale and muted, because it will be cropped away when you print. Place your cursor anywhere inside the rectangle, hold the mouse button down and drag, to move the rectangle and change what's included within the print boundary.
The fact that your printed picture was both cropped and slightly reduced in size (creating the small left and right borders) suggests to me that your printer may not be capable of borderless printing, or that there is a setting for borderless prints you're overlooking somewhere. Since the contents of both the Print and Page Setup dialog boxes are governed by the printer's own driver software, and there's no "borderless" setting anywhere within iPhoto, I think you'll need to review the printer's documentation and/or online help files carefully to see whether you're overlooking something in one of those dialog boxes. -
Create report in report builder and now want to convert to XML and move EBS
Tryed to run several different java scripts from web articles and keep getting the same error. I have EBS r12. I've created a report in the report builder then used the rwconverter.exe to convert it to xml I want to get in into EBS as XML but need help to seperate the data. Any help would be great.
[Loaded java.util.Comparator from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.String$CaseInsensitiveComparator from C:\oracle\BIToolsHome_1\
jdk\jre\lib\rt.jar]
[Loaded java.security.AccessController from C:\oracle\BIToolsHome_1\jdk\jre\lib\
rt.jar]
[Loaded java.security.Guard from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.security.Permission from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar
[Loaded java.security.BasicPermission from C:\oracle\BIToolsHome_1\jdk\jre\lib\r
t.jar]
[Loaded java.lang.reflect.ReflectPermission from C:\oracle\BIToolsHome_1\jdk\jre
\lib\rt.jar]
[Loaded java.security.PrivilegedAction from C:\oracle\BIToolsHome_1\jdk\jre\lib\
rt.jar]
[Loaded sun.reflect.ReflectionFactory$GetReflectionFactoryAction from C:\oracle\
BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.Stack from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.reflect.ReflectionFactory from C:\oracle\BIToolsHome_1\jdk\jre\lib\r
t.jar]
[Loaded java.lang.RuntimePermission from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.
jar]
[Loaded java.lang.ref.Reference$Lock from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded java.lang.ref.Reference$ReferenceHandler from C:\oracle\BIToolsHome_1\jd
k\jre\lib\rt.jar]
[Loaded java.lang.ref.ReferenceQueue from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded java.lang.ref.ReferenceQueue$Null from C:\oracle\BIToolsHome_1\jdk\jre\l
ib\rt.jar]
[Loaded java.lang.ref.ReferenceQueue$Lock from C:\oracle\BIToolsHome_1\jdk\jre\l
ib\rt.jar]
[Loaded java.lang.ref.Finalizer$FinalizerThread from C:\oracle\BIToolsHome_1\jdk
\jre\lib\rt.jar]
[Loaded java.util.Enumeration from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.Hashtable$EmptyEnumerator from C:\oracle\BIToolsHome_1\jdk\jre
\lib\rt.jar]
[Loaded java.util.Iterator from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.Hashtable$EmptyIterator from C:\oracle\BIToolsHome_1\jdk\jre\l
ib\rt.jar]
[Loaded java.io.ObjectStreamClass from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded java.util.AbstractMap from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.SoftCache from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.HashMap from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.Map$Entry from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.HashMap$Entry from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.IncompatibleClassChangeError from C:\oracle\BIToolsHome_1\jdk\
jre\lib\rt.jar]
[Loaded java.lang.NoSuchMethodError from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.
jar]
[Loaded java.util.Hashtable$Entry from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded sun.misc.Version from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.InputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.FileInputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.FileDescriptor from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.OutputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.FileOutputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar
[Loaded java.io.FilterInputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded java.io.BufferedInputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.
jar]
[Loaded java.io.FilterOutputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.j
ar]
[Loaded java.io.PrintStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.BufferedOutputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded java.io.Writer from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.OutputStreamWriter from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.j
ar]
[Loaded sun.nio.cs.StreamEncoder from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar
[Loaded sun.io.Converters from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.reflect.Reflection from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.security.action.GetPropertyAction from C:\oracle\BIToolsHome_1\jdk\j
re\lib\rt.jar]
[Loaded java.nio.charset.Charset from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar
[Loaded java.nio.charset.spi.CharsetProvider from C:\oracle\BIToolsHome_1\jdk\jr
e\lib\rt.jar]
[Loaded sun.nio.cs.AbstractCharsetProvider from C:\oracle\BIToolsHome_1\jdk\jre\
lib\rt.jar]
[Loaded sun.nio.cs.StandardCharsets from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.
jar]
[Loaded java.util.SortedMap from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.TreeMap from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.ASCIICaseInsensitiveComparator from C:\oracle\BIToolsHome_1\jdk
\jre\lib\rt.jar]
[Loaded java.util.TreeMap$Entry from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.CharacterDataLatin1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\r
t.jar]
[Loaded java.lang.ThreadLocal from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.nio.cs.HistoricallyNamedCharset from C:\oracle\BIToolsHome_1\jdk\jre
\lib\rt.jar]
[Loaded sun.nio.cs.MS1252 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.Class$3 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.reflect.Modifier from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.j
ar]
[Loaded sun.reflect.LangReflectAccess from C:\oracle\BIToolsHome_1\jdk\jre\lib\r
t.jar]
[Loaded java.lang.reflect.ReflectAccess from C:\oracle\BIToolsHome_1\jdk\jre\lib
\rt.jar]
[Loaded java.lang.Class$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.reflect.ReflectionFactory$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib
\rt.jar]
[Loaded sun.reflect.NativeConstructorAccessorImpl from C:\oracle\BIToolsHome_1\j
dk\jre\lib\rt.jar]
[Loaded sun.reflect.DelegatingConstructorAccessorImpl from C:\oracle\BIToolsHome
_1\jdk\jre\lib\rt.jar]
[Loaded sun.nio.cs.StreamEncoder$CharsetSE from C:\oracle\BIToolsHome_1\jdk\jre\
lib\rt.jar]
[Loaded java.nio.charset.CharsetEncoder from C:\oracle\BIToolsHome_1\jdk\jre\lib
\rt.jar]
[Loaded sun.nio.cs.SingleByteEncoder from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded sun.nio.cs.MS1252$Encoder from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded java.nio.charset.CodingErrorAction from C:\oracle\BIToolsHome_1\jdk\jre\
lib\rt.jar]
[Loaded java.nio.charset.CharsetDecoder from C:\oracle\BIToolsHome_1\jdk\jre\lib
\rt.jar]
[Loaded sun.nio.cs.SingleByteDecoder from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded sun.nio.cs.MS1252$Decoder from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded java.nio.ByteBuffer from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.nio.HeapByteBuffer from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.nio.Bits from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.Unsafe from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.VM from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.Runtime from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.nio.ByteOrder from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.nio.CharBuffer from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.nio.HeapCharBuffer from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.nio.charset.CoderResult from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded java.nio.charset.CoderResult$Cache from C:\oracle\BIToolsHome_1\jdk\jre\
lib\rt.jar]
[Loaded java.nio.charset.CoderResult$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\
rt.jar]
[Loaded java.nio.charset.CoderResult$2 from C:\oracle\BIToolsHome_1\jdk\jre\lib\
rt.jar]
[Loaded sun.nio.cs.Surrogate$Parser from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.
jar]
[Loaded sun.nio.cs.Surrogate from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.BufferedWriter from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.File from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.FileSystem from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.Win32FileSystem from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.WinNTFileSystem from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.ExpiringCache from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.ClassLoader$3 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.ExpiringCache$Entry from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.
jar]
[Loaded java.lang.ClassLoader$NativeLibrary from C:\oracle\BIToolsHome_1\jdk\jre
\lib\rt.jar]
[Loaded java.lang.Terminator from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.SignalHandler from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.Terminator$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.Signal from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.NativeSignalHandler from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded java.lang.Integer$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.Compiler from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.Compiler$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.Launcher from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.net.URLStreamHandlerFactory from C:\oracle\BIToolsHome_1\jdk\jre\li
b\rt.jar]
[Loaded sun.misc.Launcher$Factory from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded java.security.SecureClassLoader from C:\oracle\BIToolsHome_1\jdk\jre\lib
\rt.jar]
[Loaded java.net.URLClassLoader from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$ExtClassLoader from C:\oracle\BIToolsHome_1\jdk\jre\li
b\rt.jar]
[Loaded sun.security.util.Debug from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.StringTokenizer from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded java.security.PrivilegedExceptionAction from C:\oracle\BIToolsHome_1\jdk
\jre\lib\rt.jar]
[Loaded sun.misc.Launcher$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.net.www.ParseUtil from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.BitSet from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.net.URL from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.Locale from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.net.Parts from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.net.URLStreamHandler from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded sun.net.www.protocol.file.Handler from C:\oracle\BIToolsHome_1\jdk\jre\l
ib\rt.jar]
[Loaded java.util.Set from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.AbstractSet from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.HashSet from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.ArrayList from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.net.www.protocol.jar.Handler from C:\oracle\BIToolsHome_1\jdk\jre\li
b\rt.jar]
[Loaded sun.misc.Launcher$AppClassLoader from C:\oracle\BIToolsHome_1\jdk\jre\li
b\rt.jar]
[Loaded sun.misc.Launcher$2 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.SystemClassLoaderAction from C:\oracle\BIToolsHome_1\jdk\jre\l
ib\rt.jar]
[Loaded java.lang.StringCoding from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.ThreadLocal$ThreadLocalMap from C:\oracle\BIToolsHome_1\jdk\jr
e\lib\rt.jar]
[Loaded java.lang.ThreadLocal$ThreadLocalMap$Entry from C:\oracle\BIToolsHome_1\
jdk\jre\lib\rt.jar]
[Loaded java.lang.StringCoding$StringDecoder from C:\oracle\BIToolsHome_1\jdk\jr
e\lib\rt.jar]
[Loaded java.lang.StringCoding$CharsetSD from C:\oracle\BIToolsHome_1\jdk\jre\li
b\rt.jar]
[Loaded java.net.URLClassLoader$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded sun.misc.URLClassPath$3 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.URLClassPath$Loader from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded sun.misc.URLClassPath$JarLoader from C:\oracle\BIToolsHome_1\jdk\jre\lib
\rt.jar]
[Loaded sun.misc.FileURLMapper from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.zip.ZipConstants from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.j
ar]
[Loaded java.util.zip.ZipFile from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.jar.JarFile from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.security.action.LoadLibraryAction from C:\oracle\BIToolsHome_1\jdk\j
re\lib\rt.jar]
[Loaded sun.misc.JavaUtilJarAccess from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.j
ar]
[Loaded java.util.jar.JavaUtilJarAccessImpl from C:\oracle\BIToolsHome_1\jdk\jre
\lib\rt.jar]
[Loaded sun.misc.SharedSecrets from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.JarIndex from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.misc.ExtensionDependency from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded java.util.zip.ZipEntry from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.jar.JarEntry from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.jar.JarFile$JarFileEntry from C:\oracle\BIToolsHome_1\jdk\jre\
lib\rt.jar]
[Loaded java.io.DataInput from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.DataInputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.zip.ZipFile$ZipFileInputStream from C:\oracle\BIToolsHome_1\jd
k\jre\lib\rt.jar]
[Loaded java.util.zip.InflaterInputStream from C:\oracle\BIToolsHome_1\jdk\jre\l
ib\rt.jar]
[Loaded java.util.zip.ZipFile$1 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.util.zip.Inflater from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.Math from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.security.PrivilegedActionException from C:\oracle\BIToolsHome_1\jdk
\jre\lib\rt.jar]
[Loaded java.util.jar.Manifest from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.ByteArrayInputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt
.jar]
[Loaded java.util.jar.Attributes from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar
[Loaded java.util.jar.Manifest$FastInputStream from C:\oracle\BIToolsHome_1\jdk\
jre\lib\rt.jar]
[Loaded sun.nio.cs.UTF_8 from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded sun.nio.cs.UTF_8$Decoder from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar
[Loaded sun.nio.cs.Surrogate$Generator from C:\oracle\BIToolsHome_1\jdk\jre\lib\
rt.jar]
[Loaded java.util.jar.Attributes$Name from C:\oracle\BIToolsHome_1\jdk\jre\lib\r
t.jar]
[Loaded java.util.jar.JarVerifier from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.ja
r]
[Loaded java.io.ByteArrayOutputStream from C:\oracle\BIToolsHome_1\jdk\jre\lib\r
t.jar]
[Loaded java.io.IOException from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.io.FileNotFoundException from C:\oracle\BIToolsHome_1\jdk\jre\lib\r
t.jar]
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/xdo/rdfpa
rser/rtftemplategenerator
[Loaded java.lang.StackTraceElement from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.
jar]
[Loaded java.lang.Shutdown from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
[Loaded java.lang.Shutdown$Lock from C:\oracle\BIToolsHome_1\jdk\jre\lib\rt.jar]
C:\>java.exe -verbose -cp C:\OraHome_1\j2ee\home\applications\xmlpserver\xmlpser
ver\WEB-INF\lib\xdocore.jar;C:\OraHome_1\j2ee\home\applications\xmlpserver\xmlps
erver\WEB-INF\lib\collections.jar;C:\OraHome_1\j2ee\home\applications\xmlpserver
\xmlpserver\WEB-INF\lib\versioninfo.jar;C:\OraHome_1\j2ee\home\applications\xmlp
server\xmlpserver\WEB-INF\lib\xdoparser.jar;C:\OraHome_1\j2ee\home\applications\
xmlpserver\xmlpserver\WEB-INF\lib\xmlparserv2-904.jar;C:\OraHome_1\j2ee\home\app
lications\xmlpserver\WEB-INF\lib\aolj.jarC:\OraHome_1\j2ee\home\applications\xml
pserver\WEB-INF\lib\j5472959_xdo.zip oracle.apps.xdo.rdfparser.rtftemplategenera
tor -source C:\otest -target c:\otestI am not sure what exactly you are looking for , but these 2 article may help.If not can you just give more detail about what exactly you need.
http://eoracleapps.blogspot.com/2009/04/how-to-convert-oracle-reports-in-bi.html
http://eoracleapps.blogspot.com/2009/05/reports-with-bi-publisher-enterprise.html
[email protected] -
Error while opening application module xml file
Hi All,
I am using Jdeveloper 10.1.3.3. When I open any of my application module xml class say (Session.xml) , I am getting following exception in Jdeveloper
Error while invoking menu action:Edit Session.xml
java.lang.StackOverflowError
at java.util.HashMap.get(HashMap.java:320)
at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:126)
at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:163)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
I am wondering where things are wrong. Is it a bug in Jdeveloper.
Thanks
VikramHi All,
I am using Jdeveloper 10.1.3.3. When I open any of my application module xml class say (Session.xml) , I am getting following exception in Jdeveloper
Error while invoking menu action:Edit Session.xml
java.lang.StackOverflowError
at java.util.HashMap.get(HashMap.java:320)
at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:126)
at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:163)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
at java.net.URL.openStream(URL.java:1007)
at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
I am wondering where things are wrong. Is it a bug in Jdeveloper.
Thanks
Vikram -
"package javax.xml .rpc does not exist" error when compiling client jar
When I try to compile the web services client jar with either the clientgen or the <client> element of servicegen I get the following error "package weblogic.webservice.core.rpc does not exist"
Here is the error output
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:10: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:9: package javax.xml.rpc does not exist
[servicegen] public interface OSHService extends javax.xml.rpc.Service{
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:11: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext context();
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:13: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext joinContext()
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:14: package weblogic.webservice.context does not exist
[servicegen] throws weblogic.webservice.context.ContextNotFoundException;
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:16: package javax.xml.rpc does not exist
[servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort() throws javax.xml.rpc.ServiceException;
[servicegen]
^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:18: package javax.xml.rpc does not exist
[servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort(String username, String password) throws javax.xml.rpc.ServiceException;
[servicegen]
^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.StubImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:12: package weblogic.webservice does not exist
[servicegen] public OSHServicePort_Stub( weblogic.webservice.Port _port ){
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:9: com.onexchange.tools.osh.client.OSHService_Impl should be declared abstract; it does not define context() in com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] public class OSHService_Impl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:40: cannot
resolve symbol
[servicegen] symbol : method _getPort (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] new com.onexchange.tools.osh.client.OSHServicePort_Stub( _g
etPort( "OSHServicePort" ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:49: cannot
resolve symbol
[servicegen] symbol : method _setUser (java.lang.String,java.lang.String,com.on
exchange.tools.osh.client.OSHServicePort)
[servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] _setUser( username, password, getOSHServicePort() );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:24: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:25: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string0", wrap( string0 ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:27: ca
nnot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] java.lang.Object result = invoke( "login", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:29: pa
ckage javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:31: pa
ckage javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:44: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:45: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string0", wrap( string0 ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:47: ca
nnot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] java.lang.Object result = invoke( "oshRequest", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:49: pa
ckage javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:51: pa
ckage javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] 22 errors
[servicegen] java.io.IOException: Compiler failed executable.exec
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp
ilerInvoker.java:470)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
er.java:329)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
er.java:337)
[servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compi
leFiles(CompilerHelper.java:80)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compil
eStubs(ClientGenImpl.java:608)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.genera
teStub(ClientGenImpl.java:553)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
ntGenFromEAR(ClientGenImpl.java:502)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
ientGenImpl.java:348)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.g
enerateClient(ServiceGenTask.java:597)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.e
xecute(ServiceGenTask.java:195)
[servicegen] at org.apache.tools.ant.Task.perform(Task.java:341)
[servicegen] at org.apache.tools.ant.Target.execute(Target.java:309)
[servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
[servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[servicegen] at org.apache.tools.ant.Main.start(Main.java:196)
[servicegen] at org.apache.tools.ant.Main.main(Main.java:235)
BUILD FAILED
Below is the -debug from the ant task immediately following:
<target name="web-service" depends="osh_bean_jar">
<servicegen
destEar="${build}/osh_service"
warName="osh_service.war"
contextURI="web_services" >
<service
ejbJar="${dist}/osh_bean.jar"
targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
serviceName="OSHService"
serviceURI="/OSHService"
generateTypes="True"
expandMethods="True"
style="rpc">
<client
packageName="com.onexchange.tools.osh.client" />
</service>
</servicegen>
</target>
Apache Ant version 1.5.3 compiled on August 13 2003
Buildfile: \onexv3.x\src\antfile\osh.xml
Detected Java version: 1.4 in: C:\bea\JDK141~1\jre
Detected OS: Windows 2000
+User task: propertyfile org.apache.tools.ant.taskdefs.optional.PropertyFile
+User task: vsscheckin org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
+User task: sql org.apache.tools.ant.taskdefs.SQLExec
+User task: cvspass org.apache.tools.ant.taskdefs.CVSPass
+User task: p4reopen org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen
+User task: csc org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
+User task: dirname org.apache.tools.ant.taskdefs.Dirname
+User task: wlrun org.apache.tools.ant.taskdefs.optional.ejb.WLRun
+User task: servicegen weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask
+User task: p4label org.apache.tools.ant.taskdefs.optional.perforce.P4Label
+User task: p4revert org.apache.tools.ant.taskdefs.optional.perforce.P4Revert
+User task: replaceregexp org.apache.tools.ant.taskdefs.optional.ReplaceRegExp
+User task: ddcreate weblogic.ant.taskdefs.build.DDCreateTask
+User task: get org.apache.tools.ant.taskdefs.Get
+User task: jjtree org.apache.tools.ant.taskdefs.optional.javacc.JJTree
+User task: sleep org.apache.tools.ant.taskdefs.Sleep
+User task: jarlib-display org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask
+User task: dependset org.apache.tools.ant.taskdefs.DependSet
+User task: zip org.apache.tools.ant.taskdefs.Zip
+User task: patch org.apache.tools.ant.taskdefs.Patch
+User task: jspc weblogic.ant.taskdefs.j2ee.Jspc
+User task: style org.apache.tools.ant.taskdefs.XSLTProcess
+User task: test org.apache.tools.ant.taskdefs.optional.Test
+User task: tstamp org.apache.tools.ant.taskdefs.Tstamp
+User task: unwar org.apache.tools.ant.taskdefs.Expand
+User task: vsshistory org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
+User task: icontract org.apache.tools.ant.taskdefs.optional.IContract
+User task: cvschangelog org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask
+User task: p4submit org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
+User task: ccmcheckin org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
+User task: p4change org.apache.tools.ant.taskdefs.optional.perforce.P4Change
+User task: bzip2 org.apache.tools.ant.taskdefs.BZip2
+User task: wspackage weblogic.ant.taskdefs.webservices.wspackage.WSPackage
+User task: p4delete org.apache.tools.ant.taskdefs.optional.perforce.P4Delete
+User task: vssadd org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD
+User task: javadoc org.apache.tools.ant.taskdefs.Javadoc
+User task: translate org.apache.tools.ant.taskdefs.optional.i18n.Translate
+User task: signjar org.apache.tools.ant.taskdefs.SignJar
+User task: vajload org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects
+User task: jarlib-available org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask
+User task: wsdd-merge weblogic.ant.taskdefs.webservices.autotype.DDMerge
+User task: WsdlToDotnet org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
+User task: buildnumber org.apache.tools.ant.taskdefs.BuildNumber
+User task: jpcovmerge org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge
+User task: compliance weblogic.ant.taskdefs.webservices.compliance.Compliance
+User task: ejbjar org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
Could not load class (weblogic.ant.taskdefs.perforce.P4Changes) for task p4changes
+User task: war org.apache.tools.ant.taskdefs.War
Could not load a dependent class (com/starbase/starteam/Item) for task stlist
+User task: rename org.apache.tools.ant.taskdefs.Rename
+User task: sequential org.apache.tools.ant.taskdefs.Sequential
+User task: serverdeploy org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
+User task: wsdlgen weblogic.ant.taskdefs.webservices.wsdlgen.WSDLGen
+User task: property org.apache.tools.ant.taskdefs.Property
+User task: move org.apache.tools.ant.taskdefs.Move
+User task: copydir org.apache.tools.ant.taskdefs.Copydir
+User task: cccheckin org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
+User task: wljspc org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
+User task: fixcrlf org.apache.tools.ant.taskdefs.FixCRLF
Could not load a dependent class (com/oroinc/net/SocketClient) for task telnet
+User task: sosget org.apache.tools.ant.taskdefs.optional.sos.SOSGet
Could not load class (weblogic.ant.taskdefs.perforce.P4VersionString) for task p4versionstring
+User task: pathconvert org.apache.tools.ant.taskdefs.PathConvert
+User task: autotype weblogic.ant.taskdefs.webservices.javaschema.JavaSchema
+User task: record org.apache.tools.ant.taskdefs.Recorder
+User task: p4sync org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
+User task: exec org.apache.tools.ant.taskdefs.ExecTask
+User task: p4edit org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
+User task: manifest org.apache.tools.ant.taskdefs.ManifestTask
+User task: maudit org.apache.tools.ant.taskdefs.optional.metamata.MAudit
+User task: antlr org.apache.tools.ant.taskdefs.optional.ANTLR
+User task: netrexxc org.apache.tools.ant.taskdefs.optional.NetRexxC
Could not load a dependent class (com/oroinc/net/ftp/FTP) for task ftp
+User task: jpcovreport org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
+User task: wsdl2service weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service
+User task: execon org.apache.tools.ant.taskdefs.ExecuteOn
+User task: ccmcheckout org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout
+User task: ant org.apache.tools.ant.taskdefs.Ant
+User task: xmlvalidate org.apache.tools.ant.taskdefs.optional.XMLValidateTask
+User task: xslt org.apache.tools.ant.taskdefs.XSLTProcess
+User task: iplanet-ejbc org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask
+User task: ccmcheckintask org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault
+User task: gzip org.apache.tools.ant.taskdefs.GZip
+User task: native2ascii org.apache.tools.ant.taskdefs.optional.Native2Ascii
+User task: starteam org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
+User task: ear org.apache.tools.ant.taskdefs.Ear
+User task: input org.apache.tools.ant.taskdefs.Input
+User task: wlpath weblogic.ant.taskdefs.WLPath
+User task: pointbase weblogic.ant.taskdefs.pointbase.PointBase
+User task: rmic weblogic.ant.taskdefs.j2ee.Rmic
+User task: checksum org.apache.tools.ant.taskdefs.Checksum
+User task: mail org.apache.tools.ant.taskdefs.email.EmailTask
+User task: loadfile org.apache.tools.ant.taskdefs.LoadFile
+User task: wsgen weblogic.ant.taskdefs.webservices.wsgen.WSGenTask
+User task: vsscheckout org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT
+User task: stylebook org.apache.tools.ant.taskdefs.optional.StyleBook
+User task: soscheckin org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
+User task: mimemail org.apache.tools.ant.taskdefs.optional.net.MimeMail
+User task: stlabel org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
+User task: gunzip org.apache.tools.ant.taskdefs.GUnzip
+User task: concat org.apache.tools.ant.taskdefs.Concat
+User task: cab org.apache.tools.ant.taskdefs.optional.Cab
+User task: touch org.apache.tools.ant.taskdefs.Touch
+User task: parallel org.apache.tools.ant.taskdefs.Parallel
+User task: splash org.apache.tools.ant.taskdefs.optional.splash.SplashTask
+User task: antcall org.apache.tools.ant.taskdefs.CallTarget
Could not load class (weblogic.ant.taskdefs.ejb.DDInit) for task ddinit
+User task: cccheckout org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
+User task: typedef org.apache.tools.ant.taskdefs.Typedef
+User task: p4have org.apache.tools.ant.taskdefs.optional.perforce.P4Have
+User task: filter org.apache.tools.ant.taskdefs.Filter
+User task: xmlproperty org.apache.tools.ant.taskdefs.XmlProperty
Could not load a dependent class (jdepend/xmlui/JDepend) for task jdepend
+User task: copy org.apache.tools.ant.taskdefs.Copy
+User task: clientgen weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask
+User task: createidl weblogic.ant.taskdefs.iiop.CppIdlSetup
+User task: antstructure org.apache.tools.ant.taskdefs.AntStructure
Could not load a dependent class (com/ibm/bsf/BSFException) for task script
+User task: ccmcreatetask org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
+User task: rpm org.apache.tools.ant.taskdefs.optional.Rpm
+User task: delete org.apache.tools.ant.taskdefs.Delete
+User task: replace org.apache.tools.ant.taskdefs.Replace
+User task: mmetrics org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
+User task: waitfor org.apache.tools.ant.taskdefs.WaitFor
+User task: untar org.apache.tools.ant.taskdefs.Untar
+User task: loadproperties org.apache.tools.ant.taskdefs.LoadProperties
+User task: wldeploy weblogic.ant.taskdefs.management.WLDeploy
+User task: available org.apache.tools.ant.taskdefs.Available
+User task: echoproperties org.apache.tools.ant.taskdefs.optional.EchoProperties
Could not load a dependent class (junit/framework/TestListener) for task junit
Could not load a dependent class (com/starbase/starteam/Item) for task stcheckin
+User task: vajexport org.apache.tools.ant.taskdefs.optional.ide.VAJExport
Could not load a dependent class (com/starbase/starteam/Item) for task stcheckout
+User task: bunzip2 org.apache.tools.ant.taskdefs.BUnzip2
+User task: copyfile org.apache.tools.ant.taskdefs.Copyfile
+User task: wlserver weblogic.ant.taskdefs.management.WLServer
+User task: vsscreate org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE
+User task: wlconfig weblogic.ant.taskdefs.management.WLConfig
+User task: ejbc weblogic.ant.taskdefs.j2ee.Ejbc
+User task: unjar org.apache.tools.ant.taskdefs.Expand
+User task: wsdltodotnet org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
+User task: wlcompile weblogic.ant.taskdefs.build.WLCompileTask
+User task: mkdir org.apache.tools.ant.taskdefs.Mkdir
+User task: cvs org.apache.tools.ant.taskdefs.Cvs
+User task: condition org.apache.tools.ant.taskdefs.ConditionTask
+User task: tempfile org.apache.tools.ant.taskdefs.TempFile
+User task: junitreport org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
+User task: taskdef org.apache.tools.ant.taskdefs.Taskdef
+User task: echo org.apache.tools.ant.taskdefs.Echo
+User task: ccupdate org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
+User task: java org.apache.tools.ant.taskdefs.Java
+User task: vsslabel org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
+User task: renameext org.apache.tools.ant.taskdefs.optional.RenameExtensions
+User task: basename org.apache.tools.ant.taskdefs.Basename
+User task: javadoc2 org.apache.tools.ant.taskdefs.Javadoc
+User task: tar org.apache.tools.ant.taskdefs.Tar
+User task: vsscp org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP
+User task: vajimport org.apache.tools.ant.taskdefs.optional.ide.VAJImport
+User task: setproxy org.apache.tools.ant.taskdefs.optional.net.SetProxy
+User task: p4counter org.apache.tools.ant.taskdefs.optional.perforce.P4Counter
+User task: wlstop org.apache.tools.ant.taskdefs.optional.ejb.WLStop
+User task: ilasm org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
+User task: soscheckout org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout
+User task: apply org.apache.tools.ant.taskdefs.Transform
+User task: ccuncheckout org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout
+User task: jarlib-resolve org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask
+User task: jlink org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
+User task: cvstagdiff org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
+User task: javacc org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
+User task: chmod org.apache.tools.ant.taskdefs.Chmod
+User task: pvcs org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
+User task: jarlib-manifest org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask
+User task: jar org.apache.tools.ant.taskdefs.Jar
+User task: sound org.apache.tools.ant.taskdefs.optional.sound.SoundTask
+User task: wlappc weblogic.ant.taskdefs.j2ee.Appc
+User task: mparse org.apache.tools.ant.taskdefs.optional.metamata.MParse
+User task: blgenclient org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
+User task: uptodate org.apache.tools.ant.taskdefs.UpToDate
+User task: genkey org.apache.tools.ant.taskdefs.GenerateKey
+User task: javah org.apache.tools.ant.taskdefs.optional.Javah
+User task: ccmreconfigure org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
+User task: fail org.apache.tools.ant.taskdefs.Exit
+User task: unzip org.apache.tools.ant.taskdefs.Expand
+User task: javac org.apache.tools.ant.taskdefs.Javac
+User task: source2wsdd weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD
+User task: p4add org.apache.tools.ant.taskdefs.optional.perforce.P4Add
+User task: jpcoverage org.apache.tools.ant.taskdefs.optional.sitraka.Coverage
+User task: soslabel org.apache.tools.ant.taskdefs.optional.sos.SOSLabel
+User task: depend org.apache.tools.ant.taskdefs.optional.depend.Depend
+User task: wlpackage weblogic.ant.taskdefs.build.WLPackageTask
+User task: vssget org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
+User task: deltree org.apache.tools.ant.taskdefs.Deltree
+User task: ddcreator org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
+User datatype: patternset org.apache.tools.ant.types.PatternSet
+User datatype: filterset org.apache.tools.ant.types.FilterSet
+User datatype: libfileset org.apache.tools.ant.taskdefs.optional.extension.LibFileSet
+User datatype: filterreader org.apache.tools.ant.types.AntFilterReader
+User datatype: extension org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
+User datatype: fileset org.apache.tools.ant.types.FileSet
+User datatype: dirset org.apache.tools.ant.types.DirSet
+User datatype: filelist org.apache.tools.ant.types.FileList
+User datatype: filterchain org.apache.tools.ant.types.FilterChain
+User datatype: path org.apache.tools.ant.types.Path
+User datatype: classfileset org.apache.tools.ant.types.optional.depend.ClassfileSet
+User datatype: description org.apache.tools.ant.types.Description
+User datatype: xmlcatalog org.apache.tools.ant.types.XMLCatalog
+User datatype: selector org.apache.tools.ant.types.selectors.SelectSelector
+User datatype: mapper org.apache.tools.ant.types.Mapper
+User datatype: substitution org.apache.tools.ant.types.Substitution
+User datatype: extensionSet org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet
+User datatype: regexp org.apache.tools.ant.types.RegularExpression
Setting ro project property: ant.version -> Apache Ant version 1.5.3 compiled on August 13 2003
Setting ro project property: ant.file -> C:\onexv3.x\src\antfile\osh.xml
parsing buildfile \onexv3.x\src\antfile\osh.xml with URI = file:C:/onexv3.x/src/antfile/osh.xml
Setting ro project property: ant.project.name -> osh
Adding reference: osh -> org.apache.tools.ant.Project@12ad19e
Project base dir set to: C:\onexv3.x\src\antfile
resolving systemId: file:properties.xml
+Task: property
[property] Loading Environment env.
Setting project property: env.SYSTEMROOT -> C:\WINNT
Setting project property: env.ONEX_WL_IP -> localhost
Setting project property: env.ORACLE_HOME -> /oracle/ora92
Setting project property: env.WEBROOT -> /weblogic/weblogic81/config/onexdomain-v3x/applications/onexchange
Setting project property: env.PROMPT -> $P$G
Setting project property: env.MY_PASSWORD -> qa1
Setting project property: env.JAVA_OPTIONS -> -Xverify:none
Setting project property: env.POINTBASE_TOOLS -> C:\weblogic\WEBLOG~1\common\eval\pointbase\lib\pbtools44.jar
Setting project property: env.ONEX_CONFIG -> /onexv3.x/ops/config/config_dev-v2.x.txt
Setting project property: env.PWD -> /weblogic/weblogic81/server/bin
Setting project property: env.COMPUTERNAME -> FKHAN2
Setting project property: env.JSPWD -> /weblogic/weblogic81/config/onexdomain-v3x/classfiles
Setting project property: env.MAKE_MODE -> UNIX
Setting project property: env.ALLUSERSPROFILE -> C:\Documents and Settings\All Users
Setting project property: env.h -> /onexv3.x
Setting project property: env.SERVLET_CLASSES -> /weblogic/weblogic81/config/onexdomain-v3x/servletclasses
Setting project property: env.HOMEPATH -> \Documents and Settings\fkhan
Setting project property: env.ONEX_NOTIFY -> 1
Setting project property: env.ONEX -> /onexv3.x
Setting project property: env.ONEX_TQREADER -> 1
Setting project property: env.JDK_CLASSES -> /bea/jdk141_05/lib/rt.jar
Setting project property: env._ -> ./ant.bat
Setting project property: env.EXT -> .60
Setting project property: env.SHELL -> /bin/sh
Setting project property: env.Z -> ;
Setting project property: env.X -> 1
Setting project property: env.MY_NAME -> qa1
Setting project property: env.ONEX_AUDIT -> 1
Setting project property: env.MY_DW_DB_SERVICE -> qa
Setting project property: env.PATH -> C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;.;C:\onexv3.x\ops\scripts;C:\onexv3.x\scripts;C:\onexv3.x\3rdparty\ant\bin;C:\bea\jdk141_05\bin;C:\onexv3.x\scripts\singledb;C:\Oracle\Ora9\bin;C:\cygnus\CYGWIN~1\H-I586~1\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Perforce;C:\cygwin\bin;C:\putty;C:\weblogic\WEBLOG~1\server\bin\oci920_8
Setting project property: env.MY_INSTANCE -> qa
Setting project property: env.POINTBASE_HOME -> C:\weblogic\WEBLOG~1\common\eval\pointbase
Setting project property: env.WINDIR -> C:\WINNT
Setting project property: env.ONEX_WL_HOME -> /weblogic/weblogic81
Setting project property: env.ONEX_TRADING -> 1
Setting project property: env.HOSTTYPE -> i586
Setting project property: env.J -> /onexv3.x/jars
Setting project property: env.PROCESSOR_IDENTIFIER -> x86 Family 6 Model 8 Stepping 3, GenuineIntel
Setting project property: env.JAVA_VENDOR -> Sun
Setting project property: env.TEMP -> C:\DOCUME~1\fkhan\LOCALS~1\Temp
Setting project property: env.ONEX_JAVA_HOME -> /bea/jdk141_05
SettiCan somebody tell me how to run the webservices in weblogic samples,when i run this(build.xml)i get the following error.
=========================================================Buildfile: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml
clean:
[delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
[delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
compile:
[mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
[mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
[javac] Compiling 1 source file to E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
ear:
[servicegen] Generating service "HelloWorld" ...
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.StubImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:12: package weblogic.webservice does not exist
[servicegen] public HelloWorldPort_Stub( weblogic.webservice.Port _port ){
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:9: package javax.xml.rpc does not exist
[servicegen] public interface HelloWorld extends javax.xml.rpc.Service{
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:11: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext context();
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:13: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext joinContext()
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:14: package weblogic.webservice.context does not exist
[servicegen] throws weblogic.webservice.context.ContextNotFoundException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:16: package javax.xml.rpc does not exist
[servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort() throws javax.xml.rpc.ServiceException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:18: package javax.xml.rpc does not exist
[servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort(String username, String password) throws javax.xml.rpc.ServiceException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:10: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:24: cannot resolve symbol
[servicegen] symbol : method _wrap (int)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] args.put( "intVal", wrap( intVal ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:25: cannot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:27: cannot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] java.lang.Object result = invoke( "sayHello", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:29: package javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:31: package javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:9: examples.webservices.basic.javaclass.HelloWorld_Impl is not abstract and does not override abstract method joinContext() in examples.webservices.basic.javaclass.HelloWorld
[servicegen] public class HelloWorld_Impl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:40: cannot resolve symbol
[servicegen] symbol : method _getPort (java.lang.String)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
[servicegen] new examples.webservices.basic.javaclass.HelloWorldPort_Stub( _getPort( "HelloWorldPort" ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:49: cannot resolve symbol
[servicegen] symbol : method _setUser (java.lang.String,java.lang.String,examples.webservices.basic.javaclass.HelloWorldPort)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
[servicegen] _setUser( username, password, getHelloWorldPort() );
[servicegen] ^
[servicegen] 17 errors
[servicegen] java.io.IOException: Compiler failed executable.exec
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:521)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:345)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateClient(ServiceGenTask.java:597)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:195)
[servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
[servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
[servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml:42: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
[java.io.IOException: Compiler failed executable.exec]
Total time: 29 seconds -
Problem in filling jasper report with XML Data source
Hello!
I am trying to build a report uxing xml data source..Please verify following code:
String outFileName = "c:/Report1.pdf";
File xmlFileName = new File("C:/Program Files/JasperSoft/iReport-1.2.5/report.jrxml");
String recordPath = "/SiteDetails/Site";
JasperDesign jasperDesign = JRXmlLoader.load(xmlFileName);
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
JRXmlDataSource jrxmlds = new JRXmlDataSource(new File("c:/NewSite.xml"),recordPath);
HashMap hm = new HashMap();
try
JasperPrint print = JasperFillManager.fillReport(jasperReport,hm,jrxmlds);
JRExporter exporter = new net.sf.jasperreports.engine.export.JRPdfExporter();
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME,outFileName);
exporter.setParameter(JRExporterParameter.JASPER_PRINT,print);
exporter.exportReport();
catch (JRException jre)
jre.printStackTrace();
catch (Exception e)
e.printStackTrace();
My Xml file is:
<?xml version="1.0" encoding="UTF-8"?>
<SiteDetails>
<Site>
<Name>Site1</Name>
<Addr>Bangalore</Addr>
<supersiteid>null</supersiteid>
</Site>
<Site>
<Name> Site2</Name>
<Addr> Madras</Addr>
<supersiteid>Site1</supersiteid>
</Site>
</SiteDetails>
I want to display details of Siteand Address..My program works fine but displays only 1 (first) record...What should i do to display the full file..do i need to navigate thru the file and give that as an input to fillReport ()method...Hi,
Have a look at below URL.
http://ireport.sourceforge.net/cap7.html#7.4
Regards
VInK
Maybe you are looking for
-
Wireless issue: some online software don't work
First of all, hello to everyone and sorry for my English. I'm from Spain. I have what I think is a strange issue in my MacBook. When I'm connected by Airport wireless, I'm unable to use some online software, although I'm able to use other online prog
-
Dear All, Needed some of the Reports in MM Material Mangment 1. Stock Report Value Wise 2. Stock Report Period Wise 3. Stock Report Storage Location wise 4. Stock Report WBS wise 5 . Stock Value Can I get all my requirement in One Report; or Indiv
-
Video playback in the native player
Is there a way to make a video (inside the app or on the web) play directly in the native iphone video player. Ive managed to play a video trough navigateToURL(new URLRequest(http://mysite.com/video.mp4)); but this redirects trough mobile safari. Tha
-
Issues loading lessons from classroom in a book
I am having problems loading some lessons from classroom in a book. Some work fine with others I get an error message that says there is a file import failure as the file format cannot be recognised. I have reloaded the lessons from te disc but th
-
Reg:Mapping (IDOc Segment)
Hi Guys, In my mapping has many segmants at sender but i need to map one field from one segment to one target filed thats fine if ,but i want to map same fields from all segments to target field. please give me solution Thanks