Runtime Exception - Need Help

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

Similar Messages

  • 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) });

  • 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 &quot;64,000&quot; 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...

  • 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();
    }

  • 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 send

    I 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

  • Runtime Error need Help urgently!!

    Hi,
    I've just started to learn core java.I downlaoded the software from this site,and wrote a simple program to print "Hello".the program got compiled without any error.Now when i'm trying to run the program it's giving an error as
    "Exception in thread "main" java.lang.UnsupportedClassVersionError:***<Unsupported major.minor Version 49.0>
    Can u guys plz help me solve the problem

    Can u guys plz help meSorry, you'll have to get your own dictionary, or use the spelling checker of your word processor, if it can cope with the overload.
    db

  • Java runtime hangs - need help!

    I have a batch process that is getting totally hung up. Not sure if it is an application problem or a JVM problem. Here is the dump of the threads:
    Can anyone help me interpret this??? This runs on Solaris 8.
    Full thread dump Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode):
    "Signal Dispatcher" daemon prio=10 tid=0x000cf318 nid=0x8 waiting on condition [0..0]
    "Finalizer" daemon prio=8 tid=0x000cb528 nid=0x6 in Object.wait() [fc381000..fc3819f0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xf1b35a70> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
    - locked <0xf1b35a70> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x000c9bc8 nid=0x5 in Object.wait() [fde81000..fde819f0]
    at java.lang.Object.wait(Native Method)
    - waiting on <0xf1b35ad8> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:429)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
    - locked <0xf1b35ad8> (a java.lang.ref.Reference$Lock)
    "main" prio=5 tid=0x00039188 nid=0x1 runnable [0..ffbec884]
    "VM Thread" prio=5 tid=0x000c8db0 nid=0x4 runnable
    "VM Periodic Task Thread" prio=10 tid=0x000d1970 nid=0xa waiting on condition
    "Suspend Checker Thread" prio=10 tid=0x000ce9b0 nid=0x7 runnable

    There is nothing unusual in that dump. Normal jvm threads in the normal state and one application thread ("main") which doesn't show anything in its trace. Do you have access to dbx? If so attach to the java process and switch to thread 1 and dump the stack ("where" command).

  • 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 headache

    Double post http://forum.java.sun.com/thread.jspa?threadID=5235999&tstart=0

  • Need help with Runtime.exec()

    I need help getting my program to run a different java program through the command prompt using the runtime.exec() method. This is my code so far:
    import javax.swing.JOptionPane;
    import javax.swing.JDialog;
    import javax.swing.JButton;
    import javax.swing.JRadioButton;
    import javax.swing.ButtonGroup;
    import javax.swing.JLabel;
    import javax.swing.ImageIcon;
    import javax.swing.BoxLayout;
    import javax.swing.Box;
    import javax.swing.BorderFactory;
    import javax.swing.border.Border;
    import javax.swing.JTabbedPane;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.*;
    //import java.Original.*;
    //import java.Turtle.*;
    //import jav.Turtle.galapagos.*;
    public class JavaMenu extends JPanel
         JFrame frame;
         JLabel label;
         JButton select;
         String labDescription = "Java labs created in class.";
         String turtleDescription = "Turtle labs created in class";
         String creationDescription = "Java programs created on my own.";
         public JavaMenu(JFrame frame)
              super(new BorderLayout());
              JPanel lab = labDialog();
              //JPanel turtle = turtleDialog();
              //JPanel creation = creationDialog();
              label = new JLabel("Click Select Program to run the program.", JLabel.CENTER);
              this.frame = frame;
              Border padding = BorderFactory.createEmptyBorder(20,20,5,20);
              lab.setBorder(padding);
              //turtle.setBorder(padding);
              //creation.setBorder(padding);
              JTabbedPane tab = new JTabbedPane();
              tab.addTab("Java Labs", null, lab, labDescription);
              //tab.addTab("Turtle Labs", null, turtle, turtleDescription);
              //tab.addTab("Java Programs", null, creation, creationDescription);
              add(tab, BorderLayout.CENTER);
              add(label, BorderLayout.PAGE_END);
              label.setBorder(BorderFactory.createEmptyBorder(10,10,10,10));
         void setLabel(String newText)
              label.setText(newText);
         protected static ImageIcon createImageIcon(String path)
            java.net.URL imgURL = JavaMenu.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         private JPanel labDialog()
              final int numButtons = 25;
              JRadioButton[] javalabs = new JRadioButton[numButtons];
              final ButtonGroup group = new ButtonGroup();
              select = null;
              final String messageCommand2 = "Lab 02";
              final String messageCommand3 = "Lab 03";
              final String messageCommand4 = "Lab 04";
              final String messageCommand41 = "Lab 04 Extra Credit 1";
              final String messageCommand42 = "Lab 04 Extra Credit 2";
              final String messageCommand5 = "Lab 05";
              final String messageCommand51 = "Lab 05 Extra Credit";
              final String messageCommand6 = "Lab 06";
              final String messageCommand6b = "Lab 06";
              final String messageCommand7 = "Lab 07";
              final String messageCommand71 = "Lab 07 Extra Credit";
              final String messageCommand8 = "Lab 08";
              final String messageCommand8b = "Lab 08";
              final String messageCommand81 = "Lab 08 Extra Credit";
              final String messageCommand9 = "Lab 09";
              final String messageCommand9b = "Lab 09";
              final String messageCommand91 = "Lab 09 Extra Credit 1";
              final String messageCommand92 = "Lab 09 Extra Credit 2";
              final String messageCommand93 = "Lab 09 Extra Credit 3";
              final String messageCommand9a = "Lab 09 American Flag";
              final String messageCommand9t = "Lab 09 Texas Flag";
              final String messageCommand0 = "Lab 10";
              final String messageCommand0b = "Lab 10 Hi Lo Game";
              final String messageCommand01 = "Lab 10 Extra Credit 1";
              final String messageCommand02 = "Lab 10 Extra Credit 2";
              javalabs[0] = new JRadioButton("Lab 02 100 Point Version");
              javalabs[0].setActionCommand(messageCommand2);
              javalabs[1] = new JRadioButton("Lab 03 100 Point Version");
              javalabs[1].setActionCommand(messageCommand3);
              javalabs[2] = new JRadioButton("Lab 04 100 Point Version");
              javalabs[2].setActionCommand(messageCommand4);
              javalabs[3] = new JRadioButton("Lab 04 Extra Credit 1");
              javalabs[3].setActionCommand(messageCommand41);
              javalabs[4] = new JRadioButton("Lab 04 Extra Credit 2");
              javalabs[4].setActionCommand(messageCommand42);
              javalabs[5] = new JRadioButton("Lab 05 100 Point Version");
              javalabs[5].setActionCommand(messageCommand5);
              javalabs[6] = new JRadioButton("Lab 05 Extra Credit");
              javalabs[6].setActionCommand(messageCommand51);
              javalabs[7] = new JRadioButton("Lab 06A 100 Point Version");
              javalabs[7].setActionCommand(messageCommand6);
              javalabs[8] = new JRadioButton("Lab 06B 100 Point Version");
              javalabs[8].setActionCommand(messageCommand6b);
              javalabs[9] = new JRadioButton("Lab 07 100 Point Version");
              javalabs[9].setActionCommand(messageCommand7);
              javalabs[10] = new JRadioButton("Lab 07 Extra Credit");
              javalabs[10].setActionCommand(messageCommand71);
              javalabs[11] = new JRadioButton("Lab 08A 100 Point Version");
              javalabs[11].setActionCommand(messageCommand8);
              javalabs[12] = new JRadioButton("Lab 08B 100 Point Version");
              javalabs[12].setActionCommand(messageCommand8b);
              javalabs[13] = new JRadioButton("Lab 08 Extra Credit");
              javalabs[13].setActionCommand(messageCommand81);
              javalabs[14] = new JRadioButton("Lab 09A 100 Point Version");
              javalabs[14].setActionCommand(messageCommand9);
              javalabs[15] = new JRadioButton("Lab 09B 100 Point Version");
              javalabs[15].setActionCommand(messageCommand9b);
              javalabs[16] = new JRadioButton("Lab 09 Texas Flag");
              javalabs[16].setActionCommand(messageCommand9t);
              javalabs[17] = new JRadioButton("Lab 09 American Flag");
              javalabs[17].setActionCommand(messageCommand9a);
              javalabs[18] = new JRadioButton("Lab 09 Extra Credit 1");
              javalabs[18].setActionCommand(messageCommand91);
              javalabs[19] = new JRadioButton("Lab 09 Extra Credit 2");
              javalabs[19].setActionCommand(messageCommand92);
              javalabs[20] = new JRadioButton("Lab 09 Extra Credit 3");
              javalabs[20].setActionCommand(messageCommand93);
              javalabs[21] = new JRadioButton("Lab 10 A 100 Point Version");
              javalabs[21].setActionCommand(messageCommand0);
              javalabs[22] = new JRadioButton("Lab 10 B 100 Point Version");
              javalabs[22].setActionCommand(messageCommand0b);
              javalabs[23] = new JRadioButton("Lab 10 Extra Credit 1");
              javalabs[23].setActionCommand(messageCommand01);
              javalabs[24] = new JRadioButton("Lab 10 Extra Credit 2");
              javalabs[24].setActionCommand(messageCommand02);     
              for (int k = 0; k < numButtons; k++)
                   group.add(javalabs[k]);
              javalabs[0].setSelected(true);
              select = new JButton("Select Program");
              select.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e)
                        String command = group.getSelection().getActionCommand();
                        if (command == messageCommand2)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                 try
                                    Runtime.getRuntime().exec(new String[] {"cmd", "set classpath=D:/Documents and Settings/Yinon Michaeli/My Documents/CS/java/Labs02", "path C:/j2sdk1.4.0/bin", "java Lab020"});
                                    //File file = new File("java/Labs02");
                                    //Runtime.getRuntime().exec(new String[] {"rundll32", "url.dll,FileProtocolHandler","file:///" + file.getAbsolutePath()});
                                 catch (Exception a)
                                      JOptionPane.showMessageDialog(frame, "Error: Exception.", "Error", JOptionPane.ERROR_MESSAGE);
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand3)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand4)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand41)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand42)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand5)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand51)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand6)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand6b)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand7)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand71)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand8)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand8b)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand81)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand9)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand91)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand9t)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand9a)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand9b)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand92)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand93)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand0)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand0b)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand01)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        if (command == messageCommand02)
                             int confirm = JOptionPane.showConfirmDialog(frame, "You are about to run the program, o.k.?", "Confirmation", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
                             if (confirm == JOptionPane.YES_OPTION)
                                  setLabel("Awesome!");
                             else if(confirm == JOptionPane.NO_OPTION)
                                  setLabel("You've got to be kidding!");
                        return;
              return create2ColPane(labDescription + ":", javalabs, select);     
         private JPanel createPane(String description, JRadioButton[] radioButtons, JButton showButton)
              int numChoices = radioButtons.length;
            JPanel box = new JPanel();
            JLabel label = new JLabel(description);
            box.setLayout(new BoxLayout(box, BoxLayout.PAGE_AXIS));
            box.add(label);
            for (int k = 0; k < numChoices; k++)
                box.add(radioButtons[k]);
            JPanel pane = new JPanel(new BorderLayout());
            pane.add(box, BorderLayout.PAGE_START);
            pane.add(showButton, BorderLayout.PAGE_END);
            return pane;
        private JPanel create2ColPane(String description, JRadioButton[] radioButtons, JButton showButton)
            JLabel label = new JLabel(description);
            int numPerColumn = radioButtons.length/2;
            JPanel grid = new JPanel(new GridLayout(0, 2));
            for (int k = 0; k < numPerColumn; k++)
                grid.add(radioButtons[k]);
                grid.add(radioButtons[k + numPerColumn]);
            JPanel box = new JPanel();
            box.setLayout(new BoxLayout(box, BoxLayout.PAGE_AXIS));
            box.add(label);
            grid.setAlignmentX(0.0f);
            box.add(grid);
            JPanel pane = new JPanel(new BorderLayout());
            pane.add(box, BorderLayout.PAGE_START);
            pane.add(showButton, BorderLayout.PAGE_END);
            return pane;
        private static void createAndShowGUI()
             JFrame.setDefaultLookAndFeelDecorated(true);
             JFrame frame = new JFrame("Java Programs");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JavaMenu newContentPane = new JavaMenu(frame);
            newContentPane.setOpaque(true);
            frame.setContentPane(newContentPane);
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args)
             javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

    Why are you posting hundreds of lines of code not related to the problem??? 99.9% of the code you posted has absolutely nothing to do with using the Runtime.exec() method.
    Create a simple test program that simply tries to invoke the Runtime.exec() method. Once you get that working, then you incoporate it into you real program. Don't clutter the forum with unnecessary code.
    public class WindowsFileProtocolHandler
         public static void main(String[] args)
              throws Exception
              String[] cmd = new String[4];
              cmd[0] = "cmd.exe";
              cmd[1] = "/C";
              cmd[2] = "java";
              cmd[3] = "YourClassHere";
              Process process = Runtime.getRuntime().exec( cmd );
    }

  • 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 pref

    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 to find photo's on my backup drive,since installing Mountain Lion cannot find where they are stored.The backups after ML install are greyed out except in Applications, MyFiles and Devices really welcome a hand with this please.

    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?

  • Runtime exceptions - Help!

    Hello, it's little ol' me again with my little ol' password generator applet. It compiles fine, but when I run it, I get all kinds of runtime exceptions when I click on any of the checkboxes. I have pored over this code til I'm blue in the face. I personally see nothing wrong with the code, but I'll post it here in case any of you might spot something suspicious.
    // My Javafied Password Generator
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class PwGenerator extends JApplet
      private String pw;
      private JPanel centerPanel, northPanel, southPanel;
      private JComboBox numchars;
      private JCheckBox lettersUpper, lettersLower, numbers, specialChars;
      private JButton generate, reset;
      private JTextField textfield;
      private static int asciiRange[];
      private String pwLength[] = {"6", "7", "8", "9", "10", "11", "12"};
      private int lengthSelected;
      private JLabel pwLabel, numCharLabel;
      public void init()
        // instantiate widgets
        numCharLabel = new JLabel("Number of characters for password");
        numchars = new JComboBox(pwLength);
        lettersUpper = new JCheckBox("Uppercase letters");
        lettersLower = new JCheckBox("Lowercase letters");
        numbers = new JCheckBox("Numbers");
        specialChars = new JCheckBox("Special characters");
        generate = new JButton("Generate password");
        reset = new JButton("Clear");
        textfield = new JTextField(12);
        pwLabel = new JLabel("Your new password is: ");
        // add widgets to the content pane
        Container c = getContentPane();
        c.setLayout(new BorderLayout());
        centerPanel = new JPanel();
        centerPanel.setLayout(new GridLayout(3, 2));
        centerPanel.add(lettersUpper);
        centerPanel.add(lettersLower);
        centerPanel.add(numbers);
        centerPanel.add(specialChars);
        centerPanel.add(generate);
        centerPanel.add(reset);
        c.add(centerPanel, BorderLayout.CENTER);
        northPanel = new JPanel();
        northPanel.setLayout(new FlowLayout());
        northPanel.add(numCharLabel);
        northPanel.add(numchars);
        c.add(northPanel, BorderLayout.NORTH);
        southPanel = new JPanel();
        southPanel.setLayout(new FlowLayout());
        southPanel.add(pwLabel);
        southPanel.add(textfield);
        c.add(southPanel, BorderLayout.SOUTH);
      }  // end init
      public void start()
      // connect event handlers to the widgets
        numchars.addItemListener(new ItemListener() {
         public void itemStateChanged(ItemEvent e)
           lengthSelected = Integer.parseInt(pwLength[numchars.getSelectedIndex()]);
        CheckBoxHandler handler = new CheckBoxHandler();
        lettersUpper.addItemListener(handler);
        lettersLower.addItemListener(handler);
        numbers.addItemListener(handler);
        specialChars.addItemListener(handler);
        generate.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e)
           pw = generatePw(lengthSelected);
           textfield.setText(pw);
        reset.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent e)
           textfield.setText("");
      } // end start---snip---
    private class CheckBoxHandler implements ItemListener
        public void itemStateChanged(ItemEvent e)
          if (e.getSource() == specialChars)
         if (e.getStateChange() == ItemEvent.SELECTED)
           for (int i=33, j=0; i<=47; i++, j++)
             asciiRange[j] = i;
           for (int i=58, j=asciiRange.length; i<=64; i++, j++)
             asciiRange[j] = i;
           for (int i=91, j=asciiRange.length; i<=96; i++, j++)
             asciiRange[j] = i;
           for (int i=123, j=asciiRange.length; i<=126; i++, j++)
             asciiRange[j] = i;
            } // end inner if
          } // end outer if
          if (e.getSource() == numbers)
         if (e.getStateChange() == ItemEvent.SELECTED)
           for (int i=48, j=asciiRange.length; i<=57; i++, j++)
             asciiRange[j] = i;
          if (e.getSource() == lettersUpper) 
         if (e.getStateChange() == ItemEvent.SELECTED)
           for (int i=65, j=asciiRange.length; i<=90; i++, j++)
             asciiRange[j] = i;
          if (e.getSource() == lettersLower)
         if (e.getStateChange() == ItemEvent.SELECTED)
           for (int i=97, j=asciiRange.length; i<=122; i++, j++)
             asciiRange[j] = i;
    }     Your help will be greatly appreciated like before.
    Syster Tara

    And as a prediction, I can see some ArrayIndexOutOfBounds errors in your near future.
    Starting j at j=asciiRange.length
    and then doing asciiRange[j] = i
    Remember an array is numbered from 0 to length-1
    And no, arrays don't grow dynamically.
    Cheers,
    evnafets

  • SOAP Runtime Exception: CSoapExceptionTransport :(100101) please help me!

    Hi,
    there is not any problem to test the connection of ADS in SM59 but i have a problem when activating interactive forms.
    An error during activate the form 'SOAP Runtime Exception: CSoapExceptionTransport :(100101)'
    How can i solve this problem? Can somebody help me please?
    Thanks.

    Hello,
      Have a look at this thread
    adobe document services communication problem
    Regards

  • Need help urgently, I upgraded my iPhone 4 with new OS 5, but at the last restore failed. Apple Customer Care helped me to resynch my phone with all that available in Library. I've got all back except my Contact no. Pls help guys, thnx

    Need help urgently, I upgraded my iPhone 4 with new OS 5, but at the last restore failed. Apple Customer Care helped me to resynch my phone with all that available in Library. I've got all back except my Contact no. Pls help guys, thnx Plz guys anyone can help plzz....I've lost all contact and I dont even have any secondary back up also...!!!

    If you've had it for less than a year, then it's still under warranty.  Take it to an Apple store or an authorized service facility.  See http://support.apple.com/kb/HT1434

