WKLPI Excpetion while calling a public workflow
Hi,
I am getting an error as follows
Cannot identify a unique CA based on selection criterias.
Exception while creating a subworkflow instance object.....
I get this error while invoking a public workflow from a task.
Has anyone encountered a similiar case....aor does anyine know how to rectify
this error
Regards
Raj
Seems like after calling a java method from a native code using JNIEnv*, it is not reusable. How can i achieve my goal ?By keeping instead another structure as a class variable: JavaVM*.
With that variable you can retrieve JNIEnv* in each C++ method you need it.
Suppose you want to use JNIEnv* in SomeCppClass::someCppMethod() method:class SomeCppClass {
private:
JavaVM * jvm;
public:
SomeCppClass();
~SomeCppClass();
void someCppMethod();
SomeCppClass::SomeCppClass() : jvm(NULL) {
JavaVMInitArgs vm_args;
JNIEnv * env;
if (JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args) != 0) {
// some error handling
SomeCppClass::~SomeCppClass() {
if (jvm != NULL) {
jvm->DetachCurrentThread();
jvm->DestroyJavaVM();
jvm = NULL;
void SomeCppClass::someCppMethod() {
JNIEnv * env;
if (jvm->AttachCurrentThread((void **)&env, NULL) < 0) {
// some error handling
}Regards
Similar Messages
-
Excpetion while calling NewObjectArray 2 times
I am calling a C++ method from another C++ code 2 times. First time, it works ok but second time, JVM throws an exception and terminates. Any idea ? It throws an exception while calling
_env->NewObjectArray
I have posted relavant portion of my method
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d739bf5, pid=3592, tid=2888
# Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09 mixed mode)
# Problematic frame:
# V [jvm.dll+0x89bf5]
# An error report file with more information is saved as hs_err_pid3592.log
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
jclass cls;
jmethodID mid;
jstring domainString;
jstring userLogonNameString;
jstring userCommonNameString;
jstring userDisplayNameString;
jstring userDescriptionString;
domainString = _env->NewStringUTF(domain);
userLogonNameString = _env->NewStringUTF(userLogonName);
userCommonNameString = _env->NewStringUTF(userCommonName);
userDisplayNameString = _env->NewStringUTF(userDisplayName);
userDescriptionString = _env->NewStringUTF(userDescription);
printf("After NewStringUTF\n");
cls=_env->GetObjectClass(_obj);
printf("After GetObjectClass\n");
printf("Number of Members %d\n",noOfMembers);
jobjectArray ret;
if (noOfMembers > 0)
ret=(jobjectArray)_env->NewObjectArray(noOfMembers,
_env->FindClass ("java/lang/String"),
_env->NewStringUTF(""));
printf("After NewObjectArray\n");
for(int i=0;i<noOfMembers;i++) {
jstring jStr = _env->NewStringUTF(memberOfArr);
_env->SetObjectArrayElement(ret,i,jStr);
_env->DeleteLocalRef(jStr);
mid=_env->GetMethodID(cls, "updateModel",
"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V");
if (mid == 0) {
printf("%s\n","Can't find method updateModel");
return ;
_env->ExceptionClear();
_env->CallVoidMethod(_obj, mid,domainString,userLogonNameString,userCommonNameString,userDisplayNameString,userDescriptionString,ret);
_env->DeleteLocalRef(domainString);
_env->DeleteLocalRef(userLogonNameString);
_env->DeleteLocalRef(userCommonNameString);
_env->DeleteLocalRef(userDisplayNameString);
_env->DeleteLocalRef(userDescriptionString);
_env->DeleteLocalRef(ret);Seems like after calling a java method from a native code using JNIEnv*, it is not reusable. How can i achieve my goal ?By keeping instead another structure as a class variable: JavaVM*.
With that variable you can retrieve JNIEnv* in each C++ method you need it.
Suppose you want to use JNIEnv* in SomeCppClass::someCppMethod() method:class SomeCppClass {
private:
JavaVM * jvm;
public:
SomeCppClass();
~SomeCppClass();
void someCppMethod();
SomeCppClass::SomeCppClass() : jvm(NULL) {
JavaVMInitArgs vm_args;
JNIEnv * env;
if (JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args) != 0) {
// some error handling
SomeCppClass::~SomeCppClass() {
if (jvm != NULL) {
jvm->DetachCurrentThread();
jvm->DestroyJavaVM();
jvm = NULL;
void SomeCppClass::someCppMethod() {
JNIEnv * env;
if (jvm->AttachCurrentThread((void **)&env, NULL) < 0) {
// some error handling
}Regards -
Unable to send a message from Private workflow to Public Workflow!!!
hi,
I have one RequestorPrivate & Requestor Public workflow.
The Requestor Private is triggered by an XML Event and performs some business
operartions and based on a certain condition,
it triggers Public workflow.
My problem is, when i start my public workflow i'm specifying the xml variable
to be passed.
How i can caputure the same variable in the public workflow???
1.Whether we need to get it while starting the public workflow??
or
2.WLPI itself handles this???I mean, public workflow automatically gets it???
From the HelloPartner Example (that is bundled with Collaborate),
is just passing the variable from private workflow , but not getting in the start
node of the Public Workflow.From that i got the picture that WLPI handles this
by itself???
If this is the situation why i'm getting a NullPointerException, in my case when
i tried to get the incomming message in my public workflow???
Expecting an early response..
Thanks in advance
SreekalaDear Pradeep,
1. Yes, our SMS provider is "HTTP compatible"
2. I kept Maximum length = 300 bytes, as our registered message with provider was bit lengthy and rest of the settings in the screen shot remains same.
Issue still remains. Is there any thing do with " Device types for Format conversion " (scot-->settings-->Device types for Format conversion) ?
Please suggest.
Rgds,
Durga. -
SQLException while calling a Stored Procedure in Oracle
Hi all,
I am getting this error while calling a Stored Procedure in Oracle...
java.sql.SQLException: ORA-00600: internal error code, arguments: [12259], [], [
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:207)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:540)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1273)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:780)
at oracle.jdbc.driver.OracleResultSet.next(OracleResultSet.java:135)
at StoredProcedureDemo.main(StoredProcedureDemo.java:36)
The Program is ...
import java.sql.*;
public class StoredProcedureDemo {
public static void main(String[] args) throws Exception {
Connection con = null;
ResultSet rs = null;
Statement st = null;
CallableStatement cs = null;
int i;
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
con = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:SHYAM","scott","tiger");
System.out.println("Got Connection ");
st = con.createStatement();
String createProcedure = "create or replace PROCEDURE Get_emp_names (Dept_num IN NUMBER) IS"
+" Emp_name VARCHAR2(10);"
+" CURSOR c1 (Depno NUMBER) IS"
+" SELECT Ename FROM emp WHERE deptno = Depno;"
+" BEGIN"
+" OPEN c1(Dept_num);"
+" LOOP"
+" FETCH c1 INTO Emp_name;"
+" EXIT WHEN C1%NOTFOUND;"
+" END LOOP;"
+" CLOSE c1;"
+" END;";
System.out.println("Stored Procedure is \n"+createProcedure);
i = st.executeUpdate(createProcedure);
System.out.println("After creating the Stored Procedure "+i);
cs = con.prepareCall("{call Get_emp_names(?)}");
System.out.println("After calling the Stored Procedure ");
cs.setInt(1,20);
System.out.println("Before executing the Stored Procedure ");
rs = cs.executeQuery();
System.out.println("The Enames of the given Dept are ....");
while(rs.next()) {
System.out.println("In The while loop ");
System.out.println(rs.getString(1));
catch (Exception e) {
e.printStackTrace();
Stored Procedure is ...
create or replace PROCEDURE Get_emp_names (Dept_num IN NUMBER) IS
Emp_name VARCHAR2(10);
CURSOR c1 (Depno NUMBER) IS
SELECT Ename FROM emp WHERE deptno = Depno;
BEGIN
OPEN c1(Dept_num);
LOOP
FETCH c1 INTO Emp_name;
EXIT WHEN C1%NOTFOUND;
END LOOP;
CLOSE c1;
END;
Stored procedure is working properly on sql*plus(Oracle 8.1.5)) editor. But it is not working from a standalone java application. Can anyone please give me a solution.
thanks and regards
Shyam KrishnaThe first solution is to not do that in java in the first place.
DDL should be in script files which are applied to oracle outside of java.
Other than I believe there are some existing stored procedures in Oracle that take DDL strings and process them. Your user has to have permission of course. You can track them down via the documentation. -
Getting ClassCastException while calling a method in webservice
I wrote small webservice using axis. It is returning array of object(of xyz type) where an object is a Value object.
I created stubs and place at client side as a jar file. xyz.class is also there in stubs list.
While calling that webservice im getting the following exception.can u please help me on this?
The code is:
xyz[] so = lmsDel.getNumber();
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.ClassCastException: [Ljava.lang.Object;
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:evoke12
java.lang.ClassCastException: [Ljava.lang.Object;
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
ationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
EndElement(XMLNSDocumentScannerImpl.java:719)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:133)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:153)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse(Deserialization
Context.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders
tandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.cscinfo.webservice.client.LmsServiceSoapBindingStub.getSOPCountBy
NatureOfCase(Unknown Source)
at com.cscinfo.cscglobal.web.action.EnterCSCGlobalAction.execute(EnterCS
CGlobalAction.java:68)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at com.cj.trim.trimFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at weblogicx.servlet.gzip.filter.GZIPFilter.doFilter(GZIPFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3229)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2002)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:1908)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1362)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Edited by: avn_venki on Jan 30, 2008 1:17 AMDelegate definition:
public xyz[] getCount(String accessType,long orgId,Date fromDate,Date toDate)
return lmsServiceImpl.getCount(accessType,orgId,fromDate,toDate);
Calling code in client:
xyz[] so = lmsDel.getCount("group",l,calendar,calendar);
Do i need to add anything to the wsdd file for the xyz bean type?? -
Hi,
I am using BOXI R3.1, when i open a Webi Report & getting one Error:
An internal error occured while calling 'getBlob' API. (Error: ERR_WIS_30270).
Do anyone know how to fix error?
Regards,Hi,
this is an old thread..
There are a great many potential reasons for this problem.
I would recommend you use our Knowledge Base search on SMP - link here: http://service.sap.com/xsearch
.. and search for terms : webi 'getBlob' API
Also, some information about your Product version and Patch level is requiered.
Also, any explanation of workflow -
does it only happen when opening report?
are you using OpenDoc hyperlink navigation?
Moving between report tabs?
Are many Schedules running concurrently at that time ?
regards,
H -
IllegalArgumentException occured while calling setter of
Hi all!
I'm new to hiberbate and i'm trying to create my first project. When I'm trying to select data from my DB - I get the fillowing error:
IllegalArgumentException occured while calling setter of test4.Group.groupid
Hibernate: select this_.groupid as groupid1_0_, this_.faculty as faculty1_0_ from studgroups this_
DB has the following entities:
• Student
◦ First Name
◦ Last Name
◦ Patronymic
◦ Datre of Birth
◦ GroupNumber
• Group
◦ GroupNumber
◦ Faculty
I create the following classes:
public class Student {
private Long id;
private String firstname;
private String lastname;
private String otch;
private Date dateofbirth;
private Long groupid;
public Student(){}
public void setId(Long id) {
this.id = id;
public void setFirstname(String firstname) {
this.firstname = firstname;
public void setLastname(String lastName) {
this.lastname = lastname;
public void setOtch(String otch) {
this.otch = otch;
public void setDateofbirth(Date dateofbirth) {
this.dateofbirth = dateofbirth;
public Long getId() {
return id;
public String getFirstname() {
return firstname;
public String getLastname() {
return lastname;
public String getOtch() {
return otch;
public Date getDateofbirth() {
return dateofbirth;
public Long getGroupid() {
return groupid;
Code:
public class Group {
private Long groupid;
private String faculty;
public Group(){}
public void setGroupid(Long groupid) {
this.groupid=groupid;
public Long getGroupid() {
return groupid;
public void setFaculty(String faculty) {
this.faculty = faculty;
public String getFaculty() {
return faculty;
xmls:
Stud.hbm.xml
Code:
<hibernate-mapping>
<class name="test4.Student" table="students">
<id column="id" name="id" type="java.lang.Long">
<generator class="increment"/>
</id>
<property column="FirstName" name="firstName" type="java.lang.String"/>
<property column="LastName" name="lastName" type="java.lang.String"/>
<property column="Otch" name="otch" type="java.lang.String"/>
<property column="DateofBirth" name="dateofBirth" type="java.util.Date"/>
<many-to-one name="group" column="groupid" class="test4.Group"/>
</class>
</hibernate-mapping>
Studgroups.hmb.xml
Code:
<hibernate-mapping>
<class name="test4.Group" table="studgroups">
<id column="groupid" name="groupid" type="java.lang.Long">
<generator class="increment"/>
</id>
<property column="faculty" name="faculty" type="java.lang.String"/>
<set name="studgroups" table="studgroups" lazy="false">
<key column="id"/>
<one-to-many class="test4.Student"/>
</set>
</class>
</hibernate-mapping>
configuration xml
Code:
<hibernate-configuration>
<session-factory>
<property name="connection.url">jdbc:mysql://localhost:3306/test</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.username">root</property>
<property name="connection.password"></property>
<property name="connection.pool_size">1</property>
<property name="current_session_context_class">thread</property>
<property name="show_sql">true</property>
<property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
<mapping resource="test4/stud.hbm.xml"/>
<mapping resource="test4/studgroups.hbm.xml"/>
</session-factory>
</hibernate-configuration>
I'm trying to select data from DB using the following code:
Collection groups = Factory.getInstance().getgroupdao().getAllGroups();
Iterator iterator = groups.iterator();
while (iterator.hasNext()) {
Group grp = (Group) iterator.next();
System.out.println("группа : " + grp.getGroupid());
Collection students = Factory.getInstance().getstuddao().getStudentsByGroup(grp);
Iterator iterator2 = students.iterator();
while (iterator2.hasNext()) {
Student std = (Student) iterator2.next();
System.out.println("студент " + std.getLastname());
Could you help me, I have no idea why I get the following exception? thank you.Hello,
I'm sorry I don't know Hibernate (I just stumbled on this topic as it was unduely posted in the "Design and patterns" forum), but I see a couple of inconsistencies in your post (probably typos):
- check the spelling of your mapping configuration files (hbm vs hmb)
- the studgroup table has a "groupnumber" column, that doesn't appear in the mapping conf
Also it would help if you posted the stack trace of the exception (so that we get an idea whether it is raised in the Hibernate machinery, presumably as a result of a misconfiguration, or from within your code).
Eventually, it bears repeating: please use ++ tags around your code to make your code and config readable to us wrinkled users, and please check the formatting in the preview tab, before posting. -
Error while calling a method on Bean (EJB 3.0)
I am getting an error while calling a method on EJB. I am using EJB3.0 and my bean is getting properly deployed(i am sure b'cos i can see the successfullly deployed message). Can any body help me
Error is -->
Error while destroying resource :An I/O error has occured while flushing the output - Exception: java.io.IOException: An established connection was aborted by the software in your host machine
Stack Trace:
java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
at com.sun.enterprise.server.ss.provider.ASOutputStream.write(ASOutputStream.java:138)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
at org.postgresql.PG_Stream.flush(PG_Stream.java:352)
at org.postgresql.core.QueryExecutor.sendQuery(QueryExecutor.java:159)
at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:70)
at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:482)
at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:461)
at org.postgresql.jdbc1.AbstractJdbc1Connection.rollback(AbstractJdbc1Connection.java:1031)
at org.postgresql.jdbc2.optional.PooledConnectionImpl$ConnectionHandler.invoke(PooledConnectionImpl.java:223)
at $Proxy34.close(Unknown Source)
at com.sun.gjc.spi.ManagedConnection.destroy(ManagedConnection.java:274)
at com.sun.enterprise.resource.LocalTxConnectorAllocator.destroyResource(LocalTxConnectorAllocator.java:103)
at com.sun.enterprise.resource.AbstractResourcePool.destroyResource(AbstractResourcePool.java:603)
at com.sun.enterprise.resource.AbstractResourcePool.resourceErrorOccurred(AbstractResourcePool.java:713)
at com.sun.enterprise.resource.PoolManagerImpl.putbackResourceToPool(PoolManagerImpl.java:424)
at com.sun.enterprise.resource.PoolManagerImpl.resourceClosed(PoolManagerImpl.java:393)
at com.sun.enterprise.resource.LocalTxConnectionEventListener.connectionClosed(LocalTxConnectionEventListener.java:69)
at com.sun.gjc.spi.ManagedConnection.connectionClosed(ManagedConnection.java:618)
at com.sun.gjc.spi.ConnectionHolder.close(ConnectionHolder.java:163)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection(DatabaseAccessor.java:379)
at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.closeConnection(DatasourceAccessor.java:367)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeConnection(DatabaseAccessor.java:402)
at oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.afterJTSTransaction(DatasourceAccessor.java:100)
at oracle.toplink.essentials.threetier.ClientSession.afterTransaction(ClientSession.java:104)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.afterTransaction(UnitOfWorkImpl.java:1816)
at oracle.toplink.essentials.transaction.AbstractSynchronizationListener.afterCompletion(AbstractSynchronizationListener.java:161)
at oracle.toplink.essentials.transaction.JTASynchronizationListener.afterCompletion(JTASynchronizationListener.java:87)
at com.sun.ejb.containers.ContainerSynchronization.afterCompletion(ContainerSynchronization.java:174)
at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:467)
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:357)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3653)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3431)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:197)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:110)
at $Proxy84.addDepartment(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:585)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)
End of Stack Trace
|#]
RAR5035:Unexpected exception while destroying resource. To get exception stack, please change log level to FINE.
EJB5018: An exception was thrown during an ejb invocation on [DepartmentSessionBean]
javax.ejb.EJBException: Unable to complete container-managed transaction.; nested exception is: javax.transaction.SystemException
javax.transaction.SystemException
at com.sun.enterprise.distributedtx.J2EETransaction.commit(J2EETransaction.java:452)
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:357)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3653)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3431)
at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1247)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:197)
at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:110)
at $Proxy84.addDepartment(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)Means theres an error in XML/ABAP conversion probably due a syntax error...
Regards
Juan -
Error while calling a Db2 stored proc using Dataservice
Hi ,
I am getting the following exception while calling a Db2 proc.The proc is not returning any refcursor.It has one Input param of type String.We are expecting the result in resultset. I am able to call the proc using JDBC function and iterate tru the resultset and print it.
While doing import the source Metadata , I Added a "Editable Row Set" Type.
Any clue ?
ava.lang.RuntimeException: Incorrect definition, too many return resultset
at com.bea.ld.wrappers.procedure.ProcedureAdapter$CallableWrapper.getNextReturnValue(ProcedureAdapter.java:634)
at com.bea.ld.wrappers.procedure.ProcedureIterator.getNextToken(ProcedureIterator.java:249)
at com.bea.ld.wrappers.procedure.ProcedureIterator.fetchNext(ProcedureIterator.java:125)
at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
at weblogic.xml.query.runtime.sequences.Subsequence.fetchNext(Subsequence.java:106)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:151)
at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:161)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:113)
at weblogic.xml.query.runtime.core.QueryIterator.fetchNext(QueryIterator.java:127)
at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:134)
at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:142)
at com.bea.ld.server.QueryInvocation.getResult(QueryInvocation.java:461)
at com.bea.ld.EJBRequestHandler.executeFunction(EJBRequestHandler.java:346)
at com.bea.ld.ServerBean.executeFunction(ServerBean.java:108)
at com.bea.ld.Server_ydm4ie_EOImpl.executeFunction(Server_ydm4ie_EOImpl.java:208)
at com.bea.ld.Server_ydm4ie_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)Hi,
I am trying to do something like this but with Oracle stored procedure which returns an associate array and a cursor and these are defined as INOUT. I am not finding a way how to do it with editable row set. Can you plese list the steps used to make things work.
Thanks. -
QName error while calling a web service from Sourcing
I need to call a web service from Sourcing script. The web service team has provided us the WSDL and I have generated the required stubs using wsimport and packaged the required java classes in a custom JAR. Now while calling a web method using this jar from my script, I am getting and exception. The exception message that I printed out was this:
Caught exception e with msg Connection IO Exception. Check nested exception for details. (Connection
IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).)
The same jar and same code works fine when called from a standalone java program.
I am not using or creating QName anywhere in my script. The only place where QName is used is in the generated java class and there it is created from the correct namespace URL
Can anyone please help me out in figuring out what is the issue?This is the stack trace of the error:
#2.0 #2014 05 08 09:02:30:915#+00#Error#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#
#BC-ESI-WS-JAV-RT#webservices_lib#C000CF8242BA4B800000002100002648#2174850000000005#sap.com/E-Sourcing-Server#com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding#VAC53324#89##D811EE96D68E11E3C9E0000000212F82#3cf7fe38d68f11e3c963000000212f82#3cf7fe38d68f11e3c963000000212f82#0#Thread[RequestHandler.RqThread: fullsave,5,Dedicated_Application_Thread]#Plain##
Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
[EXCEPTION]
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Connection IO Exception. Check nested exception for details. (Connection Exception; nested exception is:
java.lang.IllegalArgumentException: cannot create QName from "null" or "" String).).
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:256)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1318)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:991)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:945)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
at $Proxy2539.grantOrganizationRoles(Unknown Source)
I tested the same custom JAR, that is deployed in Sourcing, separately using a standalone java program and there it gave back the correct SOAP response -
Error while calling utl_dbws.create_service
hi,
i get following error
"ORA-29541: class SYS.oracle/jpub/runtime/dbws/DbwsProxy could not be resolved"
while calling a webservice from utl_dbws.create_service
Can any on help me.
kiranDone That,
Thanx a ton Dave, it worked.
So I am finally moving on :-)
Just one question Dave, I happened to work on the Beta release of this version too, the problem was not there. How come we have been able to get it in dev preview. -
Internal Error occurred while calling the ProcessDPCommands API
We have installed Business Objects XI with MySQL. We are getting following error when we click on view query on the WEBI Reports
" Internal Error occurred while calling the ProcessDPCommands API Error WIS 30270".
When we change the CMS database to ORACLE everything works fine it looks like some issues when CMS database is MYSQL
Please hep to fix this problem
Installation is on Solaris 10
Edited by: AshishDatar on Nov 6, 2009 3:00 PM
Installation is on Solaris 10did you check whether universe connection is pointing to the correct db?The following url might be helpful:
[http://www.forumtopics.com/busobj/viewtopic.php?t=52355&view=previous] -
Refresh document call in RESTful workflow is taking long time.
Hi,
I am facing an issue with the Refresh Document step, in Raylight Workflow using RESTful API.
We are using this Refresh Document call, To make the dataprovider mappings formed.
For few WEBI documents, this Refresh document step is taking much time to complete. After some investigation, we got to know that there are a series of SQL scripts running against actual data source, for each Refresh Document call. If the SQL script is taking much time, then the refresh document call is taking much time as well.
Up to now, we are able to solve this problem in some cases, Like below.
1. For a WEBI Document with Contexts to Answers during Refresh Document:
Ex:
Method: PUT
URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
Request Body: (setting default Context)
<parameters>
<parameter>
<id>3</id>
<answer>
<values>
<value id="4">Context1</value>
</values>
</answer>
</parameter>
</parameters>
Result: Success (No Time out Exception)
2. For a WEBI Document with some prompts to Answers during Refresh Document:
Ex:
Method: PUT
URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
Request Body: (With Some Dummy Values)
<parameters>
<parameter type="prompt" optional="true">
<id>1</id>
<answer type="Text">
<values>
<value id="1">Dummy Text</value>
</values>
</answer>
</parameter>
<parameter type="prompt" optional="true">
<id>3</id>
<answer type="Numeric">
<values>
<value id="1">0</value>
</values>
</answer>
</parameter>
</parameters>
Result: Success (No Time out Exception)
3. For a WEBI Document with No prompts and No Contexts to Answers during Refresh Document:
Ex:
Method: PUT
Request Body: (Empty)
Result: Time Out Exception (from my C# code)
Only In this scenario (3) i am facing issue, As I have no answers to set any default values to Parameters. So the SQL scripts are executing. Due to this, if there is any time taking scripts, then the Refresh document step is taking much time or even throwing Time out exception from my C# code. I tried by increasing the timeout for WebRequest in C#, But still not solved.
For creation of a WEBI document, Can we skip the SQL scripts, running in Refresh Document API call?
If yes, then please let me know your valuable ideas to solve my problem.
Please let me know for more information.
Thanks in advance.
Thanks,
MahendraHi Anthony,
Yes, I tried creating same WEBI Document using Web Intelligence Rich Client and also using Web Intelligence from BI Launch Pad.
On both WEBI Clients I am able to create the same WEBI Document, which I am trying to create using RESTful API.
My observations are like below:
Observation 1: After selecting required Result Objects/columns in Query Panel, by clicking on Close -> Apply Changes and Close button, I can create the WEBI Document and Save it successfully.
Observation 2: After selecting required Result Objects/columns in Query panel, If I click on Run Query, It is taking much time to bring fresh data.
Just like in my first observation, I am only looking for creating WEBI Documents successfully, without bringing fresh data. It is enough for me, If I can create the WEBI documents from RESTful API successfully. Here I am not looking for any fresh data from this Refresh Document step, except the dataprovider mappings.
As mentioned in my previous reply, Without dataprovider mappings, we are unable update Report Specification. For this, to make the dataprovider mappings formed, we are using this Refresh Document step, After updating dataprovider specification
Is this Refresh Document call required in Workflow?
Please suggest me if any other REST API Call, that I can use to get the dataprovider mappings formed, other than Refresh Document step.
Thanks in advance. Currect me if I am wrong.
Thanks,
Mahendra -
Getting Error:Failed to open the connection while calling crystal report
I am getting the below error while calling the crystal report from dot net app. I am using OLEDB to connect to database. It is working perfectly in our DEV environment but as soon as I move it to production information after changing the logon information in the report it start giving the below error.
Failed to open the connection.C:\WINDOWS\TEMP{C2FD97D9-2ADE-41BB-88FF-23A4DF20BC6F}.rpt
Details: [Database Vendor Code: 17 ]Are you able to connect to the database from the production machine using a UDL file?
If you haven't tried this, here's how to do it. Take these steps on the machine that is hosting the application. Create a new text file on the desktop. Change the file extension to ".udl" (without the quotes). Double-click on this to bring up the OLEDB connection test: start on the Provider tab and select the appropriate provider. Click "Next" and on the following tab enter your connection information. Click the "Test Connection" button to test the connection. Does it connect to the database successfully?
If you click on "OK" to close the dialog and then open the UDL file with Notepad, you should see an OLEDB connection string. In this string should be the same property values for server, database, user id and password which you are providing through your application. If they are not the same, modify your application to use these values.
If testing your connection information with the UDL file works but your application is still failing when using the same credentials, try profiling or tracing the database. Do you see connection attempts from the application? Are there any errors?
If you're impersonating, have you set up windows authentication correctly for both the application and the database? -
An internal error occurred while calling 'submitReport' API. (Error: ERR_WI
An internal error occurred while calling 'submitReport' API. (Error: ERR_WIS_30270)
We get above mentioned error message at any point in WebI Rich Client.
DataSource: Teradata 12.0 (Local machine)
BO XI 3.1 Client installed on local machine
Universe (Secured connection)
WebI : desiging and creating in Standlone mode
WebI client version : 12.1.0.882
Many times above written error is thrown 2-3 times even when we click on OK button and lastly followed by new error message:-
Unable to get the first page of the current report - Web Intelligence will switch to structure view (WIJ 20003).
Flow: We create report based on locally saved universe. There are couple of scenarios for which error comes
1) After successfully saving the report, reopen and refresh causes this error (1st error and 2nd)
2) Droping a properly written variable on measure column, if done Ctrl + Z, report works sometimes (both or 2nd error message)
3) Draging out the mesaure or dimension from report (only 2nd error)
Report is simple and no other stuff except the cross tab table
Even if we start with simply dropping the dimension and measures on report, 2nd error comes at any time.
What we noticed is that if we do all desiging in structure mode and then run instead of in result mode, reports works for more time.You can have a look here:
Input Controls with Break Error on webi report
http://www.forumtopics.com/busobj/viewtopic.php?t=60789&postdays=0&postorder=asc&start=45
Re: internal error occurred while calling the 'submitReport' API.
I'm Back
HAPPY NEW YEAR
Maybe you are looking for
-
I need to remove an AOL email account that is not attached to my Apple ID. I am receiving email and I cannot delete the mailbox. Please advise. the account is not viewable in settings.
-
Problem downloading data in EXCEL from ALV
Hi, I have lot of fields in ALV (OO ALV). When I tried downloading the list the last few fields wrap (come beneath other fields). Is there any solution for this? Thanks and regards, Madhu
-
I'm just trying out the Spry features in DW CS3. I set up to validate a textfield on a form. And added a hint for a email format, but here's my problem. If users don't type anything in the form at submit it, it still processes the hinted email addres
-
I no longer have the software disk (OS10.5) that came with my MBP in July 2009. I only have the $10 Snow Leopard disk from Apple, which does NOT seem to contain any Apple Hardware Test (AHT). I have tried starting while holding d or option keys to
-
Enable responses from 2 internet gateways on the same system
Hello I tried this question in the Tiger Networking forum but didn't get a response so I'm giving it a shot here. I am hoping one of the network gurus here can help me out. I've spent quite a few hours trawling these forums and others online to try t