Error retriving session EJB with getEJBObject() from handle
the Code i use is
CREATE:
Handle handle = user.getHandle();
session.setAttribute("user",handle);
GET:
Handle handle = (Handle)session.getAttribute("user");
UserEJB user = (UserEJB)handle.getEJBObject();
// the abowe row gets the error.
Error:
java.lang.ClassCastException: org.omg.stub.javax.ejb._EJBObject_Stub
ive read several topics that say that this should work but it doesnt??
The bean is a Stateful Session EJB.
Ive tried to recompile both client and server serveral times, to prevent te stubs from beeing different. But no result.
Help please !!!!!!
try like this..
Create--
session.setAttribute("searchremote",tsremote.getHandle());
and get it like this....
Handle handle = (Handle)session.getAttribute("searchremote");
tsremote = (TradesSearchRemote)handle.getEJBObject();
if (tsremote == null)
tsremote = getBeanReference();
session.setAttribute("searchremote",tsremote.getHandle());
I am doing like this and it is working fine....
Similar Messages
-
Invoking Session EJB (with WSIF binding) from a BPEL process
Hi,
I am invoking a stateless session bean from a bpel process. The bpel process is throwing:
Failed to lookup EJB home using JNDI name 'ejb/visilient/BPELHelper'; nested exception is:
java.lang.NullPointerException
I can see the ejb jndi name under 'default' app.
Any ideas?
TIAIt is a lovely sample... However, it doesn't cover Complex Types and Exception handling. It would be nice if each example was thorough. Would be a great help.
What I was hoping to achieve is this:
1) Have an EJB deployed
2) Use WSIF for BPEL Processes.
3) Use Web Service interface for AJAX calls etc.
I was hoping that this would be the exact code base and that only a single EJB would be deployed.
So far, it looks like JDeveloper will only support Java WSIF bindings. No EJB Bindings. It also looks like JAXRPC is the best supported WS interface. With that in mind, it deploys a seperate subset of the EJB. Thus causing two seperate deployments. I am working on trying all this out over the next couple days. See where I get.
Anyways, do you have any recommendation for accomplishing what I am wanting to do? 1 deployed EJB, with a WS interface and allowing WSIF bindings. Any other references for me to look at? Should I not be thinking about using JDeveloper for any of the WSDL generation and do all this manually for now?
Thanks,
BradW -
Error while calling ejb service call from BPM service
Hi,
We are using the Oracle 11.1.1.5.0
We are calling ejb service call from BPM service to update the data to Oracle database.
We are getting the below error when we executing the ejb service call from BPM Service.
<Error> <EJB> <BEA-010026> <Exception occurred du
ring commit of transaction Name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliver
yBean.handleCallback(java.lang.String,java.lang.String,java.lang.String,int,bool
ean)],Xid=BEA1-45B91984D57960994897(30845116),Status=Rolled back. [Reason=javax.
transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a p
articipant in two-phase commit. To force this participation, set the GlobalTrans
actionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhas
eCommit for the Data Source = EBSConnection],numRepliesOwedMe=0,numRepliesOwedOt
hers=0,seconds since begin=1,seconds left=60,XAServerResourceInfo[SOADataSource_
base_domain]=(ServerResourceInfo[SOADataSource_base_domain]=(state=rolledback,as
signed=soa_server1),xar=SOADataSource,re-Registered = false),XAServerResourceInf
o[ArCnTaskForms@EBSConnection@EBSConnection_base_domain]=(ServerResourceInfo[ArC
nTaskForms@EBSConnection@EBSConnection_base_domain]=(state=rolledback,assigned=s
oa_server1),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@fa5476,re-Registe
red = false),SCInfo[base_domain+soa_server1]=(state=rolledback),properties=({web
logic.jdbc.remote.EBSConnection=t3://192.168.10.114:8001, weblogic.transaction.n
ame=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(java.la
ng.String,java.lang.String,java.lang.String,int,boolean)]}),local properties=({w
eblogic.jdbc.jta.SOADataSource=[ No XAConnection is attached to this TxInfo ]}),
OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=soa
server1+192.168.10.114:8001+basedomain+t3+, XAResources={eis/tibjms/Queue, eis
/activemq/Queue, WLStore_base_domain_BPMJMSFileStore, WLStore_base_domain__WLS_s
oa_server1, eis/fioranomq/Topic, eis/jbossmq/Queue, eis/Apps/Apps, eis/websphere
mq/Queue, eis/AQ/aqSample, WLStore_base_domain_SOAJMSFileStore, eis/aqjms/Queue,
WSATGatewayRM_soa_server1_base_domain, eis/sunmq/Queue, eis/pramati/Queue, SSCo
nnectionDS_base_domain, eis/tibjms/Topic, eis/tibjmsDirect/Queue, eis/wls/Queue,
eis/tibjmsDirect/Topic, EDNDataSource_base_domain, eis/wls/Topic, eis/aqjms/Top
ic, RL3TST_base_domain, ArCnTaskForms@EBSConnection@EBSConnection_base_domain, S
OADataSource_base_domain, WLStore_base_domain_UMSJMSFileStore_auto_2},NonXAResou
rces={})],CoordinatorURL=soa_server1+192.168.10.114:8001+base_domain+t3+): weblo
gic.transaction.RollbackException: Could not prepare resource 'ArCnTaskForms@EBS
Connection@EBSConnection_base_domain
JDBC driver does not support XA, hence cannot be a participant in two-phase comm
it. To force this participation, set the GlobalTransactionsProtocol attribute to
LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source
= EBSConnection
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
TransactionImpl.java:1881)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
rverTransactionImpl.java:345)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
sactionImpl.java:239)
at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocal
Object.java:622)
at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetr
y(BaseLocalObject.java:455)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Sess
ionLocalMethodInvoker.java:52)
at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDelivery
LocalBeanImpl.handleCallback(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMes
sageHandler.handle(CallbackDeliveryMessageHandler.java:47)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
hHelper.java:140)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
hTask.java:88)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
k.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.transaction.xa.XAException: JDBC driver does not support XA, he
nce cannot be a participant in two-phase commit. To force this participation, se
t the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended)
or EmulateTwoPhaseCommit for the Data Source = EBSConnection
at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
a:83)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:1327)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:513)
at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
8)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
.>
<12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
0000> <failed to handle message
javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot
be a participant in two-phase commit. To force this participation, set the Globa
lTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateT
woPhaseCommit for the Data Source = EBSConnection
at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
a:83)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:1327)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:513)
at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
8)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
<12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
0000> <Failed to handle dispatch message ... exception ORABPEL-05002
Message handle error.
error while attempting to process the message "com.collaxa.cube.engine.dispatch.
message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
driver does not support XA, hence cannot be a participant in two-phase commit.
To force this participation, set the GlobalTransactionsProtocol attribute to Log
gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
SConnection
This error contained an exception thrown by the message handler.
Check the exception trace in the log (with logging level set to debug mode).
ORABPEL-05002
Message handle error.
error while attempting to process the message "com.collaxa.cube.engine.dispatch.
message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
driver does not support XA, hence cannot be a participant in two-phase commit.
To force this participation, set the GlobalTransactionsProtocol attribute to Log
gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
SConnection
This error contained an exception thrown by the message handler.
Check the exception trace in the log (with logging level set to debug mode).
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
hHelper.java:207)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
hTask.java:88)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
k.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
>
Could any body help on this issue.It is little bit urgent for us to resolve.
Thanks in advance.Thanks Sudipto Desmukh,
The link is helpful me to resolve this issue.
Thanks,
Narasimha E -
Getting error while calling ejb business methods from servlet
Hi
Iam getting error when i try to call a ejb method from servlet.Error is
"com.netscape.server.eb.UncheckedException: unchecked exception nested exception is:java.lang.NullPointerException".
I build the application and deployed it successfully.Iam using IAS 6.O with windows NT 4.0.
This is just a method which takes values from database and return as an array of bean to servlet.
Any help on this.Thanks ShankHi
I was using the session bean.Your suggestion helped me a lot.Perfect.
I debug my program and found that from ejbCreate()exception is getting.
I was getting the datasource object thro ejb create() initialisation.
Somehow the look up jndi which i mentioned was not interpretting from ejb-jar.xml ias-ejb-jar.xml and datasource ref .Due to this iam getting jndi Namenotfound exception which in turns to null pointer as datasource is getting null.
when i hardcoded in the ejb the the jndi name for datasource it is working fine.Bit worried all the existing ejbs working with the xml referenced datasource and jndi,but when i added a new ejb with same properties it is failing to get the jndi name.
Piece of code from ias-ejb-jar.xml
<resource-ref>
<res-ref-name>myDataSource</res-ref-name>
<jndi-name>jdbc/nb/myData</jndi-name>
</resource-ref>
Piece of code from ejb-jar.xml
<resource-ref>
<res-ref-name>myDataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Thanks a lot meka -
Error while calling EJB with a heavyweight Object Parameter
Hi Everybody,
I am getting the following Error when i call a EJB with a heavyweight Object Parameter in Sun ONE Application Server 7.0.0_04.
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: org.omg.CORBA.BAD_PARAM: java.util.PropertyResourceBundle vmcid: OMG minor code: 6 completed: Maybe
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.util.Utility.throwNotSerializableForCorba(Utility.java:1018)
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:691)
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
[03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1062)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:259)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.corba.TCUtility.marshalIn(TCUtility.java:136)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.corba.AnyImpl.write_value(AnyImpl.java:599)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_any(CDROutputStream_1_0.java:538)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_any(CDROutputStream.java:233)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.writeAny(ShutdownUtilDelegate.java:196)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at javax.rmi.CORBA.Util.writeAny(Util.java:78)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.write_Array(ValueHandlerImpl.java:446)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:134)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:916)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:651)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:263)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.OutputStreamHook.defaultWriteObject(OutputStreamHook.java:129)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at java.util.Vector.writeObject(Vector.java:1017)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.writeObject(Native Method)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.invokeObjectWriter(IIOPOutputStream.java:560)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:523)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1062)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:651)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:263)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:1082)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.iiop.CDROutputStream.write_value(CDROutputStream.java:259)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.copyObjects(Util.java:440)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at javax.rmi.CORBA.Util.copyObjects(Util.java:296)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.hrsystem.ejb._HRSystem_Stub.get(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.transaction.AddressType.submitAddressChange(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.transaction.AddressType.submitToSAP(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.mydata.servlet.MyDataConfirmationServlet.processServlet(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.core.servlet.EnetBaseHttpServlet.service(Unknown Source)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/Jun/2005:13:40:40] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: java.rmi.UnexpectedException: java.io.IOException: Serializable readObject method failed internally
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.wrapException(Util.java:370)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at javax.rmi.CORBA.Util.wrapException(Util.java:277)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.hrsystem.ejb._HRSystem_Stub.get(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.transaction.AddressType.submitAddressChange(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.transaction.AddressType.submitToSAP(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.mydata.servlet.MyDataConfirmationServlet.processServlet(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.mot.hris.core.servlet.EnetBaseHttpServlet.service(Unknown Source)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
[03/Jun/2005:13:40:41] WARNING ( 2484): CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
Can someone please help to solve this.
Regards,
SunilUnfortunately there's not really enough information for anyone to help you much. I can tell you've hit an EOF Exception, but that's about it.
What exactly do you mean by a heavyweight object parameter? Do you mean a large (in memory size) object?
Without any knowledge of your application, I'd probably start by changing your ejb method to do nothing. That should tell you at least whether it's the serialization of the parameter that's the issue or not. Narrow it down from there.
If you need more help, printing the entire stack trace of the EOFException and posting it here would be helpful.
-- Rob -
Error acceessing remote EJB 2.0 from OSB
Hi All,
I am trying to access a remote EJB(2.0) from OSB. When i am trying to connect to the EJB i am getting this error.
"java.net.ConnectException: Connection refused: connect; No available router to destination"
I have built the WSDl based on the client jar that is provided and then configured the JNDI Provider. Then I provided the endpoint EJB URL in the following format.
ejb:JNDIProviderName:ConnectionfactoryName:JNDIName.
Let me know if i have missed out any configuration in order to access EJB. Your help is appreciated as we are struck in SIT.
Thanks,
B
.Strange question. If you know EJB 2 and you know EJB 3, you should be able to answer this question yourself. If you don't know one of the two, you shouldn't be asking this question but hitting the books.
As for the errors you are getting, the error couldn't be more clear:
java.lang.NoClassDefFoundError: com/fammllc/exceptions/LubeNominationExceptionIt doesn't even have something to do with EJBs, its a simple case of class not found. The warning is more odd as the EJB 3 spec defines that transactions should default to REQUIRED, not "NOT_SUPPORTED". If EJB 3 would really be in play here, you wouldn't be getting this warning. Its probably a case of "read the manual" - the manual of whatever container you are using (I'm guessing Weblogic, which has its own forum here: https://forums.oracle.com/forums/category.jspa?categoryID=193).
Edited by: gimbal2 on May 10, 2012 4:56 AM -
Error adding session EJBs set to a project
I have problem adding a set of session EJBs to my JSC2 project.
I have deployed an EJB module created with NetBeans 5.0 to Java Application Server 8 embedded in Creator 2 and I would add them to my JSF web application, but when I run the wizard inserting this data:
EJB Set Name: EjbModule1
Application Server: Sun Java System Application Server 8.1
Server Host: localhost
RMI-IIOP Port: 23700
Client jar: < the name of the deployed client EJB module >
and pressing "Next" to go to step 2 I get this error message:
"A java.lang.reflect.InvocationTargetException exception has occurred ..."
What is wrong ?
Can someone help me ? Thanks in advanceand pressing "Next" to go to step 2 I get this error
message:
"A java.lang.reflect.InvocationTargetException
exception has occurred ..."I once had this error message. Dongmei helped with this, he found that the problem was a Session bean without remote methods (local methods only). Make sure that all of your EJB Session Beans have remote methods.
Anyway the full error log will be good starting point.
Best regards
Antonio. -
Problems integrating JSF managed bean with Session EJB with JDeveloper
HI All,
I am developeing a JSF-EJB application using Jdeveloper11g. On deploying the application I am getting the following errors on deployment.
<19/08/2010 2:53:49 PM EST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1282193629318' for task '17'. Error is: 'weblogic.application.ModuleException: Could not setup environment'
weblogic.application.ModuleException: Could not setup environment
at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1499)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:442)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
Truncated. see log file for complete stacktrace
Caused By: weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'MetaDataBean' declared in the ejb-ref or ejb-local-ref 'MetaData' in the application module 'ViewControllerWebApp.war' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct.
at weblogic.deployment.BaseEnvironmentBuilder.addEJBLinkRef(BaseEnvironmentBuilder.java:453)
at weblogic.deployment.EnvironmentBuilder.addEJBReferences(EnvironmentBuilder.java:485)
at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:157)
at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3117)
at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
Truncated. see log file for complete stacktrace
>
<19/08/2010 2:53:49 PM EST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'data-catalog'.>
<19/08/2010 2:53:49 PM EST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'data-catalog'.>
<19/08/2010 2:53:49 PM EST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Could not setup environment
at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1499)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:442)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
Truncated. see log file for complete stacktrace
Caused By: weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'MetaDataBean' declared in the ejb-ref or ejb-local-ref 'MetaData' in the application module 'ViewControllerWebApp.war' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct.
at weblogic.deployment.BaseEnvironmentBuilder.addEJBLinkRef(BaseEnvironmentBuilder.java:453)
at weblogic.deployment.EnvironmentBuilder.addEJBReferences(EnvironmentBuilder.java:485)
at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:157)
at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3117)
at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
Truncated. see log file for complete stacktrace
Thanks
Edited by: user5108636 on 18/08/2010 22:46Please find attached the source code of JSF managed bean, local business interface, session bean and web.xml
MANAGED BEAN_
package view.backing;
import java.util.List;
import javax.ejb.EJB;
import javax.faces.component.UISelectItems;
import javax.faces.component.html.HtmlSelectManyListbox;
import model.ejb.session.MetaDataBean;
public class SearchMetaDataBean {
@EJB MetaDataBean metaDataService;
private List<String> tables;
private List<String> columns;
private HtmlSelectManyListbox selectManyListbox1;
private UISelectItems selectItems1;
public void setTables(List<String> tables) {
this.tables = tables;
public List<String> getTables() {
return metaDataService.getTables();
public void setColumns(List<String> columns) {
this.columns = columns;
public List<String> getColumns() {
return columns;
public void setSelectManyListbox1(HtmlSelectManyListbox selectManyListbox1) {
this.selectManyListbox1 = selectManyListbox1;
public HtmlSelectManyListbox getSelectManyListbox1() {
return selectManyListbox1;
public void setSelectItems1(UISelectItems selectItems1) {
this.selectItems1 = selectItems1;
public UISelectItems getSelectItems1() {
return selectItems1;
LOCAL INTERFACE_
package model.ejb.session;
import java.util.List;
import javax.ejb.Local;
@Local
public interface MetaDataLocal {
public List<String> getTables();
public List<String> getColumns(String tableName);
SESSION BEAN_
package model.ejb.session;
import javax.ejb.Local;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.ejb.Stateless;
import javax.sql.DataSource;
@Stateless(name="MetaData")
@Local
public class MetaDataBean implements MetaDataLocal{
@Resource(name="jdbc/DWDS")
private DataSource dataSource;
private Connection connection;
private List<String> tables = new ArrayList<String>();
private List<String> columns = new ArrayList<String>();
private DatabaseMetaData dmd;
@PostConstruct
public void initialize(){
try{
connection = dataSource.getConnection();
DatabaseMetaData dmd;
dmd = connection.getMetaData();
}catch(SQLException sqle){
sqle.printStackTrace();
public MetaDataBean() {
public List<String> getTables(){
try{
if (dmd ==null){
//System.out.println("Database meta data not available");
tables.add("None");
}else{
ResultSet rs = dmd.getSchemas();
ResultSet rs1 = null;
while(rs.next()) {
if (rs.getString(1).equalsIgnoreCase("AV_DATA")){
rs1 = dmd.getTables(null,rs.getString(1),"%",null);
while(rs1.next()) {
tables.add(rs1.getString(3));
}catch (SQLException sqle){
sqle.printStackTrace();
return tables;
public List<String> getColumns(String tableName){
try{
ResultSet rsColumns = dmd.getColumns("", "AV_DATA", tableName, null);
while(rsColumns.next()){
columns.add(rsColumns.getString(4));
}catch (SQLException sqle){
sqle.printStackTrace();
return columns;
WEB.XML_
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<ejb-local-ref>
<ejb-ref-name>MetaData</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local>model.ejb.session.MetaDataLocal</local>
<ejb-link>MetaDataBean</ejb-link>
</ejb-local-ref>
</web-app>
Edited by: user5108636 on 18/08/2010 22:45
Edited by: user5108636 on 18/08/2010 22:46 -
[EJB:011055]Error deploying the EJB with error that JNDI name already inuse
Hi,
I have written a trivial application consisting of 4 stateless beans and 1 MDB. The ear is developed from some code generator tool and works fine if I directly deploy on weblogic server 812.
But in order to learn Weblogic Workshop I created new Application and EJB project. Then I imported the EJB jar and provided other source files.
From Weblogic Workshop I could generate the ear successfully. But while trying to deploy the ear I get the following exception :
<16/03/2005 10:02:38 PM GMT+05:30> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 1 for the application hsbc.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: prepare failed for MCAppBEAN.jar
Module: MCAppBEAN.jar Error: Exception preparing module: EJBModule(MCAppBEAN.jar,status=NEW)
Unable to deploy EJB: StatelessBean from MCAppBEAN.jar:
<b>[EJB:011055]Error deploying the EJB 'StatelessBean(Application: hsbc, EJBComponent: MCAppBEAN.jar)', the JNDI name 'StatelessBeanHSBC' is already in use. You mu
st set a different JNDI name in the weblogic-ejb-jar.xml deployment descriptor for this EJB before it can be deployed.</b> at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2556)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
<b>Can someone tell where have I made the mistake?</b>
thanks in advance.Try to undeploy and un target the applcation via WLS console and they try to deploy it again. Or just try to redeploy it.
-
Session EJB with external jar dependacy problem
I have a Session EJB that I am having trouble adding to my Creator 2 project. The session bean is developed with netbeans 5.0, ejb2.1, for sjsas 8.2 PE. It has one external jar which is compiled into the ejb jar. When I try to add the session bean to my creator 2 project I get a java.lang.reflect.UndeclaredThrowableException. Creator 2 is not finding one of the Exception external jar.
The only way I have been successful in added the session EJB is also add the external jar. But the project fails when you load the page with javax.naming.NameNotFoundException: No object bound to the name java: xxxxxx I believe the EJB is failing at instantiation.
Has anyone had this problem and overcome it?
Thanks,
FrancisFinally I found solution.
Instead of deploying ejb jar to ear I've created a new ear deployment profile (so now I have ejb jar profile and ear profile).
It contains ejb jar + external jar library and custom manifest.mf with class-path to ext. jar.
Difference between this and previous version is the old one ear cointained ejb jar and the ejb jar contained ext. jar.
Now ear contains both ejb jar and ext. jar.
Rado -
Error when creating BufferedImage with IndexColorModel from a byte array.
Hi, I have a 1-dimentional byte array and an IndexColorTable, and I can't figure out how to combine the 2 into an BufferedImage without unnecessary copying/reallocating of the image buffer.
The color model I have is:
int [] cmap = new int [numColors];
cmap[i++] = 0xffa0f000; /etc.
new IndexColorModel(8, 22, cmap, 0, true, transparentIndex, DataBuffer.TYPE_BYTE );Thanks for your help
-Ben
Ps.
I've was looking at some example code (http://javaalmanac.com/egs/java.awt.image/Mandelbrot2.html?l=rel), and can't figure out how to go from the color model they're using to the one I have (the 8 bit one specified above). When I replace the 4bit colormodel in the code below with the 8bit color model specified above, I get the following error:
[java] java.lang.IllegalArgumentException: Raster ByteInterleavedRaster: width = 5120 height = 3520 #numDataElements 1 dataOff[0] = 0 is incompatible with ColorModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@c51355 transparency = 2 transIndex = 22 has alpha = true isAlphaPre = false
[java] at java.awt.image.BufferedImage.<init>(BufferedImage.java:613)
Code:
byte[] pixelArray = (byte[]) getData_CHAR();
int width = 5120;
int height = 3520;
int numbytes = width*height;
//create DataBuffer using byte buffer of pixel data.
DataBuffer dataBuffer = new DataBufferByte(pixelArray, numbytes, 0);
//prepare a sample model that specifies a storage 8-bits of pixel data in an 8-bit data element
int bitMasks[] = new int[]{0xf};
SinglePixelPackedSampleModel sampleModel = new SinglePixelPackedSampleModel(DataBuffer.TYPE_BYTE, width, height, bitMasks);
//create a raster using the sample model and data buffer
WritableRaster writableRaster = Raster.createWritableRaster(sampleModel, dataBuffer, new Point(0,0));
//generate 16-color model
byte[] r = new byte[16];
byte[] g = new byte[16];
byte[] b = new byte[16];
r[0] = 0; g[0] = 0; b[0] = 0;
r[1] = 0; g[1] = 0; b[1] = (byte)192;
r[2] = 0; g[2] = 0; b[2] = (byte)255;
r[3] = 0; g[3] = (byte)192; b[3] = 0;
r[4] = 0; g[4] = (byte)255; b[4] = 0;
r[5] = 0; g[5] = (byte)192; b[5] = (byte)192;
r[6] = 0; g[6] = (byte)255; b[6] = (byte)255;
r[7] = (byte)192; g[7] = 0; b[7] = 0;
r[8] = (byte)255; g[8] = 0; b[8] = 0;
r[9] = (byte)192; g[9] = 0; b[9] = (byte)192;
r[10] = (byte)255; g[10] = 0; b[10] = (byte)255;
r[11] = (byte)192; g[11] = (byte)192; b[11] = 0;
r[12] = (byte)255; g[12] = (byte)255; b[12] = 0;
r[13] = (byte)80; g[13] = (byte)80; b[13] = (byte)80;
r[14] = (byte)192; g[14] = (byte)192; b[14] = (byte)192;
r[15] = (byte)255; g[15] = (byte)255; b[15] = (byte)255;
//create buffered image
ColorModel colorModel = new IndexColorModel(4, 16, r, g, b);
BufferedImage image = new BufferedImage(colorModel, writableRaster, false, null);Message was edited by:
ben_weisburd
Message was edited by:
ben_weisburdI had the same problem too.
anyone found the solution for this problem?
thanks
Bruno Rabino
When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
Error creating module: ORA-01403: no data found (WWV-16042)
When I use the table with the BLOB as master or in a form, it works fine.
Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
Portal version: 3.0.6.6.5
null -
Transcoding Sessions unregistered with CUCM from standby gateway of CUBE with HA usingHSRP
I have 2 C2921 routers working fine untill I enbale CUBE with HA. After configureing HSRP on ethernet interface, the transcoding and conferencing resources were unregistered on HSRP standby router even though I bind the sccp ccm group to physical interface.
Raised Cisco TAC, but they also could not solve yet. Cisco TAC recommanded to have loopback or another interface.
I configure gi02/ without HSRP configuration, but still the transcoding and conferencing resources are not getting registered. Cisco TAC is still analysing the logs.
I am hoping I get resolution here. Configuration of standby router is below.
Building configuration...
Current configuration : 13985 bytes
! Last configuration change at 15:07:25 BST Fri Aug 1 2014
! NVRAM config last updated at 15:07:25 BST Fri Aug 1 2014
version 15.4
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service password-encryption
service internal
service sequence-numbers
hostname CHN-RT-VG01
boot-start-marker
boot system flash:c2900-universalk9_npe-mz.SPA.154-3.M.bin
boot system flash:c2900-universalk9_npe-mz.SPA.154-2.T1.bin
boot-end-marker
! card type command needed for slot/vwic-slot 0/0
card type e1 0 1
card type e1 0 2
logging queue-limit 10000
logging buffered 10000000
logging rate-limit 10000
no logging console
enable secret 4 XkK1t85uKpzHay4O0x8hP0rt1uO7UwNlcWBLwLAsn3Y
ipc zone default
association 1
no shutdown
protocol sctp
local-port 5000
local-ip 10.215.8.148
remote-port 5000
remote-ip 10.215.8.149
--More-- no aaa new-model
clock timezone BST 0 0
clock summer-time BST date Mar 28 1993 0:00 Oct 27 2035 23:59
network-clock-participate wic 1
network-clock-participate wic 2
network-clock-select 1 E1 0/1/0
network-clock-select 2 E1 0/1/1
network-clock-select 3 E1 0/2/0
no ip domain lookup
ip domain name DILFLPROD.CO.UK
--More-- ip cef
ipv6 multicast rpf use-bgp
no ipv6 cef
multilink bundle-name authenticated
isdn switch-type primary-4ess
cts logging verbose
crypto pki trustpoint TP-self-signed-3464013556
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3464013556
revocation-check none
rsakeypair TP-self-signed-3464013556
crypto pki certificate chain TP-self-signed-3464013556
certificate self-signed 01
3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33343634 30313335 3536301E 170D3132 31313232 30353530
30345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 34363430
31333535 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100FD06 30324087 5D131745 446B6933 963E32DB 4B3F78D3 C2627F7B A68792EA
0686B7C1 93B66C1A 2287DD72 26AC10BE F6B5DE89 CEF9C800 836DAD25 4A32FC52
99A65E45 FAD97919 4BD2CFC8 136EB9AC F7F21045 0A930247 0E72CE1B 1C00D1BD
59B83BED 73639AA5 C78A657B EC55F15B 5287703C 3ED94E47 492DFAD0 89934B27
5CD10203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
551D2304 18301680 146F6961 3C46FDE7 C105ADBF 5C07A675 7F7B5828 E1301D06
03551D0E 04160414 6F69613C 46FDE7C1 05ADBF5C 07A6757F 7B5828E1 300D0609
2A864886 F70D0101 05050003 8181005E 509EACC9 67205643 133DD745 5A6E7C82
7AAE0766 C68C215B 6222A86F A08AC77D 1030664E F77F6CFB CF021C94 BC5FB190
FEA96EE9 5A502DC6 D4407467 9662683E CFDC1779 4016A9A0 32EF415D 6E21DF53
D710D173 7BFC300A FDEE54D8 36BBED28 05A6A752 652F2550 E6BC5896 D4EC222A
C82C1B2A 4FEF6ED3 44DE109E DD796E
--More-- quit
voice-card 0
dspfarm
dsp services dspfarm
voice call send-alert
voice service voip
mode border-element
allow-connections sip to sip
redundancy
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
early-offer forced
midcall-signaling passthru
g729 annexb-all
voice translation-rule 100
rule 1 /^44845..\(.....\)/ /\1/
rule 3 /^4411...\(....\)/ /2\1/
voice translation-profile LiveOpsInbound
translate called 100
voice translation-profile OutboundtoKolDDI
translate called 1
--More-- !
application
global
service alternate Default
license udi pid CISCO2921/K9 sn FCZ164760NP
hw-module pvdm 0/0
hw-module pvdm 0/1
username controller privilege 15 password 7 050F0F03284B4B070D04
username voiceadmin privilege 15 password 7 1514190501242F37243A3327
username shaums privilege 15 password 7 151602000D2D2E2A3C32
username 745162 privilege 15 password 7 08254542001E0019060A
username 256108 privilege 15 password 7 0124030858040B0A70
redundancy inter-device
scheme standby SB
redundancy
no keepalive-enable
notification-timer 60000
controller E1 0/1/0
pri-group timeslots 1-31 service mgcp
controller E1 0/1/1
pri-group timeslots 1-31 service mgcp
controller E1 0/2/0
pri-group timeslots 1-31 service mgcp
controller E1 0/2/1
pri-group timeslots 1-31 service mgcp
track 1 interface GigabitEthernet0/0 line-protocol
track 2 interface GigabitEthernet0/1 line-protocol
interface Embedded-Service-Engine0/0
no ip address
shutdown
interface GigabitEthernet0/0
description **Inside***
ip address 10.215.8.132 255.255.255.240
standby delay minimum 30 reload 60
standby version 2
standby 1 ip 10.215.8.135
standby 1 priority 50
standby 1 preempt
standby 1 name SB
standby 1 track 2 decrement 10
duplex auto
speed auto
interface GigabitEthernet0/1
description **Outside***
ip address 10.215.8.148 255.255.255.240
standby delay minimum 30 reload 60
standby version 2
standby 2 ip 10.215.8.150
standby 2 priority 50
standby 2 preempt
standby 2 track 1 decrement 10
duplex auto
speed auto
media-type rj45
--More-- !
interface GigabitEthernet0/2
ip address 10.215.8.164 255.255.255.240
duplex full
speed 1000
interface Serial0/1/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
interface Serial0/1/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
interface Serial0/2/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
interface Serial0/2/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
isdn bind-l3 ccm-manager
no cdp enable
ip forward-protocol nd
--More-- ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip rtcp report interval 3000
ip route 0.0.0.0 0.0.0.0 10.215.8.129
ip sla auto discovery
ip sla 40001
udp-jitter 10.215.191.3 17000 source-ip 10.215.8.132 codec g729a codec-numpackets 100
tos 184
owner SW.IpSla.CHVISM0210.SolarWindsOrion
frequency 300
timeout 180000
threshold 1000
ip sla schedule 40001 life forever start-time now
ip sla 40003
udp-jitter 10.215.221.131 17000 source-ip 10.215.8.132 codec g729a codec-numpackets 100
tos 184
owner SW.IpSla.CHVISM0210.SolarWindsOrion
frequency 300
timeout 180000
threshold 1000
ip sla schedule 40003 life forever start-time now
no logging trap
snmp-server community m&9C4rd4L%mw RO 10
snmp-server community m&9C4rd4L%m RW 10
snmp-server enable traps isdn call-information
snmp-server enable traps isdn layer2
snmp-server enable traps isdn chan-not-avail
snmp-server enable traps isdn ietf
snmp-server host 10.215.10.10 version 2c m&9C4rd4L%mw
snmp-server host 10.215.232.202 version 2c m&9C4rd4L%mw
tftp-server flash0:SCCP42.9-1-1SR1S.loads
tftp-server flash0:apps42.9-1-1TH1-16.sbn
tftp-server flash0:cnu42.9-1-1TH1-16.sbn
--More-- tftp-server flash0:cvm42sccp.9-1-1TH1-16.sbn
tftp-server flash0:dsp42.9-1-1TH1-16.sbn
tftp-server flash0:jar42sccp.9-1-1TH1-16.sbn
tftp-server flash0:term42.default.loads
tftp-server flash0:term62.default.loads
tftp-server flash0:/c2600-ipvoicek9-mz.124-25d.bin
access-list 23 permit 10.10.10.0 0.0.0.7
control-plane
voice-port 0/1/0:15
voice-port 0/2/0:15
voice-port 0/1/1:15
voice-port 0/2/1:15
mgcp
mgcp call-agent 10.215.8.7 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp bind control source-interface GigabitEthernet0/0
mgcp bind media source-interface GigabitEthernet0/0
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
--More-- mgcp behavior comedia-sdp-force disable
mgcp profile default
sccp local GigabitEthernet0/2
sccp ccm 10.215.8.7 identifier 1 priority 1 version 7.0
sccp ccm 10.215.8.6 identifier 2 priority 2 version 7.0
sccp ccm group 1
bind interface GigabitEthernet0/2
associate ccm 1 priority 1
associate ccm 2 priority 2
associate profile 2 register CFBCHEVG1
associate profile 1 register XCODERCHEVG1
ccm-manager music-on-hold
ccm-manager fallback-mgcp
ccm-manager redundant-host 10.215.8.6
ccm-manager mgcp
no ccm-manager fax protocol cisco
ccm-manager config server 10.215.8.6
ccm-manager config
dspfarm profile 1 transcode
codec g729r8
codec ilbc
codec pass-through
codec g722-64
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
maximum sessions 70
associate application SCCP
dspfarm profile 2 conference
codec g729br8
codec g729r8
codec g729abr8
--More-- codec g729ar8
codec g711alaw
codec g711ulaw
codec g722-64
codec ilbc
maximum sessions 10
associate application SCCP
dial-peer voice 1 pots
description **Incoming Dial Peer**
incoming called-number .
direct-inward-dial
dial-peer voice 2 pots
description **Outbound Dialpeer**
translation-profile outgoing OutboundtoKolDDI
destination-pattern 02083917600
incoming called-number .
port 0/1/1:15
dial-peer voice 3 pots
description **Outbound Dialpeer**
translation-profile outgoing OutboundtoKolDDI
destination-pattern 02083917600
incoming called-number .
port 0/2/0:15
dial-peer voice 4 pots
description **Outbound Dialpeer**
translation-profile outgoing OutboundtoKolDDI
destination-pattern 02083917600
incoming called-number .
port 0/2/1:15
dial-peer voice 100 voip
description to-DorkingCUCM
translation-profile outgoing LiveOpsInbound
destination-pattern 44..........
session protocol sipv2
session target ipv4:10.156.125.2
--More-- incoming called-number .
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
codec g711ulaw
no vad
dial-peer voice 200 voip
description to-LiveOpsCCC
preference 1
destination-pattern .T
session protocol sipv2
session target ipv4:x.x.x.x
incoming called-number 44..........
voice-class sip bind control source-interface GigabitEthernet0/1
voice-class sip bind media source-interface GigabitEthernet0/1
dtmf-relay rtp-nte
codec g711ulaw
no vad
dial-peer voice 300 voip
description to-LiveOpsCCC
preference 2
destination-pattern .T
session protocol sipv2
session target ipv4:x.x.x.x
incoming called-number 44..........
voice-class sip bind control source-interface GigabitEthernet0/1
voice-class sip bind media source-interface GigabitEthernet0/1
dtmf-relay rtp-nte
codec g711ulaw
no vad
dial-peer voice 101 voip
description to-ChessingtonCUCM
translation-profile outgoing LiveOpsInbound
preference 1
destination-pattern 44..........
session protocol sipv2
session target ipv4:10.215.8.7
--More-- incoming called-number 40008
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
codec g711ulaw
no vad
dial-peer voice 102 voip
description to-ChessingtonCUCM
translation-profile outgoing LiveOpsInbound
preference 2
destination-pattern 44..........
session protocol sipv2
session target ipv4:10.215.8.6
incoming called-number 40008
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
codec g711ulaw
no vad
dial-peer voice 103 voip
description to-DorkingCUCM
preference 1
shutdown
destination-pattern 25544
session protocol sipv2
session target ipv4:10.156.125.2
incoming called-number .
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
codec g711ulaw
no vad
dial-peer voice 104 voip
description to-ChessingtonCUCM
translation-profile outgoing LiveOpsInbound
preference 1
shutdown
--More-- destination-pattern 40008
session protocol sipv2
session target ipv4:10.215.8.7
incoming called-number .
voice-class sip bind control source-interface GigabitEthernet0/1
voice-class sip bind media source-interface GigabitEthernet0/1
dtmf-relay rtp-nte
codec g711ulaw
no vad
gateway
media-inactivity-criteria all
timer receive-rtcp 5
timer receive-rtp 1200
gatekeeper
shutdown
banner login ^CC
"This system and components thereof is the sole and exclusive property of Diligenta and is intended solely for the usage of its authorized administrators. Unauthorized access or use will attract appropriate legal action.
Access would be bound by Diligenta policies and could be monitored. Do not use this system, if the terms are not acceptable."
^C
line con 0
login local
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
privilege level 15
login local
--More-- transport input ssh
line vty 5 15
privilege level 15
login local
transport input ssh
scheduler allocate 20000 1000
endI don't have an answer for you but would like to add a note. I was initially configuring and troubleshooting some things on a HA cube pair recently. I was using external DNS for some dial-peer session target lookup and noticed the non-active CUBE could not lookup DNS. When the non-active CUBE became active it could all of a sudden resolve DNS. So I am speculating that something to do with the HA configuration is disallowing communication or bindings preventing routing to the rest of the network from the non-active CUBE. I ended up putting local host records on the router to make me feel better. I am guessing whatever is causing that might be related to the reason your SCCP is loosing registration on the non-active CUBE.
Jaime says what you are trying to do is not supported anyway. I would like a a little clarification on that but what I believe to be supported is if you need transcoding or mtp resources for this CUBE only (Not registered to UCM) then LTI is a good option.
http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-border-element/115018-configure-cube-lti.html
Hope any of this helps. I am really commenting so I can track any updates to this thread. :) -
Error during the work with KPI from MSAS 2012.
Good afternoon. You couldn't help me.
At me it is established on the Sharepoint 2013 SP1 Enterprise Trial server. On other MS SQL 2012 SP2 and MSAS Multidimensional server.
I configure Sharepoint 2013 BI features and PerformancePoint Services.
Also it was connected to the cube. All dimensions and measures are visible and I can work with them and create reports and dashboards.
But I can create in Scorecards only new KPI on the basis of my measures. In attempt of import already existing in Analysis services KPI's there is a mistake : (from system log)
There was an unforeseen error: 13365.
System.IO.FileNotFoundException:
It is impossible to load the file or assembly "Microsoft.AnalysisServices, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
or one of components, dependent on them. It isn't possible to find the specified file.
File name: "Microsoft.AnalysisServices, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
in Microsoft.PerformancePoint.Scorecards.Server.ImportExportHelper.GetImportableAsKpis(DataSource asDataSource)
in Microsoft.PerformancePoint.Scorecards.Server.PmServer.GetImportableAsKpis(DataSource dataSource)Hi,
Please try following the note 206168. which tells you to change the r3trans.
If you have changed the r3trans earlier, then try using the same r3trans as provided in the kernel CD.
Hope this helps
Regards,
Imran -
Error when create JLabel with ImageIcon from server
Hi!
When I run applet that contain JLabel(String, ImageIcon, int) from server I get follow error: "java.security.AccessControlException: access denied (java.io.FilePermission middle-1.gif read)". .gif-file and .class-file are located in the same directory. From local disk this applet run successfully. Who can help me?
Thanks.Look at the docs for Applet class, and use getImage()
from there. Running in browser is quite different
than to run locally...
Better yet to pack image and classes in jar file,
and read from there with getResourceAsStream()
( search forums, there were examples ) -
Passing complex XML to session EJB with automatic WSIF mapping
Per Re: invoking ejb using wsif
it looks like WSIF can pass DOM to EJB. Can anyone point me to an example using WSIF to pass a complex document to EJB uin the form of DOM, String or JAX-RPC?We found couple of solutions for passing DOM to EJB :
1. you can create a facade java object and pass the facade to the ejb layer as a value object
2. you can extract the element for that anyType and pass that dom element to the ejb layer.
We will plan to add some samples around this.
HTH.
Thanks,
Rakesh
Maybe you are looking for
-
Hi, I cut 9 hours worth of broadcast video in PP CC 2014 8.0. (The yellow interface.) I had no issues. It was all great. For some reason, before I exported the finished cuts for broadcast, I updated the Adobe CC 2014 suite to v1.8.0.447 (PP has the b
-
Error while calling SQLJ procedure
Hi all, I am using a datasource created in WebSphere to call the SQLJ procedure from an EJB. I am getting the following error trace while instanting the SQLJ procedure class. I am using Spring's DAO Service-config to get the Datasource and thus the C
-
I want to email a short iMovie
I want to email a 42 sec. iMovie. I published in "tiny" format. When do I see the .mov extension? Do I need to use Quicktime? Quicktime won't open this .rcproject. Should I try to make it a .wmv file? Because more people could open it that way? Thank
-
Installing Adobe Air on Samsung Tab w/Android 4.2.2 install fails and error 24 is shown.
-
What is the best PC laptop to use with Premiere Pro 2014?
I'm excited that I get to buy a NEW LAPTOP!!! I'm editing a documentary with tons of footage. I'll use external SSD drive for files. What is the best PC laptop to get for editing movies on Premiere Pro 2014? I can spend up to $1500 Thanks SO MUCH fo