Maybe you are looking for

  • DATE fields and LOG files  in context with external tables

    I am facing two problems when dealing with the external tables feature in Oracle 9i. I created an External Table with some fileds with the DATE data type . There were no issues during the creation part. But when i query the table, the DATE fields are

  • How to pass CSOM Authentication in sharepoint

    Hi every one, I want to read/insert the data from the list even thought the user don't have the permission on list. But programmatically  i want to read/insert data throught the CSOM in Managed Code(in .CS page) which is similar functionality of SOM

  • Does labview run time engine 8.6 LVRTE86std​.exe supports DAQ?

    Due to the LONG TIME required to build an installer with exe, and this kind of DAQ issues http://forums.ni.com/ni/board/message?board.id=170​&message.id=324343&query.id=1071542#M324343 I want to just give the user the Labview run time engine 8.6 LVRT

  • How many photos can a stream have

    Orginally I was told that a stream can only store 1000 photos or up to 30days. This is what was told to me about 2 weeks ago. yesterday I took a workshop and was told the time does not matter but the 1000 is still the case? Also is that for the strea

  • Autofs not working

    Hi, I tried auto mounting my USB key drive and USB camera to automount but not sure where I am missing. Here is my approac. I followed  this wiki! http://wiki.archlinux.org/index.php/AutoFS_HowTo my rc.conf reads DAEMONS=(syslog-ng network netfs cron