MCB) transaction utility
Hi Gurus
I wish to know the utility of MCB) transaction in Long Term Planning. Any information on this would be appreciated.
Regards
Deepak Prasanna S
Hi Deepak,
Hope ur doing fine.
The Use of transcation MCB) and MCB& is to evaluate inventory controlling (From Info Structure S094).
Hope u got some clarity.
Regards
Ramesh
Similar Messages
-
Interface to LSMW transaction Utility
Hi,
Need to develop an Interface to LSMW transaction Utility - This requiremt is for Enhancement of the Infotype
Take any Infotype Number as an Example.
Regards,
RamanaHi Sascha,
While defining the output parameter of the BLS transaction add the sample output XML structure in the corresponding value field. To get the sample output XML structure create a Xacute query and specify the transaction and test the query with output type text/XML. Copy the output XML and paste it in the value field of the output parameter of the BLS transaction in the BLS editor. Save the transaction and generate the WSDL by running WSDLGen service.
You can refer the first few pages of this document where I've explained this : <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0e74673-718f-2910-c4a7-bbae959d1e5a">How to Integrate SAP xMII Services with Web Dynpro Java</a>
Hope this will help.
Thanks,
Dipankar -
Weblogic DB Control transactions
There has to be an article describing a step by step solution to this seemingly very common problem. Could someone help me?
Using Weblogic Workshop 8.1 and default weblogic workshop sample domain......
1) I created a Workshop db control (jcx) to provide access to an Oracle database
2) I wanted to test, so I right clicked it and created a java web service test client
3) It appears that the wrapping web service control uses a default transaction utilizing the cgPool connection pool. However, my wrapped db control (jcx) uses a connection pool I created and the default BEA Oracle XA driver.
4) When I tried to run the test, I gotsome general XA error.
there has to be a white paper out there explaining how to do this successfully? Why is this out of box behavior? Every user or Workshop must run in to this.
Thanks in advance for your help. I googled this and can't find an answer, only a bunch of people who have experienced the same problem.
Thanks,
John CurleyThere has to be an article describing a step by step solution to this seemingly very common problem. Could someone help me?
Using Weblogic Workshop 8.1 and default weblogic workshop sample domain......
1) I created a Workshop db control (jcx) to provide access to an Oracle database
2) I wanted to test, so I right clicked it and created a java web service test client
3) It appears that the wrapping web service control uses a default transaction utilizing the cgPool connection pool. However, my wrapped db control (jcx) uses a connection pool I created and the default BEA Oracle XA driver.
4) When I tried to run the test, I gotsome general XA error.
there has to be a white paper out there explaining how to do this successfully? Why is this out of box behavior? Every user or Workshop must run in to this.
Thanks in advance for your help. I googled this and can't find an answer, only a bunch of people who have experienced the same problem.
Thanks,
John Curley -
Hi,
Please suggest how to analyze the output of MCB) transaction for long term planning.
Thanks & Regards,
NatarajHi there,
Could you please give more details such as what are your objectives, the type of material (high frequency demand, low frequency, etc) and the span of long term planning (1 year, 5 years, 10?).
Cheers,
Rodrigo -
[EMF Transaction] Exception during rollback
On a number of occasions we have faced some exception during rollback, if our code encounters an exception while processing the transaction.
Here is a very typical example:
org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=1, size=1
at org.eclipse.emf.common.util.BasicEList.remove(BasicEList.java:602)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doRemove(NotifyingListImpl.java:756)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.remove(NotifyingListImpl.java:707)
at org.eclipse.emf.ecore.change.impl.ListChangeImpl.process(ListChangeImpl.java:546)
at org.eclipse.emf.ecore.change.impl.ListChangeImpl.apply(ListChangeImpl.java:476)
at org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.apply(FeatureChangeImpl.java:701)
at org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.process(FeatureChangeImpl.java:611)
at org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.apply(FeatureChangeImpl.java:518)
at org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.apply(FeatureChangeImpl.java:493)
at org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl.apply(ChangeDescriptionImpl.java:300)
at org.eclipse.emf.transaction.util.CompositeChangeDescription.apply(CompositeChangeDescription.java:104)
at org.eclipse.emf.transaction.impl.TransactionImpl.doRollback(TransactionImpl.java:570)
at org.eclipse.emf.transaction.impl.TransactionImpl.commit(TransactionImpl.java:417)
at org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl.doExecute(TransactionalCommandStackImpl.java:70)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
at org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack.execute(EMFStoreTransactionalCommandStack.java:52)
This seems to be caused by an attempt to remove an element from a list. Debugging here is showing that the rollback is trying to apply the undo changes produced by the transaction recorder. But the element that it is attempting to remove doesn't exist in the list, and thus the error. I suspect that this is because when the initial exception occurred that this command had not been executed yet. If that is the case, I would expect the rollback to have a way to check for the commands that have completed and to reverse them, but to ignore any commands that have never completed yet. Is it what I might be saying and what is the solution?
I'm adding below portion of the stacktrace that represents the original exception that triggered the rollback. This might help a bit in understanding the situation.
Caused by: java.lang.ClassCastException: ....
at com.castortech.util.emf.VersioningUtils.runInCompositeOperation(VersioningUtils.java:83)
at org.eclipse.sirius.table.business.internal.dialect.TableDialectServices.refresh(TableDialectServices.java:272)
at org.eclipse.sirius.business.internal.dialect.DialectManagerImpl.refresh(DialectManagerImpl.java:106)
at org.eclipse.sirius.business.api.dialect.command.RefreshRepresentationsCommand.doExecute(RefreshRepresentationsCommand.java:85)
at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
at org.eclipse.emf.common.command.CompoundCommand.execute(CompoundCommand.java:261)
at org.eclipse.sirius.business.internal.session.SessionEventBrokerImpl$PreCommitPriorityNotifyListenersCommand.launchCommands(SessionEventBrokerImpl.java:251)
at org.eclipse.sirius.business.internal.session.SessionEventBrokerImpl$PreCommitPriorityNotifyListenersCommand.doExecute(SessionEventBrokerImpl.java:242)
at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
at org.eclipse.emf.transaction.util.TriggerCommand.execute(TriggerCommand.java:113)
at org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl.executeTriggers(TransactionalCommandStackImpl.java:218)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.precommit(TransactionalEditingDomainImpl.java:712)
at org.eclipse.emf.transaction.impl.TransactionImpl.commit(TransactionImpl.java:414)
at org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl.doExecute(TransactionalCommandStackImpl.java:70)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
at org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack.execute(EMFStoreTransactionalCommandStack.java:52)
Thanks
AlainHi, Alain,
Indeed, the transaction will have difficulty rolling back if the
ChangeDescription cannot successfully be applied. However, a
ChangeDescription records only changes that actually are effected in
the model. I don't know how it could record changes that haven't yet
occurred.
Does your model have custom implementations of some of these list
features, as UML2 does, that perhaps coordinate changes with other
features? Could it be that undoing some changes causes side-effects in
others that then invalidate changes recorded in those?
Or are there non-ChangeDescription-based commands being undone by the
transaction that could interfere with ChangeDescriptions?
There's not really much that a transaction can do to validate the
applicability of a ChangeDescription ... it seems to me that it's up to
the model and the commands captured by a transaction to ensure that
undo will happen correctly. Although, perhaps failed rollback could
somehow be handled more gracefully? I'm not sure.
Cheers,
Christian
On 2015-08-08 18:12:21 +0000, Alain Picard said:
> On a number of occasions we have faced some exception during rollback,
> if our code encounters an exception while processing the transaction.
> Here is a very typical example:
>
>
> org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException:
> index=1, size=1
> at org.eclipse.emf.common.util.BasicEList.remove(BasicEList.java:602)
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.doRemove(NotifyingListImpl.java:756)
>
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.remove(NotifyingListImpl.java:707)
>
> at
> org.eclipse.emf.ecore.change.impl.ListChangeImpl.process(ListChangeImpl.java:546)
>
> at
> org.eclipse.emf.ecore.change.impl.ListChangeImpl.apply(ListChangeImpl.java:476)
>
> at
> org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.apply(FeatureChangeImpl.java:701)
>
> at
> org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.process(FeatureChangeImpl.java:611)
>
> at
> org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.apply(FeatureChangeImpl.java:518)
>
> at
> org.eclipse.emf.ecore.change.impl.FeatureChangeImpl.apply(FeatureChangeImpl.java:493)
>
> at
> org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl.apply(ChangeDescriptionImpl.java:300)
>
> at
> org.eclipse.emf.transaction.util.CompositeChangeDescription.apply(CompositeChangeDescription.java:104)
>
> at
> org.eclipse.emf.transaction.impl.TransactionImpl.doRollback(TransactionImpl.java:570)
>
> at
> org.eclipse.emf.transaction.impl.TransactionImpl.commit(TransactionImpl.java:417)
>
> at
> org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl.doExecute(TransactionalCommandStackImpl.java:70)
>
> at
> org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
>
> at
> org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
>
> at
> org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack.execute(EMFStoreTransactionalCommandStack.java:52)
>
>
>
> This seems to be caused by an attempt to remove an element from a list.
> Debugging here is showing that the rollback is trying to apply the undo
> changes produced by the transaction recorder. But the element that it
> is attempting to remove doesn't exist in the list, and thus the error.
> I suspect that this is because when the initial exception occurred that
> this command had not been executed yet. If that is the case, I would
> expect the rollback to have a way to check for the commands that have
> completed and to reverse them, but to ignore any commands that have
> never completed yet. Is it what I might be saying and what is the
> solution?
>
> I'm adding below portion of the stacktrace that represents the original
> exception that triggered the rollback. This might help a bit in
> understanding the situation.
>
> Caused by: java.lang.ClassCastException: ....
> ...
> at
> com.castortech.util.emf.VersioningUtils.runInCompositeOperation(VersioningUtils.java:83)
>
> at
> org.eclipse.sirius.table.business.internal.dialect.TableDialectServices.refresh(TableDialectServices.java:272)
>
> at
> org.eclipse.sirius.business.internal.dialect.DialectManagerImpl.refresh(DialectManagerImpl.java:106)
>
> at
> org.eclipse.sirius.business.api.dialect.command.RefreshRepresentationsCommand.doExecute(RefreshRepresentationsCommand.java:85)
>
> at
> org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
>
> at
> org.eclipse.emf.common.command.CompoundCommand.execute(CompoundCommand.java:261)
>
> at
> org.eclipse.sirius.business.internal.session.SessionEventBrokerImpl$PreCommitPriorityNotifyListenersCommand.launchCommands(SessionEventBrokerImpl.java:251)
>
> at
> org.eclipse.sirius.business.internal.session.SessionEventBrokerImpl$PreCommitPriorityNotifyListenersCommand.doExecute(SessionEventBrokerImpl.java:242)
>
> at
> org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
>
> at
> org.eclipse.emf.transaction.util.TriggerCommand.execute(TriggerCommand.java:113)
>
> at
> org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl.executeTriggers(TransactionalCommandStackImpl.java:218)
>
> at
> org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.precommit(TransactionalEditingDomainImpl.java:712)
>
> at
> org.eclipse.emf.transaction.impl.TransactionImpl.commit(TransactionImpl.java:414)
>
> at
> org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl.doExecute(TransactionalCommandStackImpl.java:70)
>
> at
> org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
>
> at
> org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
>
> at
> org.eclipse.emf.emfstore.internal.client.transaction.EMFStoreTransactionalCommandStack.execute(EMFStoreTransactionalCommandStack.java:52)
>
>
>
> Thanks
> Alain -
Hi ALL,
i am new to HR .please send PA meterial.
regards.
krishnaHi
Info pak is a SAP enduser Help tool .Info Pak offers a variety of end user assistance adapted to various learning styles by allowing developers to create procedure documentation by running and recording various SAP transaction utilized by different clients.
The recording of SAP transactions captures each step and converts the processes in formatted documentation. These documents, when published, provide an on-line, web-based, quick reference system for end users providing the most current support documentation directly within each transaction.
one of the client where i previously worked has approximately 175 transactions recorded and published using the Info Pak tool. Their long-term goal was to record and publish all SAP transactions used by the employees. they used to encourage all SAP end users to utilize the Info Pak documents as their first level of help and support. End users were encouraged to provide feedback on the usefulness of the Info Pak documentation available.
for more information ,browse this website
http://www.rwd.com/products/rwdinfopak/
award points ,if useful.
Regards
Krishna -
Error in Message Alert /SCOT
Hi All,
I have configured the alert Message in the development and also in the Quality , In development it is working fine but in the Quality i am not able to get the mails in my inbox. Here are the few things that i have configured:
1. Created and Checked the user id in the SU01.
2. Checked the transaction SMICM, i found that there is the error but there is no description about where the error is.
3. Checked in the SCOT transaction-utility-services-SMTP.
4. When i am checking the SCOT transaction i am seeing that there are 7 errors under the error tab but it didn't say what is the error and where is it.
5. Checked ST22 dum analysis but there is no dump.
So Could anyone let me know if i need to check anything else to get the mails iin my external mail-id.
Thanks,
JAYYah i have the message in the SOST transaction,
here is the message : <b> No delivery to , as recipient unknown</b>
=======================================================
No delivery to , as recipient unknown
Message no. XS802
Diagnosis
The message from the node could not be delivered to recipient as
the recipient is unknown.
System response
Processing was ended normally.
Additional information of the node used (in the system language of the
node):
550 5.7.1 <[email protected]>... Relaying denied. I
Procedure
Check the recipient address, correct if necessary and send the message
to the correct address.
If the node is an R/3 System, the address is not contained in
address management or SAPoffice exception management. In this case, you
should maintain the address here.
If the node is not an R/3 System, you must maintain the address in the
appropriate system.
=======================================================
NOTE::::I have changed my company NAME to ABC
this only says that the address is not correct but i have checked this one several times but the address is exactly as i have provided in the development.
Please let me know if i need to do anything else.
Thanks,
JAy -
MS SQL Server system stored procedures can't be migrated into Oracle 11g
During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
create or replace
PROCEDURE spPwSysID_GetNextID
v_ID OUT NUMBER,
iv_SysType IN NVARCHAR2 DEFAULT NULL ,
iv_Cnt IN NUMBER DEFAULT NULL
AS
v_SysType NVARCHAR2(50) := iv_SysType;
v_Cnt NUMBER(10,0) := iv_Cnt;
v_result NUMBER(10,0);
BEGIN
--SQL Server BEGIN TRANSACTION;
utils.incrementTrancount;
v_Systype := UPPER(v_Systype) ;
IF v_Cnt < 1 THEN
v_Cnt := 1 ;
END IF;
v_result :=sp_getapplock(v_Resource => v_Systype,
v_LockMode => 'Exclusive') ;
IF v_result >= 0 THEN
BEGIN
SELECT ID
INTO v_ID
FROM PWSYSID
WHERE SysType = v_SysType;
IF SQL%ROWCOUNT = 1 THEN
UPDATE PwSysID
SET ID = ID + v_cnt
WHERE SysType = v_SysType;
ELSE
BEGIN
INSERT INTO PwSysID
( ID, SysType )
VALUES ( v_cnt + 1, v_SysType );
v_ID := 1 ;
END;
END IF;
v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
END;
ELSE
BEGIN
raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
END;
END IF;
utils.commit_transaction;
END;During database migration from MS SQL Server 2008 to Oracle 11g R2, if the application stored procedure invokes the MS SQL Server system stored procedures (for example: sp_getapplock, sp_releaseapplock ....), these SQL server system stored procedures can't be transferred. See following migrated Oracle application stored procedure for example:
create or replace
PROCEDURE spPwSysID_GetNextID
v_ID OUT NUMBER,
iv_SysType IN NVARCHAR2 DEFAULT NULL ,
iv_Cnt IN NUMBER DEFAULT NULL
AS
v_SysType NVARCHAR2(50) := iv_SysType;
v_Cnt NUMBER(10,0) := iv_Cnt;
v_result NUMBER(10,0);
BEGIN
--SQL Server BEGIN TRANSACTION;
utils.incrementTrancount;
v_Systype := UPPER(v_Systype) ;
IF v_Cnt < 1 THEN
v_Cnt := 1 ;
END IF;
v_result :=sp_getapplock(v_Resource => v_Systype,
v_LockMode => 'Exclusive') ;
IF v_result >= 0 THEN
BEGIN
SELECT ID
INTO v_ID
FROM PWSYSID
WHERE SysType = v_SysType;
IF SQL%ROWCOUNT = 1 THEN
UPDATE PwSysID
SET ID = ID + v_cnt
WHERE SysType = v_SysType;
ELSE
BEGIN
INSERT INTO PwSysID
( ID, SysType )
VALUES ( v_cnt + 1, v_SysType );
v_ID := 1 ;
END;
END IF;
v_result :=sp_releaseapplock(v_Resource => v_Systype) ;
END;
ELSE
BEGIN
raise_application_error( -20002, 'Lock failed to acquire to generate Cityworks Id.' );
END;
END IF;
utils.commit_transaction;
END; -
need to call...
oracle.aurora.transaction.util.BindDataSource
...and...
oracle.aurora.transaction.util.BindUserTransaction
programmatically (not via shell command line)
Is there available Javadoc for the classes of Aurora?
Need to know what this method signature parameters are...
public BindDataSource(String p0, boolean p1, String p2, int p3, String p4, String p5, String p6, String p7, String p8, String p9, String p10, String p11, String p12, String[] p13, boolean p14) throws NamingExceptionfar from complete ...yes indeed!
I was very dissappointed months back when I first got 8.1.7 and unzipped that file and found only docs for the ServiceCtx and SessionCtx with a couple ancilliary classes. Is the javadoc for the full Aurora framework considered proprietary secret? I just want to know which parameters are which in some of those classes on down the tree of packages so I can write to their open API. I was hoping maybe the full class hierarchy is someplace I might have overlooked, or possibly tucked away on the web someplace...
Just knowing the names of the method parameters would probably be enough of a clue to figure out what I need.
Thanks for trying to help, I probably should have mentioned that I'd already been into that [Oracle home]\javavm\doc\javadoc.zip file and found it only showed about 6 classes. Just enough to get an IIOP session context up, but nothing more in there.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Vladimir Gendler ([email protected]):
[Oracle home]\javavm\doc\javadoc.zip
Unzip this file preserving directories.
But it is in old (Java 1) doc format and looks far from complete.<HR></BLOCKQUOTE>
null -
My Mac OS Lion 10.7 FileVaulted HD does not boot, prohibitory sign, stop sign appears some minutes after boot starts. Disk Utility repair shows four error messages:
Unable to bootstrap transaction group 2517: inconsistent crosscheck
No valid commit checkpoint found
The volume xxxxxxxxxxxxxx(here it shows physical volume number) was found corrupt and can not be repaired.
Problems were encountered during repair of the partition map
Error: Storage system verify or repair failed.
(the same with 2518, 2519 and 2520 transaction group)
I suppose it is serious bug in Mac OS Lion managing FileVault and wonder what the help could be?Most likely culprit is your Lacie drives which are notorious for flaky power supplies which cause just the sort of erratic behaviour that you describe. Have had similar issues myself. Lacie has been good about replacing my power converter-- twice. If you have seven of them, good luck finding the bad one or more. Like I said, the behaviour is erratic. Sometimes it'll work sometimes not. I can't comment on Samsung drives because I've never used them and have never heard anything about them. Same with Softraid. Why not just use Disk Utility. Sounds like you're ready for an external hardware raid. This will be much faster, much more reliable, and may even be cheaper than seven firewire drives. Check out G Tech, and Maxx Digital for starters.
Best of luck
Terry -
ClassNotFoundException on utility class in JTA Transaction
When using user defined transactions, I am finding I get odd
ClassNotFoundExceptions. I've tested this primarily on NT/2000, but did
also confirm it on Solaris. Can anyone explain it?
The exception only seems to occur if it becomes necessary to throw an
exception from the EJB. If I am not inside a user defined transaction,
there are no problems. (Even if the method is marked as Transacation
Required). Similarly, if no exception is thrown, there is also no problem
(even though I use plenty of other utility classes)
The classes (including the utility class) are all in my deployed jar file
(which is deployed as part of an ear file).
The error message is below:
java.lang.ClassNotFoundException:
com.iknowledge.inext.exception.STInvalidNameException
at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
java:178)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at
weblogic.j2ee.ApplicationManager.loadFromNetwork(ApplicationManager.java:248
at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:175)
at
weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.
java:211)
at
weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputStream.re
adClassDescriptor(ChunkedObjectInputStream.java:290)
at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:906)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at
java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2263)
at
java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:519)
at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1412)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectIn
putStream.java:107)
at
weblogic.transaction.internal.PropagationContext.readExternal(PropagationCon
text.java:304)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectIn
putStream.java:97)
at
weblogic.common.internal.ChunkedObjectInputStream.readObjectWL(ChunkedObject
InputStream.java:123)
at
weblogic.rjvm.MsgAbbrevInputStream.readTxContext(MsgAbbrevInputStream.java:1
66)
at
weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.j
ava:156)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:581)
at
weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at
weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:638)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
You closed your Main class with a bracket, so your getConnection() method isn't in a class
public class Main {
/** Creates a new instance of Main */
public Main() {
public static void main(String[] args) {
Connection con = getConnection();
System.out.println("The connection is: " +con );
}That is your entire Main class. Anything below it isn't in the class. -
Error apdapting database using database utility(transaction se11)
Hello;
We have a several z* tables of an aplicattion running for a year in a production enviroment. We have to change 4 data elements used in these tables.
These elements were QUAN 4 decimals 0 and we have to pass to QUAN 4 decimals 2. I have change the data element in the devolopment enviroment by adjusting these tables with database utility(transaction se11) without problems. The values were transformed adding 2 decimals.
I try to do the same in the quality eviroment(production copy) and appears an error adapting these fields. The tables have a lot of registers (more than 100.000 ) the error DBIF_RSQL_SQL_ERROR; the table appears in the dicctionary but it is not created in the ORACLE.
Do you know how can I finish this step?. It is possible these transformation QUAN 4 decimals 0 to QUAN 4 decimals 2?? In development I have not problem.
Thanks in advanced.Hi Thomas;
I have analysed the short dump; I and the "error analysis"; and debugged where it fails. ... and I can't find a solution...
I paste the code where it fails...
INSERT QCM8ZSD11 CLIENT SPECIFIED
FROM TABLE QCM8ZSD11_TAB ACCEPTING DUPLICATE KEYS.
The temporal table generated is QCM8ZSD11 and the original the ZSD11.
It fails in the 5 step.
1 Initialization
2 Dropping of indexes, renaming of original table
3 No action
4 Activation of transparent table
5 Conversion of data to new table, deletion of renamed table
6 Creation of sec. indexes
Adjustment terminated in step 5
Initial table Table type Status
ZSD11 Transparent Renamed
Renamed original table
QCMZSD11 transparent Existent
Tgt.table
ZSD11 Transparent Renamed
Thanks in advanced. -
Disk util error bootstrap transaction group:23102
So out of know where my MacBook Pro (13-inch, Mid 2012 10.10) is having problems. Its hanging up on a lot of things like safari, lagging when I turn the volume down, and more. When I try to boot to recovery mode using option nothing shows but my hd, when I do CMD R i am able to go to disk utill. When I tried verifying disk I get these messages. If I hit repair on the top mac had drive(see pic) it just keeps telling me to repair. If I do a verify disk in the second mac hd that is under it and indented it tells me to back up my stuff and reinstall. This transaction group error changes on me many times.
Also I have my fire fault turned off It was on but i turned it offMRDJones wrote:
… I replaced hard drive …
That was sensible.
… I used a external enclosure on the failed hard drive but I get the same error when trying to use disk utility on it. … The drive will not mount.
Those symptoms are consistent with a failing or failed hard drive.
Related
Storage problems, Core Storage, Disk Utility, checksums, fsck_cs and cksum mismatches -
J2EE / JMS Controlling transaction in util.jar
Hi all experts!
I've a delicate problem where I want to handle transactions transparently for EJBs in my util jar. I�m familiar with the other alternatives (MDBs etc) and using them in other parts of the solution but they can�t be used here (need a synchronous request-reply).
The description is a bit long but please bare with me, hopefully it is clear and understandable.
Summary:
Why can't I use a UserTransaction in a utility.jar when called from a EJB using container managed transaction.
Senario:
transport_util.jar:
Transport utility package contains no EJBs, just simple java classes (to make usage / deployment more simple for the users of the util.jar).
The EJBs use an ApplicationFacade in the transport_util.jar (not a EJB just a java class) providing a high level communication API for JMS transport, encapsuling JMS specific code, and providing the simple transport primitives:
- void send(Object data) : writing fire and forget messages to JMS Queue
- Object requestReply(Object data) : sending a request message and waiting
synchronously for a reply message. Not pretty when using messaging but
necessary in this solution.
AnyEJB.jar:
The �client� using the transport primitives in transport_util.jar. The transport_util.jar is included in the EAR application as a utility.jar. The EJBs can use either Container (CMT) or Bean Managed Transactions (BMT). The transport_util.jar shouldn�t set any limitations.
Problem:
The problem arise when a �client� EJB under CMT calls the requestReply function in the API. The message is written to the JMS Queue by the transport_util before it starts to listen for a reply, on a in Queue, which will be returned to the caller. The request message is nerver delivered to the recipient who there for won�t produce a reply.
Why? Because it is written to the JMS Queue inside a transaction (implicit from the calling EJB) which has not been committed (and shouldn�t from the clients perspective) before the API starts to listen for the reply. No delivery until commit! The transactional parameter isn�t valid when inside a application server
My idea of a solution:
Start a new UserTransaction, putTx, inside the requestReply function to halt the callers transaction (J2EE doesn�t support nested trans) and use it around the put operation. After a successful put the putTx could be committed, without affecting the callers transaction, which would lead to the message being sent to the recipient and finally a reply could arrive. Only one big problem.:
I get a naming exception when trying to lookup the UserTransaction through JNDI if the calling EJB use CMT but not if it uses BMT. Why? Is there a workaround?
InitialContext ctxt = new InitialContext();
UserTransaction putTx = ctxt.lookup(�java:comp/UserTransaction�)
putTx.begin();
// Put message on queue
putTx.commit();
// Try read reply from queue
Infrastructure:
- IBM WebSpehere Application Server 5
- IBM WebSpehere MQ 5.3
- Java 1.3
Exception excerpt:
Error occurred while handling transaction
[2003-09-04 17:06:47:479 CEST] 7f8389dc SystemOut O javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".
[2003-09-04 17:06:47:479 CEST] 7f8389dc SystemOut O at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:1003)
[2003-09-04 17:06:47:479 CEST] 7f8389dc SystemOut O at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1211)
[2003-09-04 17:06:47:479 CEST] 7f8389dc SystemOut O at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1203)
[2003-09-04 17:06:47:479 CEST] 7f8389dc SystemOut O at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlContext.java:1257)
[2003-09-04 17:06:47:479 CEST] 7f8389dc SystemOut O at javax.naming.InitialContext.lookup(InitialContext.java:359)
/Best regards
JesperIf anyone else have the same problem....
After a great tip from a colleague a good solution if found!
By getting hold of the TransactionManger from the ApplicationServer it is possible to suspend an ongoing transaction, start a new one and commit it and restart the suspended transaction again.
Looking up the TransactionManger differs a lot from AppServer to AppServer. To find out how it is done on yours take a peak in the code of any of bigger persistence frameworks (I looked at Hibernate).
So in pseudo code:
// Error checks not in code to keep it short
// Look up the TransactionManager
TransactionManager mgrTx = //
// Suspend callers Tx
Transaction callerTx = mgrTx.suspend();
// Start new transaction for the work to be performed
// outside the callers transaction
mgrTx.begin();
// Perform transacted work .....
// Commit
mgrTx.commit();
// Reassign the callers transaction to the thread and activate if
mgrTx.resume(callerTx);/J -
Unable to bootstrap transaction group 7845 when attempting to fix harddrive with disk utility
Hello,
I recently tried burning a cd from the Mac. I pressed cancel because do forgot to put it at the right speed. So I kept clicking cancel them eventually shut it down. I started it up and I got a "prohibited" sign.
The topic title is their error I get.
(unable to bootstrap transaction group 7845)No
I dont have enough money to buy one of those "time machine" thingys.
But it's ok. The only thing that is valuble to me was my documents, and they're all sent to my email .
BDAqua wrote:
I was afraid of that after posting then re-reading your title! (
Do you have a Backup?
Maybe you are looking for
-
Reminders App does not work on Yosemite with two iCloud accounts.
The Reminders App does not work on Yosemite (10.10.1) with two iCloud accounts. It seems like when there are two iCloud accounts connected in Yosemite (10.10.1) the plist file for Reminders disappears. I have tried restarting Reminders; restarting th
-
MRP issue for future delivery PO/STO date
We have a sceanrio where the available material quantity in MRP list is considering future delivery date STO quantity. The PO delivery date is 08.11.2008 and MRP run date is 07.11.2008. Step 1, material master details: Material = 16814, MRP Type = P
-
I've got an iMac, an iPhone and a emailadress like @gmail.com. Now I want to make use of iCloud. What do I have to do to make it alle syncing like it should do. I really want to use only @gmail.com. Maybe the question is better like this: Is there a
-
Basic Network Monitoring for Cisco Operation Manager 2012
Hello, Please bear with me as i'm new the Operations Manager 2012 world. I've just installed operations manager 2012 in our environment and i've setup a network management point. I've discovered my networking gear which is primarily cisco equipment.
-
Storing sales order header text prior to SAVE
Hi. I have a requirement to manually create a header text during sales order create based on certain criteria. I believe I would need to put this text into the internal storage/memory so that it would be as if the user entered it. Then upon save, thi