Dynamic Client Exception - Need help
Hi,
Need help.......
I am getting following exception, when I run
my dynamic client.
Attached below is my code as well as WSDL.
Thanks in advance..
Regards
-Shakeel
[java] javax.xml.rpc.JAXRPCException: failed to invoke operation 'Print' du
e to an error in the soap layer (SAAJ); nested exception is: Message[ failed to
serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.Serial
izationException: mapping lookup failure. class=interface javax.xml.soap.SOAPEle
ment class context=TypedClassContext{schemaType=['http://learn.technologies.com/
WS']:PrintRequest}]StackTrace[
[java] javax.xml.soap.SOAPException: failed to serialize interface javax.x
ml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping l
ookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedCla
ssContext{schemaType=['http://learn.technologies.com/WS']:PrintRequest}
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(Default
Part.java:328)
CODE
// Setup the global SAAJ message factory
System.setProperty("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
// Setup the global JAX-RPC service factory
System.setProperty( "javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
ServiceFactory serviceFactory = ServiceFactory.newInstance();
// define qnames
String targetNamespace = "http://learn.technologies.com/WS";
QName serviceName = new QName(targetNamespace, "PersonalDataService");
QName portName = new QName(targetNamespace, "PersonalDataInterface");
QName operationName = new QName(targetNamespace, "Print");
URL wsdlLocation = new URL("http://localhost:7001/simpleexample/PersonalDataInterface?WSDL");
// create service
Service service = serviceFactory.createService(wsdlLocation, serviceName);
// create call
Call call = service.createCall(portName, operationName);
WSDL
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://learn.technologies.com/WS"
targetNamespace="http://learn.technologies.com/WS">
<types>
<schema targetNamespace="http://learn.technologies.com/WS"
xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<element name="PrintRequest">
<complexType>
<sequence>
<element name="firstName" type="string"/>
<element name="age" type="int"/>
<element name="salary" type="double"/>
</sequence>
</complexType>
</element>
<element name="PrintResponse">
<complexType>
<sequence/>
</complexType>
</element>
<element name="QueryRequest">
<complexType>
<sequence>
<element name="id" type="double"/>
</sequence>
</complexType>
</element>
<element name="QueryResponse">
<complexType>
<sequence>
<element name="return" type="tns:ArrayOfPersonalData"/>
</sequence>
</complexType>
</element>
<complexType name="PersonalData">
<sequence>
<element name="name" type="string"/>
<element name="age" type="int"/>
<element name="salary" type="double"/>
</sequence>
</complexType>
<complexType name="ArrayOfPersonalData">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="Item" type="tns:PersonalData"/>
</sequence>
</complexType>
</schema>
</types>
<message name="PrintRequestMessage">
<part name="PrintRequest" element="tns:PrintRequest"/>
</message>
<message name="PrintResponseMessage">
<part name="PrintResponse" element="tns:PrintResponse"/>
</message>
<message name="QueryRequestMessage">
<part name="QueryRequest" element="tns:QueryRequest"/>
</message>
<message name="QueryResponseMessage">
<part name="QueryResponse" element="tns:QueryResponse"/>
</message>
<portType name="PersonalDataInterface">
<operation name="Print">
<input name="PrintRequestMessage" message="tns:PrintRequestMessage"/>
<output name="PrintResponseMessage" message="tns:PrintResponseMessage"/>
</operation>
<operation name="Query">
<input name="QueryRequestMessage" message="tns:QueryRequestMessage"/>
<output name="QueryResponseMessage" message="tns:QueryResponseMessage"/>
</operation>
</portType>
<binding name="PersonalDataIntfBinding" type="tns:PersonalDataInterface">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="Print">
<soap:operation/>
<input> <soap:body use="literal"/> </input>
<output> <soap:body use="literal"/> </output>
</operation>
<operation name="Query">
<soap:operation/>
<input> <soap:body use="literal"/> </input>
<output> <soap:body use="literal"/> </output>
</operation>
</binding>
<service name="PersonalDataService">
<port name="PersonalDataInterface" binding="tns:PersonalDataIntfBinding">
<soap:address location="http://localhost:7001/simpleexample/PersonalDataInterface"/>
</port>
</service>
</definitions>
Exception is coming on following line (forgot
to paste in first post)
Object result = call.invoke(new Object[] { "Shakeel", new Integer (30), new Double(2000) });
Similar Messages
-
Implementing web service Client? need help
hi,
i need to develop a funciton in java that takes WSDL address as a input. and using the web service address, start the web service programmatically from that function. the web service could be any.
i need help and suggestion what to do in the area, how can i start this, as i am a new bie.
thanks
FarurkhI got the following error.
But If I call it from a jsp page or a servlet. Nothing happend, Transaction is successful.
java.lang.NullPointerException
at org.apache.commons.discovery.resource.ClassLoaders.getAppLoaders(ClassLoaders.java:206)
at org.apache.axis.AxisProperties.getClassLoaders(AxisProperties.java:118)
at org.apache.axis.AxisProperties.getNameDiscoverer(AxisProperties.java:105)
at org.apache.axis.AxisProperties.getResourceClassIterator(AxisProperties.java:112)
at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:116)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113)
at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160)
at org.apache.axis.client.Service.getEngineConfiguration(Service.java:813)
at org.apache.axis.client.Service.getAxisClient(Service.java:104)
at org.apache.axis.client.Service.<init>(Service.java:113)
at org.tempuri.wsdl.EFSnet2Locator.<init>(EFSnet2Locator.java:10)
at com.ipharmacy.payment.Payment.main(Payment.java:12) -
BeanUtils.populate exception (Need Help)
Dear All,
Am getting a strange exception when try to do a action in struts, below is my exception, please help me in solving this issue.
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1190)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
root cause
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
java.security.AccessController.checkPermission(AccessController.java:427)
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1662)
java.lang.Class.checkMemberAccess(Class.java:2125)
java.lang.Class.getDeclaredMethods(Class.java:1762)
org.apache.commons.beanutils.MappedPropertyDescriptor$1.run(MappedPropertyDescriptor.java:386)
java.security.AccessController.doPrivileged(Native Method)
org.apache.commons.beanutils.MappedPropertyDescriptor.getPublicDeclaredMethods(MappedPropertyDescriptor.java:383)
org.apache.commons.beanutils.MappedPropertyDescriptor.internalFindMethod(MappedPropertyDescriptor.java:453)
org.apache.commons.beanutils.MappedPropertyDescriptor.findMethod(MappedPropertyDescriptor.java:527)
org.apache.commons.beanutils.MappedPropertyDescriptor.<init>(MappedPropertyDescriptor.java:149)
org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.java:865)
org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:991)
org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:865)
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:343)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1188)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:524)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.27 logs.Thanks in advance,
vyrav.Thanks for ur reply Ganesh.
This is my JSP
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Uploaded File Details</title>
<script>
function logOut()
document.adminForm.action="upload.do?parameter=logout";
document.adminForm.submit();
function download(temp)
document.adminForm.fileId.value = temp;
document.adminForm.action="download.do";
document.adminForm.submit();
</script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<table align="right">
<tr>
<td>
<a href="javascript:logOut();">Logout</a>
</td>
</tr>
</table>
<%
if(session.getAttribute("name")!=null)
String userName= (String) session.getAttribute("name");
%>
<br /><br /><b>Welcome <%=userName%></b><br />
<%
%>
<center>
<html:form action="/download.do" name="adminForm" type="com.roots.AdminForm">
<br /><br />
<html:hidden property="fileId"/>
<table align="center" border="1">
<tr bgcolor="#FFCC66">
<td align="center">
No
</td>
<td align="center">
Name
</td>
<td align="center">
Uploaded Date
</td>
<td align="center">
File Name
</td>
</tr>
<logic:iterate name="adminForm" property="displayList" id="displayDto">
<tr>
<td align="center">
<bean:write name="displayDto" property="serialNo"/>
</td>
<td align="left">
<bean:write name="displayDto" property="empName"/>
</td>
<td align="left">
<bean:write name="displayDto" property="uploadedDate"/>
</td>
<td align="left">
<a href="javascript:download('<bean:write name="displayDto" property="serialNo"/>');"><bean:write name="displayDto" property="fileName"/></a>
</td>
</tr>
</logic:iterate>
</table>
</html:form>
</center>
</body>
</html:html>This is my struts config
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
<struts-config>
<data-sources>
</data-sources>
<form-beans>
<form-bean name="loginForm" type="com.roots.LoginForm" />
<form-bean name="uploadForm" type="com.roots.UploadForm" />
<form-bean name="adminForm" type="com.roots.AdminForm" />
</form-beans>
<global-forwards></global-forwards>
<action-mappings>
<action path="/login"
name="loginForm"
scope="request"
validate="true"
input="/login.jsp"
type="com.roots.LoginAction" >
<forward name="SUCCESS" path="/upload.jsp" />
<forward name="FAILURE" path="/login.jsp" />
<forward name="ADMIN" path="/admin.do" />
</action>
<action path="/upload"
name="uploadForm"
scope="request"
parameter="parameter"
input="/upload.jsp"
type="com.roots.UploadAction" >
<forward name="SUCCESS" path="/upload.jsp" />
<forward name="FAILURE" path="/login.jsp" />
</action>
<action path="/download"
type="com.roots.FileDownloadAction">
</action>
<action path="/admin"
name="adminForm"
scope="request"
validate="false"
type="com.roots.AdminAction" >
<forward name="DISPLAY" path="/admin.jsp" />
<forward name="FAILURE" path="/login.jsp" />
</action>
</action-mappings>
<message-resources parameter="application_fr"/>
<message-resources parameter="application_es"/>
<message-resources parameter="application_en"/>
<message-resources parameter="application_de"/>
<message-resources parameter="application" />
</struts-config>this is my form package com.roots;
import java.util.List;
import org.apache.struts.action.ActionForm;
public class AdminForm extends ActionForm {
private List displayList = null;
public String fileId;
public String getFileId() {
return fileId;
public void setFileId(String fileId) {
this.fileId = fileId;
public List getDisplayList() {
return displayList;
public void setDisplayList(List displayList) {
this.displayList = displayList;
}Please let me know wat am doing wrong, this is killing me for the last two days.
Thanks,
vyrav. -
SAXParser Exception - NEED HELP IT'S URGENT
Hi, I'm stuck in this, I have this program that works running a script called runPatito.sh
but everytime I run it it throws me the following error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: Parser has reached the entity expansion limit "64,000" set by the Application.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: Parser has reached the entity expansion limit "64,000" set by the Application.
faultActor:
faultNode:
faultDetail:
org.xml.sax.SAXParseException: Parser has reached the entity expansion limit "64,000" set by the Application.
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:251)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:168)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
Now , I've been searching and actually I found that I need to increase the system property "EntityExpansionLimit" but unfortunately I haven't been able to do it...
I found that I need to run my program with java -DentityExpansionLimit=1000000 and "everything else" as it says in all the forums...
The script that I'm using have this:
#!/bin/sh
java -cp patitoApp-patito-client com.patitoC.patito.PatitoClient cold.xml hot.xml
My problem here is I don't know where to add that line (-DentityExpansionLimit=1000000) in order for this to work properly.
I would appreciate some help here...Hi before explainig other things I wanted to thank you all for replying this post and for trying to help me...
There are two scripts involved in the proccess, one is the server and one is the client, both of them are running with the modification suggested, but it does not make any difference...
I still have the exception of the SAXParser with the 64,000
I even modified the classes because I'm using DocumentBuildFactory and I put the entityExpansionLimit as a property of the object created as I found it...
Here's the code of those lines:
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setAttribute("http://apache.org/xml/properties/entity-expansion-limit",new Integer("1000000"));
factory.setAttribute("http://apache.org/xml/properties/elementAttributeLimit",new Integer(20));
I think I need some more help regarding this problem... -
Unreported exception--Need Help
I can't understand why is this not working:
import java.util.Properties;
import javax.mail.*;
import javax.mail.internet.*;
public class Slanje {
public void infos(String host,String from,String to,String subject,String messagetext){
/*String host="";
String from="";
String to="";*/
// Get system properties
Properties props = System.getProperties();
// Setup mail server
props.put("mail.smtp.host", host);
// Get session
Session session = Session.getDefaultInstance(props, null);
// Define message
MimeMessage message = new MimeMessage(session);
// Set the from address
message.setFrom(new InternetAddress(from));
// Set the to address
message.addRecipient(Message.RecipientType.TO,
new InternetAddress(to));
// Set the subject
message.setSubject(subject);
// Set the content
message.setText(messagetext);
// Send message
Transport.send(message);
I'm making email client and want to make methods to be called when wanting to make message to be sendI presume you're getting a compiler error regarding the unreported exception, right? That means you need to put your method calls that throw exceptions in a try/catch block. For example, props.put() throws NullPointerException, so you need a catch statement for that. The other method calls may have similar needs.
Steve -
Help with loading dynamic classes ..need help please
i'm trying to design a program where by i can load dynamic classes
the problem i'm getting is that only one class is loading.
classes are loaded by their names,and index numbers of public methods from a linklist
.When the program runs only the first class is ever loaded and only the methods of that class ..
help please
//class loader
import java.lang.reflect.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.table.*;
public class Test2 extends Thread
public Class c;
public Class Ray;
public Class[] x;
public static Object object = null;
public Method[] theMethods;
public static Method[] method,usemethod;
public int methodcount;
public static int MethodCt;
public static JList list;
public Method[] startClass(String SetMethodName)
try
c = Class.forName(SetMethodName);
object = c.newInstance();
theMethods = c.getDeclaredMethods();
// number of methods
//methodcount = theMethods.length;
catch (Exception e)
e.printStackTrace();
// return the array then invoke the particular method later
return theMethods ;
public void RunMethod(Method[] SomeMethod, int methodcount)
try
SomeMethod[methodcount].invoke( object,null );
catch (Exception e)
e.printStackTrace();
// end class loader
//main calling program
import java.awt.*;
import java.awt.event.*;
import javax.swing .*;
import java.lang.reflect.*;
public class JFMenu extends JFrame
public static JMenu pluginMenu;
public static JMenuBar bar;
public static final Test2 w = new Test2();
public static Method[] setmethod;
private static ClassLinkList startRef = null;
private static ClassLinkList linkRef3 = null;
private static ClassLinkList startRef2 = null;
private String ClassName,ShortCut;
private int MethodNumber;
private JMenuItem PluginItem;
JFMenu()
super (" JFluro ");
JMenu fileMenu = new JMenu("File");
fileMenu.setMnemonic('F');
JMenuItem exitItem = new JMenuItem("Exit");
exitItem.setMnemonic('X');
fileMenu.add(exitItem);
exitItem.addActionListener
new ActionListener()
public void actionPerformed(ActionEvent event )
System.exit(0);
JMenu pluginMenu = new JMenu("Plugins");
pluginMenu.setMnemonic('P');
startRef = new ClassLinkList ("Hello","Hello ",2,1926,"Painter");
addToList("Foo","Foo ",0,1930,"Author");
while (startRef.linkRef5 != null)
//pluginMenu.addSeparator();
ClassName = startRef.linkRef5.className;
ShortCut = startRef.linkRef5.shortcutName;
MethodNumber = startRef.linkRef5.methodNumber;
AddMenuItem(pluginMenu,ShortCut,ClassName,MethodNumber);
startRef.linkRef5 = startRef.linkRef5.next;
// create menu bar and add JFMenu window to it
JMenuBar bar = new JMenuBar();
setJMenuBar(bar);
bar.add(fileMenu);
bar.add(pluginMenu);
//attributes for JFMenu frame
setSize(500,200);
setVisible(true);
}// end JFMenu constructor
public void AddMenuItem(JMenu MainMenu, String shortcut,String className, final int methodCount )
if (MainMenu==null)
return;
//JMenuItem item;
JMenuItem item = new JMenuItem(shortcut);
MainMenu.add(item);
setmethod = w.startClass(className);
item.addActionListener
new ActionListener()
public void actionPerformed(ActionEvent event )
w.RunMethod(setmethod,methodCount);
//item.addActionListener(ij);
public JMenuItem AddMenuItem2(JMenu MainMenu, String shortcut)
//if (MainMenu==null)
// return Main;
//JMenuItem item;
JMenuItem item = new JMenuItem(shortcut);
MainMenu.add(item);
//setmethod = w.startClass(className);
//item.addActionListener(this);
new ActionListener()
public void actionPerformed(ActionEvent event )
w.RunMethod(setmethod,methodCount);
//item.addActionListener(ij);
return item;
public void ReloadMenu(JMenuBar Bar, JMenu PluginMenu)
if (Bar==null)
return;
// setJMenuBar(Bar);
Bar.add(PluginMenu);
//item.addActionListener(ij);
public static void main (String args[])
JFMenu menapp = new JFMenu();
public static void addToList(String clname, String shcutname, int metnumber, int year2,
String description) {
// Create instance of class ClassLinkList
ClassLinkList newRef = new ClassLinkList(clname,shcutname,metnumber,year2,
description);
// Add to linked list;
startRef = startRef.addRecordToLinkedList(newRef);
// end main calling program
class Hello extends Thread
public int getNum()
System.out.println("I can be ");
return 5;
public void rayshowName()
System.out.println("anything i want ");
public void rayshowName3()
System.out.println("to be ");
class Foo extends Thread
public int getNum()
System.out.println("IMHOFF");
return 5;
public void rayshowName()
System.out.println("raYMOND");
// FAMOUS PERSONS LINKED LIST EXAMPLE
// Frans Coenen
// Saturday 15 January 2000
// Depaertment of Computer Science, University of Liverpool
class ClassLinkList {
/* FIELDS */
public String className;
public String shortcutName;
public int methodNumber;
public int yearOfDeath;
public String occupation;
public ClassLinkList next = null;
public ClassLinkList linkRef5 = this;
public ClassLinkList startRef = null;
/* CONSTRUCTORS */
/* FamousPerson constructor */
public ClassLinkList(String classname, String shortcutname, int methodnumber, int year2,
String description) {
className = classname;
shortcutName = shortcutname;
methodNumber = methodnumber;
yearOfDeath = year2;
occupation = description;
next = null;
/* METHODS */
/* Output famous person linked list */
public void outputClassLinkedList()
//public ClassLinkList outputClassLinkedList() {
ClassLinkList linkRef = this;
// Loop through linked list till end outputting each record in turn
while (linkRef != null)
//System.out.println(linkRef5);
System.out.println(linkRef.className + ", " + linkRef.shortcutName +
" (" + linkRef.methodNumber + "-" + linkRef.methodNumber +
"): " + linkRef.occupation);
linkRef = linkRef.next;
//return linkRef;
//public String ShowCasname()
//return String ;
/* Add a new record to the linked list */
public ClassLinkList addRecordToLinkedList(ClassLinkList newRef) {
ClassLinkList tempRef, linkRef;
// Test if new person is to be added to start of list if so return
if (newRef.testRecord(this) ) {
newRef.next = this;
return(newRef);
// Loop through remainder of linked list
tempRef = this;
linkRef = this.next;
while (linkRef != null) {
if (newRef.testRecord(linkRef)) {
tempRef.next = newRef;
newRef.next = linkRef;
return(this);
tempRef = linkRef;
linkRef = linkRef.next;
// Add to end
tempRef.next = newRef;
return(this);
/* Delete a record from the linked list given the first and last name. Four
posibilities:
1) Record to be deleted is at front of list
2) Record to be deleted is at end of list
3) Record to be deleted is in middle of list
4) Record not found. */
public ClassLinkList deleteRecord(String lName, String fName) {
ClassLinkList tempRef, linkRef;
// Record at start of list
if ((this.className == lName) & (this.shortcutName == fName))
return(this.next);
// Loop through linked list to discover if record is in middle of list.
tempRef = this;
linkRef = this.next;
while (linkRef != null) {
if ((linkRef.className == lName) & (linkRef.shortcutName == fName)) {
tempRef.next = linkRef.next;
return(this);
tempRef = linkRef;
linkRef = linkRef.next;
// Record at end of list, or not found
if ((linkRef.className == lName) & (linkRef.shortcutName == fName))
linkRef = null;
else System.out.println("Record: " + lName + " " + fName + " not found!");
return(this);
/* TEST METHODS */
/* Test whether new record comes before existing record or not. If so return
true, false otherwise. */
private boolean testRecord(ClassLinkList existingRef) {
int testResult = className.compareTo(existingRef.className);
if (testResult < 0) return(true);
else {
if ((testResult == 0) & (shortcutName.compareTo(existingRef.shortcutName) < 0 ))
return(true);
// Return false
return(false);
public void addToList(String clname, String shcutname, int metnumber, int year2,
String description)
// Create instance of class Famous Person
ClassLinkList newRef = new ClassLinkList(clname,shcutname,metnumber,year2,
description);
// Add to linked list;
startRef = startRef.addRecordToLinkedList(newRef);I have a similar problem. I am writing a program to read the class names from database and instantiate several classes which extends from ServiceThread (an abstract class extending from Thread).
rs = pStmt.executeQuery();
while(rs.next()) {
String threadclassname = rs.getString("classname").trim();
try{
ServiceThread threadinstance = (ServiceThread)Class.forName(threadclassname).newInstance();
}catch ...
So far, only the first class is ever instantiated and runs fine. But subsequent classes do not even get pass the "... ... Class.forName(...).newInstance();" line.
Funny thing is that there are also no exceptions. The JVM just seem to hang there. -
Degree in Dynamic memory allocation need help!
I'm a student in the University of Bucharest in Computer-Science in the senior year. I'm looking for some specs for my degree in Dynamic memory allocation. In particular I was looking for specs about how the JVM heap and garbage collector work. Can you please direct me to someone how can help me find the necessary specs?
Thank you.[http://java.sun.com/javase/technologies/hotspot/]
~ -
Out OF Bounds Exception need help
I am trying to learn how to catch exceptions. I can not see what I am doing wrong. Can someone show me and explain what I am doing wrong. I am taking in Military Time and will convert it to a 12 hour clock. I am testing it as I go so I have not finished adding code. The bad code is marked with // <== StringIndexOutOfBoundsException. Thank You in advance for the help.
public class TimeFormat
public TimeFormat()
public static void main(String[] args)
double amtt;
char ans = 'n';
String time1 = "00:00";
String min1 = " ";
int hh = 0;
int mm = 0;
String dd = " ";
System.out.println("This program will convert 24 hour time into 12 hour time");
do
try
System.out.println("Enter a time in military format: (ex. 14:00)");
time1 = SavitchIn.readLine();
hh = Integer.parseInt(time1.substring( 0, 2));
String amPm = "PM";
if (hh <= 12)
amPm = "AM";
dd = time1.substring( 2, 1); // <== StringIndexOutOfBoundsException
mm = Integer.parseInt(time1.substring( 3, 2));
int t1 = Integer.parseInt(time1);
min1 = time1.substring(3, 3);
if (t1 < 0 || t1 > 2459)
throw new Exception ("Exception: Bad Input, must be between 0 and 2459");
catch(Exception e)
System.out.println("e.getMessage()");
System.out.println("Time must be between 0 and 2499");
System.out.println("\n\nWould you like to do it again? (y/n) : ");
ans= SavitchIn.readLineNonwhiteChar();
}while ((ans == 'y') || (ans == 'y'));import java.awt.*;
import java.io.*;
import java.text.*;
public class texas {
int hours, minutes;
String AM_PM = " am";
public texas() {
try {
BufferedReader br = new BufferedReader(
new InputStreamReader( System.in ));
System.out.print("\nEnter a 24-hour time (\"##:##\"): ");
System.out.flush();
String s = br.readLine();
if(s.indexOf(":") == -1) {
System.out.println("Invalid entry - separate hours " +
"and minutes with \":\"");
return;
String[] sarray = s.split(":");
hours = Integer.parseInt(sarray[0]);
minutes = Integer.parseInt(sarray[1]);
} catch(IOException ioe) {
System.out.println(ioe.toString());
return;
} catch(NumberFormatException nfe) {
System.out.println(nfe.toString());
return;
} catch(ArrayIndexOutOfBoundsException aioobe) {
System.out.println(aioobe.toString());
return;
if(hours < 0 || hours > 24) {
System.out.println("Invalid input - hours must be between 0 and 24");
return;
if(minutes < 0 || minutes > 59) {
System.out.println("Invalid input - minutes must be between 0 and 59");
return;
if(hours > 12) {
hours -= 12;
AM_PM = " pm";
if(hours == 12 && minutes >= 0)
AM_PM = " pm";
String minutes12 = String.valueOf(minutes);
if(minutes12.length() < 2)
minutes12 = "0" + minutes12;
String time = String.valueOf(hours) + ":" + minutes12 + AM_PM;
System.out.println("12-hour time is: " + time);
public static void main(String[] args) {
new texas();
} -
Unexpected exception:need help
hi everyone,
i want to make a one way communication between applet and servlet.morever trying to send an array of string along the path stated and for that accomplishment i got stuck around the following code at client and server side.
when i run the code, having the following exception at server side
*java.io.EOFException*:
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2748)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
at RegistrationData.recieve_data(RegistrationData.java:57)
at RegistrationData.processRequest(RegistrationData.java:33)
at RegistrationData.doGet(RegistrationData.java:78)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
at client side(applet)
String[] data ={"hello","how","right"};
String strwp ="/UASProject/RegistrationData";
URL jspURL = new URL(getCodeBase(),strwp);
System.out.println(jspURL);
URLConnection jspCon = jspURL.openConnection();
jspCon.setUseCaches(false);
jspCon.setDoOutput(true);
jspCon.setDoInput(false);
jspCon.setDefaultUseCaches(false);
jspCon.setRequestProperty("Content-Type", "application/x-java-serialized-object");
BufferedOutputStream bos=new BufferedOutputStream( jspCon.getOutputStream());
ObjectOutputStream oboutStream = new ObjectOutputStream(bos);
oboutStream.writeObject(data);
oboutStream.flush();
bos.close();
oboutStream.close();
getAppletContext().showDocument(jspURL,"_self");
}catch(Exception e)
{System.out.println(e);}and this is at server side(servlet)
BufferedInputStream bis=new BufferedInputStream( request.getInputStream());
ObjectInputStream inputFromjsp = new ObjectInputStream(bis);
reg_data = (String[])inputFromjsp.readObject();
out.println(reg_data[1]);
bis.close();
inputFromjsp.close(); one more point for ur sake of nailing my problem,
exception is being thrown at this line, and there is no any error at sun java console
ObjectInputStream inputFromjsp = new ObjectInputStream(bis); please let me out of this headacheDouble post http://forum.java.sun.com/thread.jspa?threadID=5235999&tstart=0
-
Hi
I have a simple BPEL process to test the exception handling. It basically consists of a Invoke to call a EJB and a catchAll around the invoke. If there is an exception due to the Target EJB not available , the catchAll catches the exception, but if there is a runtime exception thrown in the EJB such as a NullPointerException, the catchAll does not capture it and also i'm not able to even access the instance, the instance itself vanishes. I have included the detailed log below..
can some one shed some light on this..?
Thanks in advance
Sam
The log contains activities of creating a new instance from Dashboard and click on the 'Flow' in console
>>>> Log Start >>>>
<2005-02-04 10:24:08,953> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnecti
on> GOT CONNECTION 1
<2005-02-04 10:24:08,953> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnec
tion> CLOSE CONNECTION 0
<2005-02-04 10:24:08,953> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnecti
on> GOT CONNECTION 1
<2005-02-04 10:24:08,953> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnec
tion> CLOSE CONNECTION 0
<2005-02-04 10:24:08,968> <DEBUG> <default.collaxa.cube.xml> <WSDLSchemaUtil::getInputParameters> In
put parameter name payload parameter type {http://acm.org/samples}EHT1Request
<2005-02-04 10:24:09,046> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnecti
on> GOT TX CONNECTION 1
<2005-02-04 10:24:09,062> <DEBUG> <default.collaxa.cube.engine.data> <BaseDeliveryPersistenceAdaptor
::storeInvoke> Compressed message bytes from 850 to 381
<2005-02-04 10:24:09,062> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnec
tion> CLOSE TX CONNECTION 0
<2005-02-04 10:24:09,109> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::insert> Receiv
ed batch message, 1 messages [invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb]
<2005-02-04 10:24:09,109> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive>
Receiving message [invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb] for set invok
e
<2005-02-04 10:24:09,109> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive>
Receiving message [] for set engine
<2005-02-04 10:24:09,109> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::receive> Alloc
ating new thread; pending threads: 1, active threads: 0, total: 0
<2005-02-04 10:24:09,171> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatcherBean::init> Done
initializing dispatcher queue 'java:comp/env/jms/collaxa/BPELWorkerQueue'
<2005-02-04 10:24:09,187> <DEBUG> <default.collaxa.cube.engine.dispatch> <InvokeDispatchSet::fetchSc
heduled> Fetched message invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb from inv
oke queue for processing
<2005-02-04 10:24:09,234> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatcherBean::send> Sent
message to queue java:comp/env/jms/collaxa/BPELWorkerQueue
<2005-02-04 10:24:09,234> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::insert> Receiv
ed batch message, 0 messages []
<2005-02-04 10:24:09,250> <DEBUG> <default.collaxa.cube.engine.dispatch> <InvokeInstanceMessageHandl
er::handle> Processing invoke instance message for domain default
<2005-02-04 10:24:09,250> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnecti
on> GOT TX CONNECTION 1
<2005-02-04 10:24:09,250> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive>
Receiving message [] for set invoke
<2005-02-04 10:24:09,250> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive>
Receiving message [] for set engine
<2005-02-04 10:24:09,250> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::receive> Alloc
ating new thread; pending threads: 1, active threads: 1, total: 1
<2005-02-04 10:24:09,250> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatcherBean::send> Sent
message to queue java:comp/env/jms/collaxa/BPELWorkerQueue
<2005-02-04 10:24:09,250> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive>
Receiving message remove dispatcher bean message aacf889e30f5e83a:125e791:101ddf7208b:-7ffa for set
system
<2005-02-04 10:24:09,250> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::receive> Alloc
ating new thread; pending threads: 1, active threads: 1, total: 2
<2005-02-04 10:24:09,265> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatcherBean::send> Sent
message to queue java:comp/env/jms/collaxa/BPELWorkerQueue
<2005-02-04 10:24:09,281> <DEBUG> <default.collaxa.cube.engine.dispatch> <SystemDispatchSet::fetchSc
heduled> Fetched message remove dispatcher bean message aacf889e30f5e83a:125e791:101ddf7208b:-7ffa f
rom system queue for processing
<2005-02-04 10:24:09,281> <DEBUG> <default.collaxa.cube.engine.dispatch> <RemoveMessageHandler::hand
le> Processing remove message for ticket aacf889e30f5e83a:125e791:101ddf7208b:-7ffa
<2005-02-04 10:24:09,281> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::acknowled
ge> Acknowledged message remove dispatcher bean message aacf889e30f5e83a:125e791:101ddf7208b:-7ffa
<2005-02-04 10:24:09,296> <DEBUG> <default.collaxa.cube.engine.data> <BaseInvokeHandler::load> Loade
d message bytes, compressed 381 , uncompressed 850
<2005-02-04 10:24:09,312> <DEBUG> <default.collaxa.cube.engine.delivery> <InvokeCache::remove> Remov
ing cache entry for message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb
<2005-02-04 10:24:09,375> <DEBUG> <default.collaxa.cube.xml> <DOMElement__CXPM::__create> Creating n
ormal element EHT1Request, state=0
<2005-02-04 10:24:09,375> <DEBUG> <default.collaxa.cube.xml> <DomSerializerUtil::loadElement> Loaded
element EHT1Request size=238
<2005-02-04 10:24:09,390> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnecti
on> GOT TX CONNECTION 2
<2005-02-04 10:24:09,390> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnec
tion> CLOSE TX CONNECTION 1
<2005-02-04 10:24:09,421> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::createInstance> Created
cube instance '2701' from process 'EHT1' (revision '1.0')
<2005-02-04 10:24:09,500> <DEBUG> <default.collaxa.cube.engine> <MethodCubeBlock::activate> Create m
ethod scope 'BpPrc0.1' in block 'BpPrc0'
<2005-02-04 10:24:09,500> <DEBUG> <default.collaxa.cube.engine> <MethodCubeBlock::activate> Method n
ame:processTransaction type: not-supported
<2005-02-04 10:24:09,515> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::invokeMethod> Invoking
method 'initiate' on cube instance '2701'
<2005-02-04 10:24:09,515> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Managing s
cope 'BpPrc0.1' on cube instance '2701'
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te block 'BpTry0' with scope 'BpPrc0.1'
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<scope> at line [no line]
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<scope> at line [no line]
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine> <BaseCubeBlock::activate> Create sco
pe 'BpTry0.2' in block 'BpTry0'
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te block 'BpSeq0' with scope 'BpTry0.2'
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<sequence> at line 35
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<sequence> at line 35
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key main
<2005-02-04 10:24:09,531> <DEBUG> <default.collaxa.cube.engine> <BaseCubeBlock::activate> Create sco
pe 'BpSeq0.3' in block 'BpSeq0'
<2005-02-04 10:24:09,546> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te node 'BpRcv0' with scope 'BpSeq0.3'
<2005-02-04 10:24:09,546> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Scheduling
workitem 2701-BpRcv0-BpSeq0.3-1 to be performed
<2005-02-04 10:24:09,546> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Done manag
ing scope 'BpPrc0.1'
<2005-02-04 10:24:09,546> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatchHelper::sendMemory
> Dispatching in-memory request, [workitem perform message 2701-BpRcv0-BpSeq0.3-1]
<2005-02-04 10:24:09,546> <DEBUG> <default.collaxa.cube.engine.dispatch> <PerformMessageHandler::han
dleLocal> Processing workitem perform message 2701-BpRcv0-BpSeq0.3-1 for domain default
<2005-02-04 10:24:09,562> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::handleWorkItem> Attempt
ing to handle workitem 2701-BpRcv0-BpSeq0.3-1 with transition 0
<2005-02-04 10:24:09,562> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Perfor
ming workitem '2701-BpRcv0-BpSeq0.3-1'
<2005-02-04 10:24:09,562> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key receiveInput
<2005-02-04 10:24:09,562> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELEntryReceiveWMP::EHT1> exe
cuting <receive> at line 39
<2005-02-04 10:24:09,562> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELEntryReceiveWMP::EHT1> set
variable 'input' to be readOnly.
<2005-02-04 10:24:09,562> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key input
<2005-02-04 10:24:09,578> <DEBUG> <default.collaxa.cube.xml> <DOMElement::toXML> Converting to XML E
HT1Request, state= 3
<2005-02-04 10:24:09,578> <DEBUG> <default.collaxa.cube.xml> <DOMElement__CXPM::__toXML> Converting
element input to xml, state=0
<2005-02-04 10:24:09,578> <DEBUG> <default.collaxa.cube.xml> <DOMElement__CXPM::__toXML> Converting
element input uri http://acm.org/samples to xml
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key receiveInput
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Is per
former 2701-BpRcv0-BpSeq0.3-1 idempotent? true
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::checkBlockConditions> W
orkitem '2701-BpRcv0-BpSeq0.3-1' has been marked as complete
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::finalizeActivity> Attem
pting to finalize workitem '2701-BpRcv0-BpSeq0.3-1'
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::checkManageScope> Found
highest dirty scope 'BpPrc0.1'
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Managing s
cope 'BpPrc0.1' on cube instance '2701'
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te block 'BpScp0' with scope 'BpSeq0.3'
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<scope> at line 44
<2005-02-04 10:24:09,593> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key scope-1
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine> <BaseCubeBlock::activate> Create sco
pe 'BpScp0.4' in block 'BpScp0'
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te block 'BpTry1' with scope 'BpScp0.4'
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<scope> at line [no line]
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<scope> at line [no line]
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine> <BaseCubeBlock::activate> Create sco
pe 'BpTry1.5' in block 'BpTry1'
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te block 'BpSeq1' with scope 'BpTry1.5'
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<sequence> at line 52
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<sequence> at line 52
<2005-02-04 10:24:09,609> <DEBUG> <default.collaxa.cube.engine> <BaseCubeBlock::activate> Create sco
pe 'BpSeq1.6' in block 'BpSeq1'
<2005-02-04 10:24:09,625> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te node 'BpAss0' with scope 'BpSeq1.6'
<2005-02-04 10:24:09,625> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Scheduling
workitem 2701-BpAss0-BpSeq1.6-1 to be performed
<2005-02-04 10:24:09,625> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Done manag
ing scope 'BpPrc0.1'
<2005-02-04 10:24:09,625> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Done p
erforming workitem '2701-BpRcv0-BpSeq0.3-1'
<2005-02-04 10:24:09,625> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::handleWorkItem> Done ha
ndling workitem 2701-BpRcv0-BpSeq0.3-1
<2005-02-04 10:24:09,625> <DEBUG> <default.collaxa.cube.engine.dispatch> <PerformMessageHandler::han
dleLocal> Processing workitem perform message 2701-BpAss0-BpSeq1.6-1 for domain default
<2005-02-04 10:24:09,640> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::handleWorkItem> Attempt
ing to handle workitem 2701-BpAss0-BpSeq1.6-1 with transition 0
<2005-02-04 10:24:09,640> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Perfor
ming workitem '2701-BpAss0-BpSeq1.6-1'
<2005-02-04 10:24:09,640> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key initIS
<2005-02-04 10:24:09,640> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELAssignWMP::EHT1> executing
<copy> at line 52
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.xml> <XPathUtil::initXPath> namespaceMapping
is: {bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/, tns=http://acm.org/samples, xsd=
http://www.w3.org/2001/XMLSchema, bpelx=http://schemas.oracle.com/bpel/extension, ora=http://schemas
.oracle.com/xpath/extension, nsxml0=http://www.emergingaspects.com/service/EXHT}
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.xml> <XPathUtil::evaluate> XPathQuery[string
("NOT OK")], XPath Result: class=java.lang.String value=NOT OK
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine.data> <PersistenceManager::copy( Obje
ct )> copying %jS
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key invokeStatus
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key initIS
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Is per
former 2701-BpAss0-BpSeq1.6-1 idempotent? true
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::checkBlockConditions> W
orkitem '2701-BpAss0-BpSeq1.6-1' has been marked as complete
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::finalizeActivity> Attem
pting to finalize workitem '2701-BpAss0-BpSeq1.6-1'
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::checkManageScope> Found
highest dirty scope 'BpPrc0.1'
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Managing s
cope 'BpPrc0.1' on cube instance '2701'
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te node 'BpInv0' with scope 'BpSeq1.6'
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Scheduling
workitem 2701-BpInv0-BpSeq1.6-2 to be performed
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Done manag
ing scope 'BpPrc0.1'
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Done p
erforming workitem '2701-BpAss0-BpSeq1.6-1'
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::handleWorkItem> Done ha
ndling workitem 2701-BpAss0-BpSeq1.6-1
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine.dispatch> <PerformMessageHandler::han
dleLocal> Processing workitem perform message 2701-BpInv0-BpSeq1.6-2 for domain default
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::handleWorkItem> Attempt
ing to handle workitem 2701-BpInv0-BpSeq1.6-2 with transition 0
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Perfor
ming workitem '2701-BpInv0-BpSeq1.6-2'
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key invokeEHTS
<2005-02-04 10:24:09,671> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELInvokeWMP::EHT1> executing
<invoke> at line 57
<2005-02-04 10:24:09,703> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> operation:
doExceptionHandlingTest
<2005-02-04 10:24:09,703> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> inputConta
iner: {payload=<payload xmlns="http://www.emergingaspects.com/service/EXHT"/>}
<2005-02-04 10:24:09,703> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> callProps:
{is-initial-call=true, parentId=2701, syncPersistMode=null, process-id=EHT1, rootId=2701, conversat
ionId=bpel://localhost/default/EHT1~1.0/2701-BpInv0-BpSeq1.6-2, location=null, priority=3, work-item
-key=2701-BpInv0-BpSeq1.6-2, domain-id=default, revision-tag=1.0}
<2005-02-04 10:24:09,718> <DEBUG> <default.collaxa.cube.ws> <WSDLManager::getWSDL> registered wsdl a
t http://sampc:9700/orabpel/default/EHT1/ExceptionHandlingTestService.wsdl
<2005-02-04 10:24:09,718> <DEBUG> <default.collaxa.cube.ws> <WSDLManager::getWSDL> got wsdl at: http
://sampc:9700/orabpel/default/EHT1/ExceptionHandlingTestService.wsdl
<2005-02-04 10:24:09,718> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> def is htt
p://sampc:9700/orabpel/default/EHT1/ExceptionHandlingTestService.wsdl
<2005-02-04 10:24:09,718> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> opName=d
oExceptionHandlingTestportTypeQn={http://www.emergingaspects.com/service/EXHT}EXHTServiceserviceQn={
http://www.emergingaspects.com/service/EXHT}EXHTService
<2005-02-04 10:24:09,859> <DEBUG> <default.collaxa.cube.xml> <DOMSerializerUtil::binaryDeepCopy> Beg
in binary deep copy for payload
<2005-02-04 10:24:09,859> <DEBUG> <default.collaxa.cube.xml> <DOMElement__CXPM::__deepCopy> Deep cop
ying payload, uri=http://www.emergingaspects.com/service/EXHT, state=0
<2005-02-04 10:24:09,890> <DEBUG> <default.collaxa.cube.xml> <DOMElement__CXPM::__create> Creating n
ormal element payload, state=0
<2005-02-04 10:24:09,890> <DEBUG> <default.collaxa.cube.xml> <DOMSerializerUtil::binaryDeepCopy> Don
e binary deep copy for payload
WSIF0005E: An error occurred when invoking the method 'doExceptionHandlingTest'. ('EJB')
<2005-02-04 10:24:09,953> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> Fault ha
ppenned
javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NullPointerException
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
onHandlingTestEJBBean.java:28)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
nown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
; nested exception is:
java.lang.NullPointerException
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_812_WLStub.doExce
ptionHandlingTest(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.collaxa.cube.ws.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(
WSIFOperation_EJB.java:1071)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:392)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:321)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:143)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:569)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:299)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:182)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3447)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1824)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(Perfo
rmMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:87
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:144)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5531)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1219)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:480)
at com.collaxa.cube.engine.bean.DeliveryBean.handleInvoke(DeliveryBean.java:307)
at com.collaxa.cube.engine.bean.DeliveryBean_uhics8_ELOImpl.handleInvoke(DeliveryBean_uhics8
_ELOImpl.java:274)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(Invok
eInstanceMessageHandler.java:36)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:64)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: java.lang.NullPointerException
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
onHandlingTestEJBBean.java:28)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
nown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
... 2 more
<2005-02-04 10:24:09,953> <DEBUG> <default.collaxa.cube.ws> <BPELInvokeWMP::__invoke> Caught RemoteE
xception
orabpel.apache.wsif.WSIFException: Operation failed!; nested exception is:
javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NullPointerExce
ption
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
onHandlingTestEJBBean.java:28)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
nown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
; nested exception is:
java.lang.NullPointerException
at com.collaxa.cube.ws.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(
WSIFOperation_EJB.java:1207)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:392)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:321)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:143)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:569)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:299)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:182)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3447)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1824)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(Perfo
rmMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:87
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:144)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5531)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1219)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:480)
at com.collaxa.cube.engine.bean.DeliveryBean.handleInvoke(DeliveryBean.java:307)
at com.collaxa.cube.engine.bean.DeliveryBean_uhics8_ELOImpl.handleInvoke(DeliveryBean_uhics8
_ELOImpl.java:274)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(Invok
eInstanceMessageHandler.java:36)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:64)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NullPointerE
xception
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
onHandlingTestEJBBean.java:28)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
nown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
; nested exception is:
java.lang.NullPointerException
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_812_WLStub.doExce
ptionHandlingTest(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.collaxa.cube.ws.wsif.providers.ejb.WSIFOperation_EJB.executeRequestResponseOperation(
WSIFOperation_EJB.java:1071)
... 27 more
Caused by: java.lang.NullPointerException
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
onHandlingTestEJBBean.java:28)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
nown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
... 2 more
<2005-02-04 10:24:09,968> <DEBUG> <default.collaxa.cube.engine> <bpel.p0.BPEL_BIN$$BPELC_BpInv0::per
form> error thrown
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{summary=Operation failed!; nested exception is:
javax.transaction.TransactionRolledbackException: EJB Exception: : java.lang.NullPointerExce
ption
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean.doExceptionHandlingTest(Excepti
onHandlingTestEJBBean.java:28)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl.doExceptionHandli
ngTest(ExceptionHandlingTestEJBBean_d9oiel_EOImpl.java:46)
at com.ema.bpel.test.exceptions.ExceptionHandlingTestEJBBean_d9oiel_EOImpl_WLSkel.invoke(Unk
nown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
; nested exception is:
java.lang.NullPointerException}}
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:604)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:299)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:182)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3447)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1824)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(Perfo
rmMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:87
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:144)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5531)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1219)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:480)
at com.collaxa.cube.engine.bean.DeliveryBean.handleInvoke(DeliveryBean.java:307)
at com.collaxa.cube.engine.bean.DeliveryBean_uhics8_ELOImpl.handleInvoke(DeliveryBean_uhics8
_ELOImpl.java:274)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(Invok
eInstanceMessageHandler.java:36)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:64)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<2005-02-04 10:24:09,968> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key invokeEHTS
<2005-02-04 10:24:09,968> <DEBUG> <default.collaxa.cube.engine> <SensorManager::doCallback> queried
map w/key {http://schemas.oracle.com/bpel/extension}bindingFault
<2005-02-04 10:24:09,968> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Is per
former 2701-BpInv0-BpSeq1.6-2 idempotent? false
<2005-02-04 10:24:09,968> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::checkBlockConditions> W
orkitem '2701-BpInv0-BpSeq1.6-2' has been marked as complete
<2005-02-04 10:24:09,984> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::finalizeActivity> Attem
pting to finalize workitem '2701-BpInv0-BpSeq1.6-2'
<2005-02-04 10:24:09,984> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::finalizeActivity> Caugh
t business exception at block 'BpTry1', rolling back
<2005-02-04 10:24:09,984> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::forceCompleteScope> Is
instance faulted? true
<2005-02-04 10:24:09,984> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::forceCompleteScopeTree>
Forcing to complete scope rooted at 'BpTry1.5'
<2005-02-04 10:24:10,000> <DEBUG> <default.collaxa.cube.engine.data> <BaseWorkItemPersistenceAdaptor
::load> Skipping database load ... found workitems
<2005-02-04 10:24:10,000> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::closeActivity> Workitem
2701-BpInv0-BpSeq1.6-2 is faulted ... skipping cancel
<2005-02-04 10:24:10,000> <DEBUG> <default.collaxa.cube.engine.agents> <ExpirationAgent::unscheduleW
orkItem> Removing work item 2701-BpInv0-BpSeq1.6-2 from expiration scheduler
<2005-02-04 10:24:10,000> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::checkExpirable> Removin
g work item 2701-BpInv0-BpSeq1.6-2 from expiration agent
<2005-02-04 10:24:10,000> <DEBUG> <default.collaxa.cube.engine> <ForceCompleteTreeIterator::apply> C
ompleting scope 'BpTry1.5'
<2005-02-04 10:24:10,000> <DEBUG> <default.collaxa.cube.engine> <ForceCompleteTreeIterator::apply> C
ompleting scope 'BpSeq1.6'
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::forceCompleteScopeTree>
Done forced complete scope rooted at 'BpTry1.5'
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::checkManageScope> Found
highest dirty scope 'BpPrc0.1'
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Managing s
cope 'BpPrc0.1' on cube instance '2701'
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te block 'BpCAl0' with scope 'BpScp0.4'
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<catchAll> at line 48
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine.bpel> <BPELExecution::EHT1> entering
<catchAll> at line 48
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine> <BaseCubeBlock::activate> Create sco
pe 'BpCAl0.7' in block 'BpCAl0'
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Can activa
te node 'BpWai0' with scope 'BpCAl0.7'
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.xml> <XPathUtil::initXPath> namespaceMapping
is: {bpws=http://schemas.xmlsoap.org/ws/2003/03/business-process/, tns=http://acm.org/samples, xsd=
http://www.w3.org/2001/XMLSchema, bpelx=http://schemas.oracle.com/bpel/extension, ora=http://schemas
.oracle.com/xpath/extension, nsxml0=http://www.emergingaspects.com/service/EXHT}
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.xml> <XPathUtil::evaluate> XPathQuery['PT30S
'], XPath Result is: class java.lang.String
<2005-02-04 10:24:10,031> <DEBUG> <default.collaxa.cube.engine.agents> <ExpirationAgent::unscheduleW
orkItem> Removing work item 2701-BpWai0-BpCAl0.7-1 from expiration scheduler
<2005-02-04 10:24:10,125> <DEBUG> <default.collaxa.cube.engine.agents> <ExpirationScheduler::schedul
e> Work item 2701-BpWai0-BpCAl0.7-1 scheduled for Fri Feb 04 10:24:40 EST 2005
<2005-02-04 10:24:10,125> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Scheduling
workitem 2701-BpWai0-BpCAl0.7-1 to be performed
<2005-02-04 10:24:10,125> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::manageScope> Done manag
ing scope 'BpPrc0.1'
<2005-02-04 10:24:10,125> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::performActivity> Done p
erforming workitem '2701-BpInv0-BpSeq1.6-2'
<2005-02-04 10:24:10,125> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::handleWorkItem> Done ha
ndling workitem 2701-BpInv0-BpSeq1.6-2
<2005-02-04 10:24:10,125> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatchHelper::sendMemory
> In-memory false ... stop processing in-memory
<2005-02-04 10:24:10,125> <DEBUG> <default.collaxa.cube.engine> <CubeEngine::store> Initial request
... storing instance 2701 to datastore
<2005-02-04 10:24:10,125> <DEBUG> <default.collaxa.cube.engine.data> <CubeInstancePersistenceMgr::st
ore> Storing instance 2701 to datastore
<BaseCubeSessionBean::logError> Error while invoking bean "delivery": Cannot insert audit trail.
The process domain was unable to insert the current log entries for the instance "2701" to the audit
trail table. The exception reported is: The transaction is no longer active - status: 'Marked roll
back. [Reason=java.lang.NullPointerException]'. No further JDBC access is allowed within this transa
ction.
Please check that the machine hosting the datasource is physically connected to the network. Otherw
ise, check that the datasource connection parameters (user/password) is currently valid.
sql statement: INSERT INTO audit_trail( cikey, domain_ref, count_id, block, block_csize, block_usiz
e, log ) VALUES( ?, ?, ?, ?, ?, ?, ? )
<2005-02-04 10:24:10,187> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnec
tion> CLOSE TX CONNECTION 0
<2005-02-04 10:24:10,250> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatchHelper::handleMess
age> failed to handlerMessage
ORABPEL-04004
Cannot insert audit trail.
The process domain was unable to insert the current log entries for the instance "2701" to the audit
trail table. The exception reported is: The transaction is no longer active - status: 'Marked roll
back. [Reason=java.lang.NullPointerException]'. No further JDBC access is allowed within this transa
ction.
Please check that the machine hosting the datasource is physically connected to the network. Otherw
ise, check that the datasource connection parameters (user/password) is currently valid.
sql statement: INSERT INTO audit_trail( cikey, domain_ref, count_id, block, block_csize, block_usiz
e, log ) VALUES( ?, ?, ?, ?, ?, ?, ? )
at com.collaxa.cube.engine.adaptors.oracle.AuditTrailPersistenceAdaptor$TrailHandler.store(A
uditTrailPersistenceAdaptor.java:283)
at com.collaxa.cube.engine.adaptors.common.BaseAuditTrailPersistenceAdaptor.store(BaseAuditT
railPersistenceAdaptor.java:134)
at com.collaxa.cube.engine.adaptors.oracle.AuditTrailPersistenceAdaptor.store(AuditTrailPers
istenceAdaptor.java:62)
at com.collaxa.cube.engine.data.AuditTrailPersistenceMgr.store(AuditTrailPersistenceMgr.java
:239)
at com.collaxa.cube.engine.adaptors.common.BaseCubeInstancePersistenceAdaptor.store(BaseCube
InstancePersistenceAdaptor.java:466)
at com.collaxa.cube.engine.adaptors.oracle.CubeInstancePersistenceAdaptor.store(CubeInstance
PersistenceAdaptor.java:74)
at com.collaxa.cube.engine.data.CubeInstancePersistenceMgr.store(CubeInstancePersistenceMgr.
java:307)
at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:5295)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5540)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1219)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:480)
at com.collaxa.cube.engine.bean.DeliveryBean.handleInvoke(DeliveryBean.java:307)
at com.collaxa.cube.engine.bean.DeliveryBean_uhics8_ELOImpl.handleInvoke(DeliveryBean_uhics8
_ELOImpl.java:274)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(Invok
eInstanceMessageHandler.java:36)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:64)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<2005-02-04 10:24:10,265> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::proce
ss> Failed to handle dispatch message invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-
7ffb ... exception Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.mess
age.invoke.InvokeInstanceMessage"; the exception is: Cannot insert audit trail.
The process domain was unable to insert the current log entries for the instance "2701" to the audit
trail table. The exception reported is: The transaction is no longer active - status: 'Marked roll
back. [Reason=java.lang.NullPointerException]'. No further JDBC access is allowed within this transa
ction.
Please check that the machine hosting the datasource is physically connected to the network. Otherw
ise, check that the datasource connection parameters (user/password) is currently valid.
sql statement: INSERT INTO audit_trail( cikey, domain_ref, count_id, block, block_csize, block_usiz
e, log ) VALUES( ?, ?, ?, ?, ?, ?, ? )
ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.mess
age.invoke.InvokeInstanceMessage"; the exception is: Cannot insert audit trail.
The process domain was unable to insert the current log entries for the instance "2701" to the audit
trail table. The exception reported is: The transaction is no longer active - status: 'Marked roll
back. [Reason=java.lang.NullPointerException]'. No further JDBC access is allowed within this transa
ction.
Please check that the machine hosting the datasource is physically connected to the network. Otherw
ise, check that the datasource connection parameters (user/password) is currently valid.
sql statement: INSERT INTO audit_trail( cikey, domain_ref, count_id, block, block_csize, block_usiz
e, log ) VALUES( ?, ?, ?, ?, ?, ?, ? )
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:73)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:72)
at com.collaxa.cube.engine.bean.WorkerBean.onMessage(WorkerBean.java:86)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:382)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:316)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:281)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2596)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2516)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<2005-02-04 10:24:10,265> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::acknowled
ge> Acknowledged message invoke instance message aacf889e30f5e83a:125e791:101ddf7208b:-7ffb
<2005-02-04 10:24:24,750> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::getConnecti
on> GOT CONNECTION 1
<BaseCubeSessionBean::logError> Error while invoking bean "finder": Instance not found in datasource
The process domain was unable to fetch the instance with key "aacf889e30f5e83a:125e791:101ddf7208b:-
7ffc" from the datasource.
Please check that the instance key "aacf889e30f5e83a:125e791:101ddf7208b:-7ffc" refers to a valid in
stance that has been started and not removed from the process domain.
<2005-02-04 10:24:24,765> <DEBUG> <default.collaxa.cube.engine.data> <ConnectionFactory::closeConnec
tion> CLOSE CONNECTION 0
<<<< Log End <<<<hmmm for some reason when you call your EJB and it throws an exception, the JTA transaction is marked as rollbakc so the BPEL EM engine fails to save the instance.
Could you please provide us some additional pieces of information:
obversion.bat.
The exact exception that your EJB throws.
JTA configuration of your bean
Have you looked at the BankTransfer demo?
Edwin -
Need Help Regarding Dynamic Partner Link
Hi all
I am new to this Oracle BPEL.
I need to configure dynamic partner link.
need help with this.........
any useful links.. pls.Hi',
Check this
http://blogs.oracle.com/dasoa/entry/11g_dynamic_partnerlink_example
there are plenty like this.
-Yatan -
I need help to find my photo's please (2500) on my backup drive.Lost them after doing a clean install of Mountan Lion I have tried to find them but had no luck. I use Time Machine with a 1TB Western Digital usb drive. Thanking anyone in anticipation of a solution.
-Reece,
We only have 1 single domain, 1 domain forest, no subdomains, only alias. I had replied to the other post as well. But I am happy to paste it here in case anyone want to read it.
So, after a few months of testing, capture and sending logs back and forth to Apple Engineers, we found out there is a setting in AD, under User Account that prevent us to log into AD from Mountain Lion. If you would go to your AD server, open up a user account properties, then go to Account tab, the "Do not require Kerberos preauthentication" option is checked. As soon as I uncheck that option, immediately I was able to log into AD on the Mac client. Apple engineers copied all my AD settings and setup a test environment on their end and match exact mine AD environment. They was able to reproduce this issue.
The bad part about this is... our environment required the "Do not require Kerberos preauthentication" is checked in AD, in order for our users to login into some of our Unix and Linux services. Which mean that it is impossible for us to remove that check mark because most, if not all of them some way or another require to login into applications that run on Unix and Linux. Apple is working to see if they can come up with a fix. Apparently, no one has report this issue except us. I believe most of you out there don't have that check mark checked in your environment... Anyone out there have any suggestion to by pass or have a work around for this? -
General exception error need help!
Experts,
i am facing this problem. i connect to the net by proxy (through office Lan). none of the java applets work for me. Need help
Java Plug-in 1.5.0_08
Using JRE version 1.5.0_08 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\mkrishna
network: Loading user-defined proxy configuration ...
network: Done.
network: Loading direct proxy configuration ...
network: Done.
network: Proxy Configuration: No proxy
basic: Cache is enabled
basic: Location: C:\Documents and Settings\mkrishna\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
basic: Maximum size: unlimited
basic: Compression level: 1
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=1
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=2
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=3
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@15212bc
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@97a560
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1ea5671
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: httpCompression = true
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/liste.jar with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris.class with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris.class with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/Outline.class with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris/class.class with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris/class.class with proxy=DIRECT
load: class ZoneFavoris.class not found.
java.lang.ClassNotFoundException: ZoneFavoris.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException: ZoneFavoris.class
java.lang.ClassNotFoundException: ZoneFavoris.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Modality pushed
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
basic: Modality popped
basic: Modality pushed
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
basic: Modality popped
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/Outline/class.class with proxy=DIRECT
load: class ZoneFavoris.class not found.
java.lang.ClassNotFoundException: ZoneFavoris.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException: ZoneFavoris.class
java.lang.ClassNotFoundException: ZoneFavoris.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Modality pushed
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
basic: Modality popped
load: class Outline.class not found.
java.lang.ClassNotFoundException: Outline.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException: Outline.class
java.lang.ClassNotFoundException: Outline.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Modality pushed
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
basic: Modality poppedHi
I think you need to configure proxy for the JRE
If you are using windows Go to control panel , you will find an icon called java plugin. if you have installed multiple JRE you will find multiple icons . Select the one which is configured to browser.
You will find a proxies tab in that window , add the proxy details there
Hope this helps you
Vijay -
Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset preferences and still have problem. Slow to open and in force quit "Photoshop not responding" At this point should I uninstall and start over.
What are the performance Preferences?
-
Need help in creating tabbed webpart in sharepoint and no of tabs in webpart should be dynamic.
under each tab i should be able to add multiple webparts(each tab will have webpart zone)
programatically i need to generate tabs and insert webpart zones under each tab.
Let me know how can i achieve this.
i followed below article.
http://msdn.microsoft.com/en-us/library/jj573263%28v=office.14%29.aspx
but in this article the tabs and webparts are static and we need to close each webpart .
Kindly let me know the approach.thanks in advancethe Easy Tabs could be useful for your requirement
http://usermanagedsolutions.com/SharePoint-User-Toolkit/Pages/Easy-Tabs-v5.aspx
/blog
twttr @esjord
Maybe you are looking for
-
How to load movies from a xml file?
I have a movie called "index.swf" and a class called "index.as" The problem is that loads the movies in the same position. index.as: package import flash.utils.getDefinitionByName; import flash.display.Loader; import flash.display.Sprite;
-
Using Nokia CK7W or CK100/CK300 car kit
Anyone any experience of using one of the above Nokia in-car Bluetooth kits with their Blackberry?
-
Handles missing from anchor points in Photoshop CS4
I am trying to etch an image in PS CS4, and the handles keep disapearing from the anchor points as I click and drag, when I close the path there are no handles, and when I use the path selection tool the anchor points appear but no handles, if I use
-
What is the lifecycle of Event or Custom Event
Hi All, Can anybody please let me know the life cycle of event or custom event and what exactly is event bubbling. Thanks
-
Hello , i want whenausersavesa file in thedesktopon their computerthatautomaticallysavesthis file Filesinshared folders inthe file server Is this scenario possible or not ? thanks