EJB 2.1 in 904? 905?
I read the release notes for oc4j 904, but could not
decipher what J2EE standards are supported, specifically,
EJB2.1. Could someone tell me in which release the J2EE 1.4 specs are supported?
J2EE 1.4/EJB 2.1 is not final yet. We will have a developers preview with J2EE 1.4 support as soon as the specs get finalized in Fall.
regards
Debu
Similar Messages
-
Authorization check failed Auth. Obj. M_MSEG_LGO Goods Movements
Hello security team.
We are using two roles for one authorization object to be checked in the MIRO transaction. One role (1) checks the S_TCODE and the authorization object M_MSEG_LGO for ACTVT and BWART fields. The other role (2) checks for the same authorization object M_MSEG_LGO for LGORT and WERKS fields. I mean that the complementary effect between the two profiles attached to one and only user and employing the same authorization object M_MSEG_LGO could satisfy the return code SY-SUBRC = 0.
I have the detailed error message in a file. Please let me know if the issue is clear enough.
Best Regards,
Victor Sarabia
Edited by: Victor Sarabia Rangel on Mar 16, 2010 2:16 PMHello Prasant and Julius.
When you enter a goods movement using transaction MIGO I use the movement type values for a good movement. vgr. movement type 987 - Init. entry of state balance or movement types 101,102 GR goods receipt & GR PO reversal BWART field from the authorization object M_MSEG_LGO. We gather the movement type values into groups that represents the structural basis that distinguish between , for example: Goods Receipt with Outbound delivery or Place in Storage with Material Document .
Authorization profile 1 for Outbound Delivery with transaction MIRO.
S_TCODE: MIRO
M_MSEG_LGO: Inactive
Authorizat. T-C161126200
Profl. T-C1611262
Role MM_AL_OPERACION_ENTRADAS MMA_GRC: OPERACIONES ALMACENES
Authorization profile 2 Bolton
M_MSEG_LGO maintained
Authorizat. T-C161137500
Profl. T-C1611375
Role NIVORG_ALMACENENTRADAS_4515 BOLTON: PLANT ORG LEVEL
Authorization Field ACTVT Activity
01, 02, 03
Authorization Field BWART Movement Type (Inventory Management) 101, 102, 103, 104, 105, 122, 123, 543, 544, 901, 902, 903, 904, 905, 906, 915, 916, 925, 926, 947, 948, 979, 980, 981, 982, 987, 988, DMS, RMS
Authorization Field LGORT Storage location
1000-1100, 1071, 1CBE, 2000, 3000, 3500, 4000, 5000, 6000, 7000, REHA, T000
Authorization Field WERKS Plant
4013-4019
Profile 1: transaction_code MIRO binds with Profile 2: M_MSEG_LGO, movement type 987 and Authorization Field WERKS Plant 4013 and Storage Location 3000 to satisfy the return code SY-SUBRC = 0 for Goods recepit&Oubound Delivery position in the organization
The binding between master profile 1 and the bolton profiles 2,3,4u2026u2026.n results in an organized role framework and greater specificity for handling different positions in the organization.
Thank you.
Victor Sarabia -
I am trying, for some time now, to implement some sort of bank application that uses DBs to store customers.
I have been trying to improve my code, the results are interesting since while studing more I saw that the previous code was.....not so good. I am using Prepared statement now as some of you suggested but I cannot surpass this final glich.
try
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection connection=DriverManager.getConnection("jdbc:odbc:customersTable");
Statement stat = connection.createStatement();
ResultSet set = stat.executeQuery("SELECT * FROM CUSTOMERSTABLE");
boolean check = true;
while(set.next())
String ssnChecked = ssn.getText();
String SSN = set.getString("ssn");
if(ssnChecked.equals(SSN))
JOptionPane.showMessageDialog(null, "SSN already excists");
check = false;
if(check == true)
String ssnToDB = ssn.getText();
String nameToDB = name.getText();
String surnameToDB = surname.getText();
String addressToDB = address.getText();
String phoneToDB = phone.getText();
String phone2ToDB = phone2.getText();
String balanceToDB = balance.getText();
System.out.println(ssnToDB+nameToDB);
PreparedStatement prstat = connection.prepareStatement("INSERT INTO CUSTOMERSTABLE VALUES ( ????????)");
prstat.setString(1,ssnToDB);
prstat.setString(2,nameToDB);
prstat.setString(3,surnameToDB);
prstat.setString(4,addressToDB);
prstat.setString(5,phoneToDB);
prstat.setString(6,phone2ToDB);
prstat.setString(7,balanceToDB);
prstat.executeUpdate();
prstat.close();
//String command = "INSERT INTO CUSTOMERSTABLE VALUES ("+ssnToDB+nameToDB+surnameToDB+addressToDB+addressToDB+phoneToDB+phone2ToDB+balanceToDB+")";
connection.close();
catch(ClassNotFoundException exception)
JOptionPane.showMessageDialog(null, "ERROR1");
catch(SQLException exception)
JOptionPane.showMessageDialog(null, "ERROR2");
}This code throws a SQLException that probably has to do with the use of PreparedStatement. Can you help?java.sql.SQLException: [Microsoft][╨?ⁿή?άΉΉά Ύϊ▐ήύ≤ύ≥ ODBC Microsoft Access]┼≤?ά
ΈΉ▌ΊΎ Ώίϊ▀Ύ COUNT
???????????? -
OC4J AQ/JMS - Logging DriverManagerConnectionPoolConnection not closed
Hi,
Since I do not directly utilise JDBC resource, I cannot work out how I might investigate this supposed leak.
Every now and then (and it does appear to happen sporadically - I cannot identify a pattern), I get the
messages.
DriverManagerConnectionPoolConnection not closed, check your code!
I turned the logging on (using -Djdbc.connection.debug=true), and the following exceptions is thrown:
Created at:
java.lang.Throwable: DriverManagerConnectionPoolConnection created
at com.evermind.sql.DriverManagerConnectionPoolConnection.<init>(DriverManagerConnectionPoolConnection.java:27)
at com.evermind.sql.DriverManagerPooledConnection.getNewLogicalConnection(DriverManagerPooledConnection.java:341)
at com.evermind.sql.DriverManagerPooledConnection.getConnection(DriverManagerPooledConnection.java:117)
at com.evermind.sql.OrionPooledDataSource.getConnection(OrionPooledDataSource.java:235)
at com.evermind.sql.DriverManagerXADataSource.getNonAutoCommitConnection(DriverManagerXADataSource.java:285)
at com.evermind.sql.DriverManagerXAConnection.start(DriverManagerXAConnection.java:101)
at com.evermind.server.TransactionEnlistment.<init>(TransactionEnlistment.java:45)
at com.evermind.server.ApplicationServerTransaction.enlistResource(ApplicationServerTransaction.java:247)
at com.evermind.sql.OrionCMTConnection.tryToDelistEnlist(OrionCMTConnection.java:308)
at com.evermind.sql.OrionCMTConnection.intercept(OrionCMTConnection.java:112)
at com.evermind.sql.FilterConnection.getTypeMap(FilterConnection.java:135)
at com.evermind.sql.FilterConnection.getTypeMap(FilterConnection.java:136)
at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:1240)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:981)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:918)
at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:834)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:905)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:479)
Here is the ejb.jar sections of interest:
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
<resource-ref>
<res-ref-name>jms/MessageQueueConnectionFactory</res-ref-name>
<res-type>javax.jms.QueueConnectionFactory</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>jms/MessageSendQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
<resource-env-ref>
<resource-env-ref-name>jms/MessageStatusQueue</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>
Here is the orion-ejb.jar <enterprise-beans> definition:
<enterprise-beans>
<message-driven-deployment name="MessagingServer" destination-location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_SEND_QUEUE" connection-factory-location="java:comp/resource/CallistaMessagingJMSContext/QueueConnectionFactories/jmsFactory" max-instances="100">
<resource-ref-mapping name="jms/MessageQueueConnectionFactory" location="java:comp/resource/CallistaMessagingJMSContext/QueueConnectionFactories/jmsFactory" />
<resource-env-ref-mapping name="jms/MessageSendQueue" location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_SEND_QUEUE" />
<resource-env-ref-mapping name="jms/MessageStatusQueue" location="java:comp/resource/CallistaMessagingJMSContext/Queues/CORQ_MSG_STATUS_QUEUE" />
</message-driven-deployment>
</enterprise-beans>
The orion-application.xml has the following resource provider mapping for the OJMS Context:
<resource-provider class="oracle.jms.OjmsContext" name="CallistaMessagingJMSContext">
<description> OJMS/AQ </description>
<property name="datasource" value="jdbc/ejb/CallistaMessageOwnerDS" />
</resource-provider>
Here is the matching 'jdbc/ejb/CallistaMessageOwnerDS' datasource definition for the JMS:
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="CallistaMessageOwnerJDBCDatasource"
location="jdbc/CallistaMessageOwnerCoreDS"
xa-location="jdbc/xa/CallistaMessageOwnerXADS"
ejb-location="jdbc/ejb/CallistaMessageOwnerDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="*********"
password="****"
url="jdbc:oracle:thin:@myhost.com.au:1529:ORCL"
inactivity-timeout="30"
/>
I would appreciate any input into any mistakes I may have made (perhaps I need to use a different datasource, or define it in a different way)
Any help - including an indication that this is an error I can safely ignore :-) would be appreciated.
Thanks
JasonI'm have the same issue. I'm currently trying to seen if the Oracle 9.2.0.5.0 patch corrects the issue (waiting for the file down load). There is a known issue in Oracle and cleaning up Inactive connections. I assuming the two are related ... I hope it works.
-
After updating to 2.5.4 via the Update Manager I can not longer view the list of users I have created. I am presented with the following error:
Devices Page Service Error
Unable to complete operation.
If this error persists, contact ZENworks Technical Support.
Any suggestions from the pros?
Thanks.
-Brad
http://imageshack.us/photo/my-images/803/zmmusers.jpg/Posting the Update log for completeness, looks good apart from the error about 'inetinfo':
Code:
[10:21:53] StopWebServer: Shutting down web server...
[10:22:24] StopWebServer: IIS closing too slowly. Attempting to shutdown w3wp.exe forcefully.
[10:22:24] RunShellCommand: Running command:taskkill
SUCCESS: The process "w3wp.exe" with PID 2616 has been terminated.
[10:22:25] RunShellCommand: Command: taskkill exited with code: 0
[10:22:27] StopWebServer: IIS still hanging. Attempting to shutdown inetinfo.exe forcefully.
[10:22:27] RunShellCommand: Running command:taskkill
ERROR: The process "inetinfo.exe" not found.
[10:22:27] RunShellCommand: Command: taskkill exited with code: 128
[10:22:27] RunShellCommand: Exit code indicates failure.
[10:22:29] BackupDatabase: Backing up database. Backup name: ZENworks_sql_20120905_102153_2-5-4.bak
[10:22:31] BackupServerFiles: Backing up files. Backup name: ZENworks_web_20120905_102153_2-5-4.zip
[10:22:31] RunShellCommand: Running command:7za
7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Scanning
Creating archive C:\Program Files (x86)\Novell\ZENworks\mobile\backups\ZENworks_web_20120905_102153_2-5-4.zip
------ Snipped Verbose File list -------
Everything is Ok
[10:22:43] RunShellCommand: Command: 7za exited with code: 0
[10:22:43] CleanupOldUpdaterFiles: Cleanuping up old updater exes.
[10:22:43] GetFilesInDirectory: Failed to search directory with error: 2
[10:22:43] CleanupOldUpdaterFiles: Failed to read old updater files from the install path.
[10:22:43] RecordUpdateHistory: Found machine name of: PDCZMM1
[10:22:43] GetArchive: Loading update information...
[10:22:43] RunUpdate: Attempting to update from version 2.5.4 to version 2.5.5...
[10:22:43] ExtractArchive: Unpacking update...
[10:22:43] RunShellCommand: Running command:7za
7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
Processing archive: C:\Users\obsufocated_user\AppData\Local\Temp\2\092D8B52-D848-423B-BD43-1E6C9163A564.zip
------ Snipped Verbose File list -------
Everything is Ok
Folders: 17
Files: 23
Size: 7325632
Compressed: 3733078
[10:22:43] RunShellCommand: Command: 7za exited with code: 0
[10:22:43] RunFullInstaller: Checking for packaged installers...
[10:22:43] RunFullInstaller: No updater updates exist in the patch.
[10:22:43] UpdateDatabase: Updating database...
[10:22:43] RunShellCommand: Running command:osql
1> 2> 1> 2> 3> 1> 2> 3> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 1> 2> 3> 4> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45> 46> 47> 48> 49> 50> 51> 52> 53> 54> 55> 56> 57> 58> 59> 60> 61> 62> 63> 64> 65> 66> 67> 68> 69> 70> 71> 72> 73> 74> 75> 76> 77> 78> 79> 80> 81> 82> 83> 84> 85> 86> 87> 88> 89> 90> 91> 92> 93> 94> 95> 96> 97> 98> 99> 100> 101> 102> 103> 104> 105> 106> 107> 108> 109> 110> 111> 112> 113> 114> 115> 116> 117> 118> 119> 120> 121> 122> 123> 124> 125> 126> 127> 128> 129> 130> 131> 132> 133> 134> 135> 136> 137> 138> 139> 140> 141> 142> 143> 144> 145> 146> 1> 2> 3> 4> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45> 46> 47> 48> 49> 50> 51> 52> 53> 54> 55> 56> 57> 58> 59> 60> 61> 62> 63> 64> 65> 66> 67> 68> 69> 70> 71> 72> 73> 74> 75> 76> 77> 78> 79> 80> 81> 82> 83> 84> 85> 86> 87> 88> 89> 90> 91> 92> 93> 94> 95> 96> 97> 98> 99> 100> 101> 102> 103> 104> 105> 106> 107> 108> 109> 110> 111> 112> 113> 114> 115> 116> 117> 118> 119> 120> 121> 122> 1> 2> 3> 4> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45> 46> 47> 48> 49> 50> 51> 52> 53> 54> 55> 56> 57> 58> 59> 60> 61> 62> 63> 64> 65> 66> 67> 68> 69> 70> 71> 72> 73> 74> 75> 76> 77> 78> 79> 80> 81> 82> 83> 84> 85> 86> 87> 88> 89> 90> 91> 92> 93> 94> 95> 96> 97> 98> 99> 100> 101> 102> 103> 104> 105> 106> 107> 108> 109> 110> 111> 112> 113> 114> 115> 116> 117> 118> 119> 120> 121> 122> 123> 124> 125> 126> 127> 128> 129> 130> 131> 132> 133> 134> 135> 136> 137> 138> 139> 140> 141> 142> 143> 144> 145> 146> 147> 148> 149> 150> 151> 152> 153> 154> 155> 156> 157> 158> 159> 160> 161> 162> 163> 164> 165> 166> 167> 168> 169> 170> 171> 172> 173> 174> 175> 176> 177> 178> 179> 180> 181> 182> 183> 184> 185> 186> 187> 188> 189> 190> 191> 192> 193> 194> 195> 196> 197> 198> 199> 200> 201> 202> 1> 2> 3> 4> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> (3 rows affected)
(1 row affected)
(1 row affected)
1> 2> 3> 4> 1> 2> 3> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 1> 2> 3> 4> 5> 6> 7> 1> 2> 3> 4> 5> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45> 46> 47> 48> 49> 50> 51> 52> 53> 54> 55> 56> 57> 58> 59> 60> 61> 62> 63> 64> 65> 66> 67> 68> 69> 70> 71> 72> 73> 74> 75> 76> 77> 78> 79> 80> 81> 82> 83> 84> 85> 86> 87> 88> 89> 90> 91> 92> 93> 94> 95> 96> 97> 98> 99> 100> 101> 102> 103> 104> 105> 106> 107> 108> 109> 110> 111> 112> 113> 114> 115> 116> 117> 118> 119> 120> 121> 122> 123> 124> 125> 126> 127> 128> 129> 130> 131> 132> 133> 134> 135> 136> 137> 138> 139> 140> 141> 142> 143> 144> 145> 146> 147> 148> 149> 150> 151> 152> 153> 154> 155> 156> 157> 158> 159> 160> 161> 162> 163> 164> 165> 166> 167> 168> 169> 170> 171> 172> 173> 174> 175> 176> 177> 178> 179> 180> 181> 182> 183> 184> 185> 186> 187> 188> 189> 190> 191> 192> 193> 194> 195> 196> 197> 198> 199> 200> 201> 202> 203> 204> 205> 206> 207> 208> 209> 210> 211> 212> 213> 214> 215> 216> 217> 218> 219> 220> 221> 222> 223> 224> 225> 226> 227> 228> 229> 230> 231> 232> 233> 234> 235> 236> 237> 238> 239> 240> 241> 242> 243> 244> 245> 246> 247> 248> 249> 250> 251> 252> 253> 254> 255> 256> 257> 258> 259> 260> 261> 262> 263> 264> 265> 266> 267> 268> 269> 270> 271> 272> 273> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> (1 row affected)
1> 2> 3> 4> 5> 6> 7> 1> 2> 3> 4> 1> 2> 3> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45> 46> 47> 48> 49> 50> 51> 52> 53> 54> 55> 56> 57> 58> 59> 60> 61> 62> 63> 64> 65> 66> 67> 68> 69> 70> 71> 72> 73> 74> 75> 76> 77> 78> 79> 80> 81> 82> 83> 84> 85> 86> 87> 88> 89> 90> 91> 92> 93> 94> 95> 96> 97> 98> 99> 100> 101> 102> 103> 104> 105> 106> 107> 108> 109> 110> 111> 112> 113> 114> 115> 116> 117> 118> 119> 120> 121> 122> 123> 124> 125> 126> 127> 128> 129> 130> 131> 132> 133> 134> 135> 136> 137> 138> 139> 140> 141> 142> 143> 144> 145> 146> 147> 148> 149> 150> 151> 152> 153> 154> 155> 156> 157> 158> 159> 160> 161> 162> 163> 164> 165> 166> 167> 168> 169> 170> 171> 172> 173> 174> 175> 176> 177> 178> 179> 180> 181> 182> 183> 184> 185> 186> 187> 188> 189> 190> 191> 192> 193> 194> 195> 196> 197> 198> 199> 200> 201> 202> 203> 204> 205> 206> 207> 208> 209> 210> 211> 212> 213> 214> 215> 216> 217> 218> 219> 220> 221> 222> 223> 224> 225> 226> 227> 228> 229> 230> 231> 232> 233> 234> 235> 236> 237> 238> 239> 240> 241> 242> 243> 244> 245> 246> 247> 248> 249> 250> 251> 252> 253> 254> 255> 256> 257> 258> 259> 260> 261> 262> 263> 264> 265> 266> 267> 268> 269> 270> 271> 1> 2> 3> 4> 5> 6> (1 row affected)
1> 2> 3> 4> 5> 6> 1> 2> 3> 1> 2> 3> 4> 1> 2> 3> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 31> 32> 33> 34> 35> 36> 37> 38> 39> 40> 41> 42> 43> 44> 45> 46> 47> 48> 49> 50> 51> 52> 53> 54> 55> 56> 57> 58> 59> 60> 61> 62> 63> 64> 65> 66> 67> 68> 69> 70> 71> 72> 73> 74> 75> 76> 77> 78> 79> 80> 81> 82> 83> 84> 85> 86> 87> 88> 89> 90> 91> 92> 93> 94> 95> 96> 97> 98> 99> 100> 101> 102> 103> 104> 105> 106> 107> 108> 109> 110> 111> 112> 113> 114> 115> 116> 117> 118> 119> 120> 121> 122> 123> 124> 125> 126> 127> 128> 129> 130> 131> 132> 133> 134> 135> 136> 137> 138> 139> 140> 141> 142> 143> 144> 145> 146> 147> 148> 149> 150> 151> 152> 153> 154> 155> 156> 157> 158> 159> 160> 161> 162> 163> 164> 165> 166> 167> 168> 169> 170> 171> 172> 173> 174> 175> 176> 177> 178> 179> 180> 181> 182> 183> 184> 185> 186> 187> 188> 189> 190> 191> 192> 193> 194> 195> 196> 197> 198> 199> 200> 201> 202> 203> 204> 205> 206> 207> 208> 209> 210> 211> 212> 213> 214> 215> 216> 217> 218> 219> 220> 221> 222> 223> 224> 225> 226> 227> 228> 229> 230> 231> 232> 233> 234> 235> 236> 237> 238> 239> 240> 241> 242> 243> 244> 245> 246> 247> 248> 249> 250> 251> 252> 253> 254> 255> 256> 257> 258> 259> 260> 261> 262> 263> 264> 265> 266> 267> 268> 269> 270> 271> 272> 273> 274> 275> 276> 277> 278> 279> 280> 281> 282> 283> 284> 285> 286> 287> 288> 289> 290> 291> 292> 293> 294> 295> 296> 297> 298> 299> 300> 301> 302> 303> 304> 305> 306> 307> 308> 309> 310> 311> 312> 313> 314> 315> 316> 317> 318> 319> 320> 321> 322> 323> 324> 325> 326> 327> 328> 329> 330> 331> 332> 333> 334> 335> 336> 337> 338> 339> 340> 341> 342> 343> 344> 345> 346> 347> 348> 349> 350> 351> 352> 353> 354> 355> 356> 357> 358> 359> 360> 361> 362> 363> 364> 365> 366> 367> 368> 369> 370> 371> 372> 373> 374> 375> 376> 377> 378> 379> 380> 381> 382> 383> 384> 385> 386> 387> 388> 389> 390> 391> 392> 393> 394> 395> 396> 397> 398> 399> 400> 401> 402> 403> 404> 405> 406> 407> 408> 409> 410> 411> 412> 413> 414> 415> 416> 417> 418> 419> 420> 421> 422> 423> 424> 425> 426> 427> 428> 429> 430> 431> 432> 433> 434> 435> 436> 437> 438> 439> 440> 441> 442> 443> 444> 445> 446> 447> 448> 449> 450> 451> 452> 453> 454> 455> 456> 457> 458> 459> 460> 461> 462> 463> 464> 465> 466> 467> 468> 469> 470> 471> 472> 473> 474> 475> 476> 477> 478> 479> 480> 481> 482> 483> 484> 485> 486> 487> 488> 489> 490> 491> 492> 493> 494> 495> 496> 497> 498> 499> 500> 501> 502> 503> 504> 505> 506> 507> 508> 509> 510> 511> 512> 513> 514> 515> 516> 517> 518> 519> 520> 521> 522> 523> 524> 525> 526> 527> 528> 529> 530> 531> 532> 533> 534> 535> 536> 537> 538> 539> 540> 541> 542> 543> 544> 545> 546> 547> 548> 549> 550> 551> 552> 553> 554> 555> 556> 557> 558> 559> 560> 561> 562> 563> 564> 565> 566> 567> 568> 569> 570> 571> 572> 573> 574> 575> 576> 577> 578> 579> 580> 581> 582> 583> 584> 585> 586> 587> 588> 589> 590> 591> 592> 593> 594> 595> 596> 597> 598> 599> 600> 601> 602> 603> 604> 605> 606> 607> 608> 609> 610> 611> 612> 613> 614> 615> 616> 617> 618> 619> 620> 621> 622> 623> 624> 625> 626> 627> 628> 629> 630> 631> 632> 633> 634> 635> 636> 637> 638> 639> 640> 641> 642> 643> 644> 645> 646> 647> 648> 649> 650> 651> 652> 653> 654> 655> 656> 657> 658> 659> 660> 661> 662> 663> 664> 665> 666> 667> 668> 669> 670> 671> 672> 673> 674> 675> 676> 677> 678> 679> 680> 681> 682> 683> 684> 685> 686> 687> 688> 689> 690> 691> 692> 693> 694> 695> 696> 697> 698> 699> 700> 701> 702> 703> 704> 705> 706> 707> 708> 709> 710> 711> 712> 713> 714> 715> 716> 717> 718> 719> 720> 721> 722> 723> 724> 725> 726> 727> 728> 729> 730> 731> 732> 733> 734> 735> 736> 737> 738> 739> 740> 741> 742> 743> 744> 745> 746> 747> 748> 749> 750> 751> 752> 753> 754> 755> 756> 757> 758> 759> 760> 761> 762> 763> 764> 765> 766> 767> 768> 769> 770> 771> 772> 773> 774> 775> 776> 777> 778> 779> 780> 781> 782> 783> 784> 785> 786> 787> 788> 789> 790> 791> 792> 793> 794> 795> 796> 797> 798> 799> 800> 801> 802> 803> 804> 805> 806> 807> 808> 809> 810> 811> 812> 813> 814> 815> 816> 817> 818> 819> 820> 821> 822> 823> 824> 825> 826> 827> 828> 829> 830> 831> 832> 833> 834> 835> 836> 837> 838> 839> 840> 841> 842> 843> 844> 845> 846> 847> 848> 849> 850> 851> 852> 853> 854> 855> 856> 857> 858> 859> 860> 861> 862> 863> 864> 865> 866> 867> 868> 869> 870> 871> 872> 873> 874> 875> 876> 877> 878> 879> 880> 881> 882> 883> 884> 885> 886> 887> 888> 889> 890> 891> 892> 893> 894> 895> 896> 897> 898> 899> 900> 901> 902> 903> 904> 905> 906> 907> 908> 909> 910> 911> 912> 913> 914> 915> 916> 917> 918> 919> 920> 921> 922> 923> 924> 925> 926> 927> 928> 929> 930> 931> 932> 933> 934> 935> 936> 937> 938> 939> 940> 941> 942> 943> 944> 945> 946> 947> 948> 949> 950> 951> 952> 953> 954> 955> 956> 957> 958> 959> 960> 961> 962> 963> 964> 965> 966> 967> 968> 969> 970> 971> 972> 973> 974> 975> 976> 977> 978> 979> 980> 981> 982> 983> 984> 985> 986> 987> 988> 989> 990> 991> 992> 993> 994> 995> 996> 997> 998> 999> 1000> 1001> 1002> 1003> 1004> 1005> 1006> 1007> 1008> 1009> 1010> 1011> 1012> 1013> 1014> 1015> 1016> 1017> 1018> 1019> 1020> 1021> 1022> 1023> 1024> 1025> 1026> 1027> 1028> 1029> 1030> 1031> 1032> 1033> 1034> 1035> 1036> 1037> 1038> 1039> 1040> 1041> 1042> 1043> 1044> 1045> 1046> 1047> 1048> 1049> 1050> 1051> 1052> 1053> 1054> 1055> 1056> 1057> 1058> 1059> 1060> 1061> 1062> 1063> 1064> 1065> 1066> 1067> 1068> 1069> 1070> 1071> 1072> 1073> 1074> 1075> 1076> 1077> 1078> 1079> 1080> 1081> 1082> 1083> 1084> 1085> 1086> 1087> 1088> 1089> 1090> 1091> 1092> 1093> 1094> 1095> 1096> 1097> 1098> 1099> 1100> 1101> 1102> 1103> 1104> 1105> 1106> 1107> 1108> 1109> 1110> 1111> 1112> 1113> 1114> 1115> 1116> 1117> 1118> 1119> 1120> 1121> 1122> 1123> 1124> 1125> 1126> 1127> 1128> 1129> 1130> 1131> 1132> 1133> 1134> 1135> 1136> 1137> 1138> 1139> 1140> 1141> 1142> 1143> 1144> 1145> 1146> 1147> 1148> 1149> 1150> 1151> 1152> 1153> 1154> 1155> 1156> 1157> 1158> 1159> 1160> 1161> 1162> 1163> 1164> 1165> 1166> 1167> 1168> 1169> 1170> 1171> 1172> 1173> 1174> 1175> 1176> 1177> 1178> 1179> 1180> 1181> 1182> 1183> 1184> 1185> 1186> 1187> 1188> 1189> 1190> 1191> 1192> 1193> 1194> 1195> 1196> 1197> 1198> 1199> 1200> 1201> 1202> 1203> 1204> 1205> 1206> 1207> 1208> 1209> 1210> 1211> 1212> 1213> 1214> 1215> 1216> 1217> 1218> 1219> 1220> 1221> 1222> 1223> 1224> 1225> 1226> 1227> 1228> 1229> 1230> 1231> 1232> 1233> 1234> 1235> 1236> 1237> 1238> 1239> 1240> 1241> 1242> 1243> 1244> 1245> 1246> 1247> 1248> 1249> 1250> 1251> 1252> 1253> 1254> 1255> 1256> 1257> 1258> 1259> 1260> 1261> 1262> 1263> 1264> 1265> 1266> 1267> 1268> 1269> 1270> 1271> 1272> 1273> 1274> 1275> 1276> 1277> 1278> 1279> 1280> 1281> 1282> 1283> 1284> 1285> 1286> 1287> 1288> 1289> 1290> 1291> 1292> 1293> 1294> 1295> 1296> 1297> 1298> 1299> 1300> 1301> 1302> 1303> 1304> 1305> 1306> 1307> 1308> 1309> 1310> 1311> 1312> 1313> 1314> 1315> 1316> 1317> 1318> 1319> 1320> 1321> 1322> 1323> 1324> 1325> 1326> 1327> 1328> 1329> 1330> 1331> 1332> 1333> 1334> 1335> 1336> 1337> 1338> 1339> 1340> 1341> 1342> 1343> 1344> 1345> 1346> 1347> 1348> 1349> 1> 2> 3> 1> 2> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 1> 2> 1> 2> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 1> 2> 3> 1> 2> 1> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 1> 2> 3> 4> 5> 6> 7> 1> 2> 3> 4> 5> 6> 7> 1> [10:22:50] RunShellCommand: Command: osql exited with code: 0
[10:22:50] UpdateServerFiles: Copying files...
[10:22:50] Copy arguments: "C:\Users\obsufocated_user\AppData\Local\Temp\2\092D8B52-D848-423B-BD43-1E6C9163A564\Update\mirror" "C:\Program Files (x86)\Novell\ZENworks\mobile\" /i /s /e /r /h /y
[10:22:50] RunShellCommand: Running command:xcopy
[10:22:50] RunShellCommand: Command: xcopy exited with code: 0
[10:22:50] SetFilePermissions: Setting file permissions...
[10:22:50] RunShellCommand: Running command:cacls
------ Snipped Verbose File list -------
[10:22:51] RunShellCommand: Command: cacls exited with code: 0
[10:22:51] UpdateMDM_ini: Updating server configuration...
[10:22:51] UpdateMDM_ini: The update contains no mdm.ini changes.
[10:22:51] RunExecutables: Running custom actions...
[10:22:51] RunSQLExecutables: Running custom database actions...
[10:22:51] HandleSelfUpdates: Checking for self-updates...
[10:22:51] CleanupUpdateFiles: Removing temporary update files...
[10:22:51] RunShellCommand: Running command:cmd /C rmdir
[10:22:51] RunShellCommand: Command: cmd /C rmdir exited with code: 0
[10:22:51] RunUpdate: The updater application has self-updated and the user will be prompted to restart it.
[10:24:12] RunShellCommand: Running command:iisreset
Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted
[10:24:16] RunShellCommand: Command: iisreset exited with code: 0 -
Advanced Queuing for Oracle / Dequeue failed
Hi *,
I'm using Oracle Advanced Queuing and OC4J with some MDBs. Unfortunately sometimes I have following exception:
03-05-21 10:29 Error listening to 'USER_QUEUE'
oracle.jms.AQjmsException: JMS-120: Dequeue failed
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:283)
at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:2034)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:981)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:918)
at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:834)
at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:905)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
at java.lang.Thread.run(Thread.java:479)
All messages hang in my queue with READY state. I really don't know what is happening.
I have observed that when I run my MDB, but on the different machine, one message is consumed and the same exception arises.
Why Oracle cannot run dequeue process correctly?
best regards
MaciekWe had similar problems. Mostly the cause was incorrect message type (other than AQ$_JMS..., i. e. ancestor of "message" class) or incorrectly filled body of a message. For example, there seems to be a bug in AQ$_JMS_TEXT_MESSAGE object: you have to set at least one of varchar2 or CLOB in body of message. Otherwise, dequeue will fail, JMS assumes there is some text inside.
We are using 8i and 9i databases and messages are created using plain constructors (not methods from 9i, since code has to run on either version). I cannot recall any troubles using methods from 9i during researching, but there might be a bug somewhere.
Myrra -
Hi,
I have more than 1000 column in my select query and want to insert that record in one table. can anybody suggest how is it possible?
example
create table tst nologging as
select a.*,b.*,c.*,a.dt-b.dt noofdays,b.dt-c.dt calcdays,.....,.....
from a.cd=b.cd and b.cd=c.cd;Well, actually you can select more than 1000 columns...
SQL> select dummy -- 1
2 , dummy -- 2
3 , dummy -- 3
4 , dummy -- 4
5 , dummy -- 5
6 , dummy -- 6
7 , dummy -- 7
8 , dummy -- 8
9 , dummy -- 9
10 , dummy -- 10
11 , dummy -- 11
12 , dummy -- 12
13 , dummy -- 13
14 , dummy -- 14
15 , dummy -- 15
16 , dummy -- 16
17 , dummy -- 17
18 , dummy -- 18
19 , dummy -- 19
20 , dummy -- 20
21 , dummy -- 21
22 , dummy -- 22
23 , dummy -- 23
24 , dummy -- 24
25 , dummy -- 25
26 , dummy -- 26
27 , dummy -- 27
28 , dummy -- 28
29 , dummy -- 29
30 , dummy -- 30
31 , dummy -- 31
32 , dummy -- 32
33 , dummy -- 33
34 , dummy -- 34
35 , dummy -- 35
36 , dummy -- 36
37 , dummy -- 37
38 , dummy -- 38
39 , dummy -- 39
40 , dummy -- 40
41 , dummy -- 41
42 , dummy -- 42
43 , dummy -- 43
44 , dummy -- 44
45 , dummy -- 45
46 , dummy -- 46
47 , dummy -- 47
48 , dummy -- 48
49 , dummy -- 49
50 , dummy -- 50
51 , dummy -- 51
52 , dummy -- 52
53 , dummy -- 53
54 , dummy -- 54
55 , dummy -- 55
56 , dummy -- 56
57 , dummy -- 57
58 , dummy -- 58
59 , dummy -- 59
60 , dummy -- 60
61 , dummy -- 61
62 , dummy -- 62
63 , dummy -- 63
64 , dummy -- 64
65 , dummy -- 65
66 , dummy -- 66
67 , dummy -- 67
68 , dummy -- 68
69 , dummy -- 69
70 , dummy -- 70
71 , dummy -- 71
72 , dummy -- 72
73 , dummy -- 73
74 , dummy -- 74
75 , dummy -- 75
76 , dummy -- 76
77 , dummy -- 77
78 , dummy -- 78
79 , dummy -- 79
80 , dummy -- 80
81 , dummy -- 81
82 , dummy -- 82
83 , dummy -- 83
84 , dummy -- 84
85 , dummy -- 85
86 , dummy -- 86
87 , dummy -- 87
88 , dummy -- 88
89 , dummy -- 89
90 , dummy -- 90
91 , dummy -- 91
92 , dummy -- 92
93 , dummy -- 93
94 , dummy -- 94
95 , dummy -- 95
96 , dummy -- 96
97 , dummy -- 97
98 , dummy -- 98
99 , dummy -- 99
100 , dummy -- 100
101 , dummy -- 101
102 , dummy -- 102
103 , dummy -- 103
104 , dummy -- 104
105 , dummy -- 105
106 , dummy -- 106
107 , dummy -- 107
108 , dummy -- 108
109 , dummy -- 109
110 , dummy -- 110
111 , dummy -- 111
112 , dummy -- 112
113 , dummy -- 113
114 , dummy -- 114
115 , dummy -- 115
116 , dummy -- 116
117 , dummy -- 117
118 , dummy -- 118
119 , dummy -- 119
120 , dummy -- 120
121 , dummy -- 121
122 , dummy -- 122
123 , dummy -- 123
124 , dummy -- 124
125 , dummy -- 125
126 , dummy -- 126
127 , dummy -- 127
128 , dummy -- 128
129 , dummy -- 129
130 , dummy -- 130
131 , dummy -- 131
132 , dummy -- 132
133 , dummy -- 133
134 , dummy -- 134
135 , dummy -- 135
136 , dummy -- 136
137 , dummy -- 137
138 , dummy -- 138
139 , dummy -- 139
140 , dummy -- 140
141 , dummy -- 141
142 , dummy -- 142
143 , dummy -- 143
144 , dummy -- 144
145 , dummy -- 145
146 , dummy -- 146
147 , dummy -- 147
148 , dummy -- 148
149 , dummy -- 149
150 , dummy -- 150
151 , dummy -- 151
152 , dummy -- 152
153 , dummy -- 153
154 , dummy -- 154
155 , dummy -- 155
156 , dummy -- 156
157 , dummy -- 157
158 , dummy -- 158
159 , dummy -- 159
160 , dummy -- 160
161 , dummy -- 161
162 , dummy -- 162
163 , dummy -- 163
164 , dummy -- 164
165 , dummy -- 165
166 , dummy -- 166
167 , dummy -- 167
168 , dummy -- 168
169 , dummy -- 169
170 , dummy -- 170
171 , dummy -- 171
172 , dummy -- 172
173 , dummy -- 173
174 , dummy -- 174
175 , dummy -- 175
176 , dummy -- 176
177 , dummy -- 177
178 , dummy -- 178
179 , dummy -- 179
180 , dummy -- 180
181 , dummy -- 181
182 , dummy -- 182
183 , dummy -- 183
184 , dummy -- 184
185 , dummy -- 185
186 , dummy -- 186
187 , dummy -- 187
188 , dummy -- 188
189 , dummy -- 189
190 , dummy -- 190
191 , dummy -- 191
192 , dummy -- 192
193 , dummy -- 193
194 , dummy -- 194
195 , dummy -- 195
196 , dummy -- 196
197 , dummy -- 197
198 , dummy -- 198
199 , dummy -- 199
200 , dummy -- 200
201 , dummy -- 201
202 , dummy -- 202
203 , dummy -- 203
204 , dummy -- 204
205 , dummy -- 205
206 , dummy -- 206
207 , dummy -- 207
208 , dummy -- 208
209 , dummy -- 209
210 , dummy -- 210
211 , dummy -- 211
212 , dummy -- 212
213 , dummy -- 213
214 , dummy -- 214
215 , dummy -- 215
216 , dummy -- 216
217 , dummy -- 217
218 , dummy -- 218
219 , dummy -- 219
220 , dummy -- 220
221 , dummy -- 221
222 , dummy -- 222
223 , dummy -- 223
224 , dummy -- 224
225 , dummy -- 225
226 , dummy -- 226
227 , dummy -- 227
228 , dummy -- 228
229 , dummy -- 229
230 , dummy -- 230
231 , dummy -- 231
232 , dummy -- 232
233 , dummy -- 233
234 , dummy -- 234
235 , dummy -- 235
236 , dummy -- 236
237 , dummy -- 237
238 , dummy -- 238
239 , dummy -- 239
240 , dummy -- 240
241 , dummy -- 241
242 , dummy -- 242
243 , dummy -- 243
244 , dummy -- 244
245 , dummy -- 245
246 , dummy -- 246
247 , dummy -- 247
248 , dummy -- 248
249 , dummy -- 249
250 , dummy -- 250
251 , dummy -- 251
252 , dummy -- 252
253 , dummy -- 253
254 , dummy -- 254
255 , dummy -- 255
256 , dummy -- 256
257 , dummy -- 257
258 , dummy -- 258
259 , dummy -- 259
260 , dummy -- 260
261 , dummy -- 261
262 , dummy -- 262
263 , dummy -- 263
264 , dummy -- 264
265 , dummy -- 265
266 , dummy -- 266
267 , dummy -- 267
268 , dummy -- 268
269 , dummy -- 269
270 , dummy -- 270
271 , dummy -- 271
272 , dummy -- 272
273 , dummy -- 273
274 , dummy -- 274
275 , dummy -- 275
276 , dummy -- 276
277 , dummy -- 277
278 , dummy -- 278
279 , dummy -- 279
280 , dummy -- 280
281 , dummy -- 281
282 , dummy -- 282
283 , dummy -- 283
284 , dummy -- 284
285 , dummy -- 285
286 , dummy -- 286
287 , dummy -- 287
288 , dummy -- 288
289 , dummy -- 289
290 , dummy -- 290
291 , dummy -- 291
292 , dummy -- 292
293 , dummy -- 293
294 , dummy -- 294
295 , dummy -- 295
296 , dummy -- 296
297 , dummy -- 297
298 , dummy -- 298
299 , dummy -- 299
300 , dummy -- 300
301 , dummy -- 301
302 , dummy -- 302
303 , dummy -- 303
304 , dummy -- 304
305 , dummy -- 305
306 , dummy -- 306
307 , dummy -- 307
308 , dummy -- 308
309 , dummy -- 309
310 , dummy -- 310
311 , dummy -- 311
312 , dummy -- 312
313 , dummy -- 313
314 , dummy -- 314
315 , dummy -- 315
316 , dummy -- 316
317 , dummy -- 317
318 , dummy -- 318
319 , dummy -- 319
320 , dummy -- 320
321 , dummy -- 321
322 , dummy -- 322
323 , dummy -- 323
324 , dummy -- 324
325 , dummy -- 325
326 , dummy -- 326
327 , dummy -- 327
328 , dummy -- 328
329 , dummy -- 329
330 , dummy -- 330
331 , dummy -- 331
332 , dummy -- 332
333 , dummy -- 333
334 , dummy -- 334
335 , dummy -- 335
336 , dummy -- 336
337 , dummy -- 337
338 , dummy -- 338
339 , dummy -- 339
340 , dummy -- 340
341 , dummy -- 341
342 , dummy -- 342
343 , dummy -- 343
344 , dummy -- 344
345 , dummy -- 345
346 , dummy -- 346
347 , dummy -- 347
348 , dummy -- 348
349 , dummy -- 349
350 , dummy -- 350
351 , dummy -- 351
352 , dummy -- 352
353 , dummy -- 353
354 , dummy -- 354
355 , dummy -- 355
356 , dummy -- 356
357 , dummy -- 357
358 , dummy -- 358
359 , dummy -- 359
360 , dummy -- 360
361 , dummy -- 361
362 , dummy -- 362
363 , dummy -- 363
364 , dummy -- 364
365 , dummy -- 365
366 , dummy -- 366
367 , dummy -- 367
368 , dummy -- 368
369 , dummy -- 369
370 , dummy -- 370
371 , dummy -- 371
372 , dummy -- 372
373 , dummy -- 373
374 , dummy -- 374
375 , dummy -- 375
376 , dummy -- 376
377 , dummy -- 377
378 , dummy -- 378
379 , dummy -- 379
380 , dummy -- 380
381 , dummy -- 381
382 , dummy -- 382
383 , dummy -- 383
384 , dummy -- 384
385 , dummy -- 385
386 , dummy -- 386
387 , dummy -- 387
388 , dummy -- 388
389 , dummy -- 389
390 , dummy -- 390
391 , dummy -- 391
392 , dummy -- 392
393 , dummy -- 393
394 , dummy -- 394
395 , dummy -- 395
396 , dummy -- 396
397 , dummy -- 397
398 , dummy -- 398
399 , dummy -- 399
400 , dummy -- 400
401 , dummy -- 401
402 , dummy -- 402
403 , dummy -- 403
404 , dummy -- 404
405 , dummy -- 405
406 , dummy -- 406
407 , dummy -- 407
408 , dummy -- 408
409 , dummy -- 409
410 , dummy -- 410
411 , dummy -- 411
412 , dummy -- 412
413 , dummy -- 413
414 , dummy -- 414
415 , dummy -- 415
416 , dummy -- 416
417 , dummy -- 417
418 , dummy -- 418
419 , dummy -- 419
420 , dummy -- 420
421 , dummy -- 421
422 , dummy -- 422
423 , dummy -- 423
424 , dummy -- 424
425 , dummy -- 425
426 , dummy -- 426
427 , dummy -- 427
428 , dummy -- 428
429 , dummy -- 429
430 , dummy -- 430
431 , dummy -- 431
432 , dummy -- 432
433 , dummy -- 433
434 , dummy -- 434
435 , dummy -- 435
436 , dummy -- 436
437 , dummy -- 437
438 , dummy -- 438
439 , dummy -- 439
440 , dummy -- 440
441 , dummy -- 441
442 , dummy -- 442
443 , dummy -- 443
444 , dummy -- 444
445 , dummy -- 445
446 , dummy -- 446
447 , dummy -- 447
448 , dummy -- 448
449 , dummy -- 449
450 , dummy -- 450
451 , dummy -- 451
452 , dummy -- 452
453 , dummy -- 453
454 , dummy -- 454
455 , dummy -- 455
456 , dummy -- 456
457 , dummy -- 457
458 , dummy -- 458
459 , dummy -- 459
460 , dummy -- 460
461 , dummy -- 461
462 , dummy -- 462
463 , dummy -- 463
464 , dummy -- 464
465 , dummy -- 465
466 , dummy -- 466
467 , dummy -- 467
468 , dummy -- 468
469 , dummy -- 469
470 , dummy -- 470
471 , dummy -- 471
472 , dummy -- 472
473 , dummy -- 473
474 , dummy -- 474
475 , dummy -- 475
476 , dummy -- 476
477 , dummy -- 477
478 , dummy -- 478
479 , dummy -- 479
480 , dummy -- 480
481 , dummy -- 481
482 , dummy -- 482
483 , dummy -- 483
484 , dummy -- 484
485 , dummy -- 485
486 , dummy -- 486
487 , dummy -- 487
488 , dummy -- 488
489 , dummy -- 489
490 , dummy -- 490
491 , dummy -- 491
492 , dummy -- 492
493 , dummy -- 493
494 , dummy -- 494
495 , dummy -- 495
496 , dummy -- 496
497 , dummy -- 497
498 , dummy -- 498
499 , dummy -- 499
500 , dummy -- 500
501 , dummy -- 501
502 , dummy -- 502
503 , dummy -- 503
504 , dummy -- 504
505 , dummy -- 505
506 , dummy -- 506
507 , dummy -- 507
508 , dummy -- 508
509 , dummy -- 509
510 , dummy -- 510
511 , dummy -- 511
512 , dummy -- 512
513 , dummy -- 513
514 , dummy -- 514
515 , dummy -- 515
516 , dummy -- 516
517 , dummy -- 517
518 , dummy -- 518
519 , dummy -- 519
520 , dummy -- 520
521 , dummy -- 521
522 , dummy -- 522
523 , dummy -- 523
524 , dummy -- 524
525 , dummy -- 525
526 , dummy -- 526
527 , dummy -- 527
528 , dummy -- 528
529 , dummy -- 529
530 , dummy -- 530
531 , dummy -- 531
532 , dummy -- 532
533 , dummy -- 533
534 , dummy -- 534
535 , dummy -- 535
536 , dummy -- 536
537 , dummy -- 537
538 , dummy -- 538
539 , dummy -- 539
540 , dummy -- 540
541 , dummy -- 541
542 , dummy -- 542
543 , dummy -- 543
544 , dummy -- 544
545 , dummy -- 545
546 , dummy -- 546
547 , dummy -- 547
548 , dummy -- 548
549 , dummy -- 549
550 , dummy -- 550
551 , dummy -- 551
552 , dummy -- 552
553 , dummy -- 553
554 , dummy -- 554
555 , dummy -- 555
556 , dummy -- 556
557 , dummy -- 557
558 , dummy -- 558
559 , dummy -- 559
560 , dummy -- 560
561 , dummy -- 561
562 , dummy -- 562
563 , dummy -- 563
564 , dummy -- 564
565 , dummy -- 565
566 , dummy -- 566
567 , dummy -- 567
568 , dummy -- 568
569 , dummy -- 569
570 , dummy -- 570
571 , dummy -- 571
572 , dummy -- 572
573 , dummy -- 573
574 , dummy -- 574
575 , dummy -- 575
576 , dummy -- 576
577 , dummy -- 577
578 , dummy -- 578
579 , dummy -- 579
580 , dummy -- 580
581 , dummy -- 581
582 , dummy -- 582
583 , dummy -- 583
584 , dummy -- 584
585 , dummy -- 585
586 , dummy -- 586
587 , dummy -- 587
588 , dummy -- 588
589 , dummy -- 589
590 , dummy -- 590
591 , dummy -- 591
592 , dummy -- 592
593 , dummy -- 593
594 , dummy -- 594
595 , dummy -- 595
596 , dummy -- 596
597 , dummy -- 597
598 , dummy -- 598
599 , dummy -- 599
600 , dummy -- 600
601 , dummy -- 601
602 , dummy -- 602
603 , dummy -- 603
604 , dummy -- 604
605 , dummy -- 605
606 , dummy -- 606
607 , dummy -- 607
608 , dummy -- 608
609 , dummy -- 609
610 , dummy -- 610
611 , dummy -- 611
612 , dummy -- 612
613 , dummy -- 613
614 , dummy -- 614
615 , dummy -- 615
616 , dummy -- 616
617 , dummy -- 617
618 , dummy -- 618
619 , dummy -- 619
620 , dummy -- 620
621 , dummy -- 621
622 , dummy -- 622
623 , dummy -- 623
624 , dummy -- 624
625 , dummy -- 625
626 , dummy -- 626
627 , dummy -- 627
628 , dummy -- 628
629 , dummy -- 629
630 , dummy -- 630
631 , dummy -- 631
632 , dummy -- 632
633 , dummy -- 633
634 , dummy -- 634
635 , dummy -- 635
636 , dummy -- 636
637 , dummy -- 637
638 , dummy -- 638
639 , dummy -- 639
640 , dummy -- 640
641 , dummy -- 641
642 , dummy -- 642
643 , dummy -- 643
644 , dummy -- 644
645 , dummy -- 645
646 , dummy -- 646
647 , dummy -- 647
648 , dummy -- 648
649 , dummy -- 649
650 , dummy -- 650
651 , dummy -- 651
652 , dummy -- 652
653 , dummy -- 653
654 , dummy -- 654
655 , dummy -- 655
656 , dummy -- 656
657 , dummy -- 657
658 , dummy -- 658
659 , dummy -- 659
660 , dummy -- 660
661 , dummy -- 661
662 , dummy -- 662
663 , dummy -- 663
664 , dummy -- 664
665 , dummy -- 665
666 , dummy -- 666
667 , dummy -- 667
668 , dummy -- 668
669 , dummy -- 669
670 , dummy -- 670
671 , dummy -- 671
672 , dummy -- 672
673 , dummy -- 673
674 , dummy -- 674
675 , dummy -- 675
676 , dummy -- 676
677 , dummy -- 677
678 , dummy -- 678
679 , dummy -- 679
680 , dummy -- 680
681 , dummy -- 681
682 , dummy -- 682
683 , dummy -- 683
684 , dummy -- 684
685 , dummy -- 685
686 , dummy -- 686
687 , dummy -- 687
688 , dummy -- 688
689 , dummy -- 689
690 , dummy -- 690
691 , dummy -- 691
692 , dummy -- 692
693 , dummy -- 693
694 , dummy -- 694
695 , dummy -- 695
696 , dummy -- 696
697 , dummy -- 697
698 , dummy -- 698
699 , dummy -- 699
700 , dummy -- 700
701 , dummy -- 701
702 , dummy -- 702
703 , dummy -- 703
704 , dummy -- 704
705 , dummy -- 705
706 , dummy -- 706
707 , dummy -- 707
708 , dummy -- 708
709 , dummy -- 709
710 , dummy -- 710
711 , dummy -- 711
712 , dummy -- 712
713 , dummy -- 713
714 , dummy -- 714
715 , dummy -- 715
716 , dummy -- 716
717 , dummy -- 717
718 , dummy -- 718
719 , dummy -- 719
720 , dummy -- 720
721 , dummy -- 721
722 , dummy -- 722
723 , dummy -- 723
724 , dummy -- 724
725 , dummy -- 725
726 , dummy -- 726
727 , dummy -- 727
728 , dummy -- 728
729 , dummy -- 729
730 , dummy -- 730
731 , dummy -- 731
732 , dummy -- 732
733 , dummy -- 733
734 , dummy -- 734
735 , dummy -- 735
736 , dummy -- 736
737 , dummy -- 737
738 , dummy -- 738
739 , dummy -- 739
740 , dummy -- 740
741 , dummy -- 741
742 , dummy -- 742
743 , dummy -- 743
744 , dummy -- 744
745 , dummy -- 745
746 , dummy -- 746
747 , dummy -- 747
748 , dummy -- 748
749 , dummy -- 749
750 , dummy -- 750
751 , dummy -- 751
752 , dummy -- 752
753 , dummy -- 753
754 , dummy -- 754
755 , dummy -- 755
756 , dummy -- 756
757 , dummy -- 757
758 , dummy -- 758
759 , dummy -- 759
760 , dummy -- 760
761 , dummy -- 761
762 , dummy -- 762
763 , dummy -- 763
764 , dummy -- 764
765 , dummy -- 765
766 , dummy -- 766
767 , dummy -- 767
768 , dummy -- 768
769 , dummy -- 769
770 , dummy -- 770
771 , dummy -- 771
772 , dummy -- 772
773 , dummy -- 773
774 , dummy -- 774
775 , dummy -- 775
776 , dummy -- 776
777 , dummy -- 777
778 , dummy -- 778
779 , dummy -- 779
780 , dummy -- 780
781 , dummy -- 781
782 , dummy -- 782
783 , dummy -- 783
784 , dummy -- 784
785 , dummy -- 785
786 , dummy -- 786
787 , dummy -- 787
788 , dummy -- 788
789 , dummy -- 789
790 , dummy -- 790
791 , dummy -- 791
792 , dummy -- 792
793 , dummy -- 793
794 , dummy -- 794
795 , dummy -- 795
796 , dummy -- 796
797 , dummy -- 797
798 , dummy -- 798
799 , dummy -- 799
800 , dummy -- 800
801 , dummy -- 801
802 , dummy -- 802
803 , dummy -- 803
804 , dummy -- 804
805 , dummy -- 805
806 , dummy -- 806
807 , dummy -- 807
808 , dummy -- 808
809 , dummy -- 809
810 , dummy -- 810
811 , dummy -- 811
812 , dummy -- 812
813 , dummy -- 813
814 , dummy -- 814
815 , dummy -- 815
816 , dummy -- 816
817 , dummy -- 817
818 , dummy -- 818
819 , dummy -- 819
820 , dummy -- 820
821 , dummy -- 821
822 , dummy -- 822
823 , dummy -- 823
824 , dummy -- 824
825 , dummy -- 825
826 , dummy -- 826
827 , dummy -- 827
828 , dummy -- 828
829 , dummy -- 829
830 , dummy -- 830
831 , dummy -- 831
832 , dummy -- 832
833 , dummy -- 833
834 , dummy -- 834
835 , dummy -- 835
836 , dummy -- 836
837 , dummy -- 837
838 , dummy -- 838
839 , dummy -- 839
840 , dummy -- 840
841 , dummy -- 841
842 , dummy -- 842
843 , dummy -- 843
844 , dummy -- 844
845 , dummy -- 845
846 , dummy -- 846
847 , dummy -- 847
848 , dummy -- 848
849 , dummy -- 849
850 , dummy -- 850
851 , dummy -- 851
852 , dummy -- 852
853 , dummy -- 853
854 , dummy -- 854
855 , dummy -- 855
856 , dummy -- 856
857 , dummy -- 857
858 , dummy -- 858
859 , dummy -- 859
860 , dummy -- 860
861 , dummy -- 861
862 , dummy -- 862
863 , dummy -- 863
864 , dummy -- 864
865 , dummy -- 865
866 , dummy -- 866
867 , dummy -- 867
868 , dummy -- 868
869 , dummy -- 869
870 , dummy -- 870
871 , dummy -- 871
872 , dummy -- 872
873 , dummy -- 873
874 , dummy -- 874
875 , dummy -- 875
876 , dummy -- 876
877 , dummy -- 877
878 , dummy -- 878
879 , dummy -- 879
880 , dummy -- 880
881 , dummy -- 881
882 , dummy -- 882
883 , dummy -- 883
884 , dummy -- 884
885 , dummy -- 885
886 , dummy -- 886
887 , dummy -- 887
888 , dummy -- 888
889 , dummy -- 889
890 , dummy -- 890
891 , dummy -- 891
892 , dummy -- 892
893 , dummy -- 893
894 , dummy -- 894
895 , dummy -- 895
896 , dummy -- 896
897 , dummy -- 897
898 , dummy -- 898
899 , dummy -- 899
900 , dummy -- 900
901 , dummy -- 901
902 , dummy -- 902
903 , dummy -- 903
904 , dummy -- 904
905 , dummy -- 905
906 , dummy -- 906
907 , dummy -- 907
908 , dummy -- 908
909 , dummy -- 909
910 , dummy -- 910
911 , dummy -- 911
912 , dummy -- 912
913 , dummy -- 913
914 , dummy -- 914
915 , dummy -- 915
916 , dummy -- 916
917 , dummy -- 917
918 , dummy -- 918
919 , dummy -- 919
920 , dummy -- 920
921 , dummy -- 921
922 , dummy -- 922
923 , dummy -- 923
924 , dummy -- 924
925 , dummy -- 925
926 , dummy -- 926
927 , dummy -- 927
928 , dummy -- 928
929 , dummy -- 929
930 , dummy -- 930
931 , dummy -- 931
932 , dummy -- 932
933 , dummy -- 933
934 , dummy -- 934
935 , dummy -- 935
936 , dummy -- 936
937 , dummy -- 937
938 , dummy -- 938
939 , dummy -- 939
940 , dummy -- 940
941 , dummy -- 941
942 , dummy -- 942
943 , dummy -- 943
944 , dummy -- 944
945 , dummy -- 945
946 , dummy -- 946
947 , dummy -- 947
948 , dummy -- 948
949 , dummy -- 949
950 , dummy -- 950
951 , dummy -- 951
952 , dummy -- 952
953 , dummy -- 953
954 , dummy -- 954
955 , dummy -- 955
956 , dummy -- 956
957 , dummy -- 957
958 , dummy -- 958
959 , dummy -- 959
960 , dummy -- 960
961 , dummy -- 961
962 , dummy -- 962
963 , dummy -- 963
964 , dummy -- 964
965 , dummy -- 965
966 , dummy -- 966
967 , dummy -- 967
968 , dummy -- 968
969 , dummy -- 969
970 , dummy -- 970
971 , dummy -- 971
972 , dummy -- 972
973 , dummy -- 973
974 , dummy -- 974
975 , dummy -- 975
976 , dummy -- 976
977 , dummy -- 977
978 , dummy -- 978
979 , dummy -- 979
980 , dummy -- 980
981 , dummy -- 981
982 , dummy -- 982
983 , dummy -- 983
984 , dummy -- 984
985 , dummy -- 985
986 , dummy -- 986
987 , dummy -- 987
988 , dummy -- 988
989 , dummy -- 989
990 , dummy -- 990
991 , dummy -- 991
992 , dummy -- 992
993 , dummy -- 993
994 , dummy -- 994
995 , dummy -- 995
996 , dummy -- 996
997 , dummy -- 997
998 , dummy -- 998
999 , dummy -- 999
1000 , dummy -- 1000
1001 , dummy -- 1001
1002 , dummy -- 1002
1003 , dummy -- 1003
1004 , dummy -- 1004
1005 , dummy -- 1005
1006 , dummy -- 1006
1007 , dummy -- 1007
1008 , dummy -- 1008
1009 , dummy -- 1009
1010 , dummy -- 1010
1011 from dual;
DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY DUMMY
removed the others in order to overcome "Your message exceeds the maximum length of 30000 characters. "
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
SQL> But yes, you won't be able to insert them into a table... ;) -
Where can I find the deployed EJB files in Oracle 10g AS(904)
Hello All,
Where can I find the deployed ejb files, stubs and skels in the Oracle 10g (904)
When I try to run my ejb application I m getting following exception:
com.evermind.server.rmi.OrionRemoteException: Error (de-)serializing object: org.apache.log4j.Logger
I am not sure what is causing this error. I am not using any logging in my EJB. But the logging framework is configured in the application server.
Your input would be a great help to me
Thank youThanks Carty,
I am not creating Connection from EJB. I have a POJO called DBManager that looks for the DB Connection and return that to either EJB or other POJO that requests for Connection.
I am having a private method that get the connection from the DBManager because while writing UnitTest cases I can mockup getting Connection as my Unit test case will be a POJO again..
I have a question here regarding making DBManager as Singleton class. In my current project, I have configured my database in the application server as getting the connection by lookup for datasource through JNDI. It internally maintains all logical connection and always have one physical connection. In such scenario how implementing singleton will be beneficial?
Thank you for answering all my questions. -
Migrating from 903 to 904: what changed in JNDI calls to EJB's and topics
Hello all,
Ok,
First of all this all works fine in 903, the problem is occuring when I try to deploy our appliction on 904.
My problem is that the web tier can't find references to ejb's and my MDB fails at deployment because the reference to the topic fails.
Here are the error messages:
1.
Error loading package at file:/C:/Oracle/904Prod/j2ee/home/applications/sdr/ejb/SDRSysAlertMDB/, Error deploying file:/C:/Oracle/904Prod/j2ee/home/applications/sdr/ejb/SDRSysAlertMDB/ homes: No location set for Topic resource MessageDrivenBean SDRSysAlertMDB
2.
Error instantiating web-app JNDI-context: No location specified and no suitable instance of the type 'ControllerEJB' found for the ejb-ref ejb/ControllerEJB
And ideas of where to look would be appreciated.
Thanks
MattSteve, thanks for your quick response. I have 2 problems here.
What we are covering is the MDB problem below. I'll start with that one first and then work on the web tier referencing the EJB failing problem later.
Short answer is yes I have those attributes. Here are my (edited)config files.
EJB-JAR.XML
<ejb-jar>
<enterprise-beans>
<message-driven>
<display-name>SysAlertMDB</display-name>
<ejb-name>SysAlertMDB</ejb-name>
<ejb-class>**********</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Topic</destination-type>
</message-driven-destination>
<resource-ref>
<res-ref-name>jms/SysAlertTopicConnectionFactory</res-ref-name>
<res-type>javax.jms.TopicConnectionFactory</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<resource-env-ref-name>jms/SysAlertTopic</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
</resource-env-ref>
</message-driven>
</enterprise-beans>
</ejb-jar>
ORION-EJB.JAR
<orion-ejb-jar>
<enterprise-beans>
<message-driven-deployment max-instances="1"
name="SysAlertMDBBean"
min-instances="0"
destination-location="jms/SysAlertTopic"
connection-factory-location="jms/SysAlertTopicConnectionFactory"/>
</enterprise-beans>
</orion-ejb-jar>
JMS.XML
<topic-connection-factory name="SysAlertTopicConnectionFactory" location="jms/SysAlertTopicConnectionFactory" host="*******" port = "*******" username = "******" password = "********"/>
<topic name="SysAlertTopic" location="jms/SysAlertTopic"/>
The error:
Auto-deploying - compiling and loading...
Error deploying file:/***SysAlertMDBBean*****/ homes: No location set for Topic resource MessageDrivenBean SysAlertMDB Error in application sdr: Error loading package at file:/***SysAlertMDBBean*****/ , Error deploying file:/***SysAlertMDBBean*****/ / homes: No location set for Topic resource MessageDrivenBean SysAlertMDB
04/03/22 12:48:47 done.
04/03/22 12:48:47 Error instantiating application 'sdr' at file:/********/: Error initializing ejb-module; Exception Error in application sdr: Error loading package at file:/***SysAlertMDBBean*****/ /, Error deploying file:/***SysAlertMDBBean*****/ / homes: No location set for Topic resource MessageDrivenBean SysAlertMDB -
Error after deploy the EJB's to a Oracle 904 ias
I use Jdeveloper as my IDE. I developed EJB's and test it in the embeded OC4J. It runs well. But I got errors when I deployed it into a Oracle 904ias. The error is : Error deserializing return-value: java.io.InvalidClassException: cor.no.jalcom.vo.ValueObject; local Object Address: 0x64FD27C4.
Do you have any advice about this issue?That is the interesting part:
The DataSource for PersistenceManager SAMPLEDB_ALIAS is not created.
Read here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/61/fdbc3d16f39e33e10000000a11405a/frameset.htm
about Persistency and here:
http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/4f7770b21b9f459cb13424296726b1/frameset.htm
about Aliases. From there you can find a link that shows how to configure that stuff.
regards,
Benny -
I generated a Struts / Jsp application using the wizards in the latest 904 Jeveloper and then planned to migrate it to 10G [as 10G lacks the full application generation wizard :( ], but I get the following error when running inside 10G on a standard browse table and the next button to show the next 3 lines of data.
For migration, I copied the entire directory structure over to the 10G install directory structure, and the JDeveloper told me twice that it was seeing an older version and updating it to the latest 10G version, I then rebuilt the project and saved it. Is there a problem with migration? I like the quick application generation feature of 904 with plans to use it as a staring point, but if it is missing in 10G I must migrate to do so.
java.lang.NoSuchMethodError: oracle.jbo.common.PropertyMetadata.getName()Ljava/lang/String;I initially was doing the migration via high speed internet connection, but the screen stated that the transfer would be faster if an Erthernet or Thunderbolt cable was used. I didn't have a Thunderbolt, so I'm using an Erthernet. I called Apple Care Support and they suggested that I let it go another hour since I'm not seeing any error messages on either the transmitting or receiving Mac.
-
Unique Key Violation While Doing Multiple Updates And Create in EJB
Hello All,
I am using oracle 9i and Weblogic 7.0. I have a table that has a unique key constraint on one column , say 'Col1' and i am using a CMP to read,create and update data in this table. The problem description is as follows.
I have JTable that display the data from the above said table. The user can modify the existing data and insert new data that will be reflected in the DB using the CMP. Let us say the following are displayed
ROW1
Col1 : 3
Col2 : 'ABC'
Col3 : 1 (Primary key in the table)
Now the user modifies the above row and inserts a new record. Now the following will be the display
ROW1 (Modified)
Col1 : 4
Col2 : 'ABC'
Col3 : 1 (Primary key in the table)
ROW2 (New)
Col1 : 3
Col2 : 'DEF'
Col3 : 2 (Primary key in the table)
When the above data is saved i do the following in the Code
a) Session Bean
For (all the data in the Jtable)
try
home.findByPrimaryKey(Col3);
remote.update(Col1,Col2);
catch(FinderException fe)
home.create(Col1,Col2,Col3);
When the above code is run During the first loop the update runs succesfully (i.e update old value of 3 with 4 ) but during the 2nd loop the create (i.e Insert new value 3) gives me the unique key violated exception. The following is the stack trace
<Oct 25, 2004 11:36:22 AM IST> <Info> <EJB> <010049> <EJB Exception in method: ejbPostCreate: java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:579)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1892)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2130)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2013)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2869)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
at weblogic.jdbc.jts.Statement.executeUpdate(Statement.java:509)
at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.__WL_create(TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.java:1435)
at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.ejbPostCreate(TerminalPaymentsCMP_kbdoop__WebLogic_CMP_RDBMS.java:1353)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.DBManager.create(DBManager.java:1023)
at weblogic.ejb20.manager.DBManager.localCreate(DBManager.java:904)
at weblogic.ejb20.internal.EntityEJBLocalHome.create(EntityEJBLocalHome.java:180)
at de.dl.ucs.contract.entity.TerminalPaymentsCMP_kbdoop_LocalHomeImpl.create(TerminalPaymentsCMP_kbdoop_LocalHomeImpl.java:73)
at de.dl.ucs.contract.helperclasses.SubsegmentMaintanence.saveTerminalPayments(SubsegmentMaintanence.java:697)
at de.dl.ucs.contract.controller.SubsegmentSL.saveSubsegmentDetails(SubsegmentSL.java:570)
at de.dl.ucs.contract.controller.SubsegmentSL.processFinanceSubsegmentSave(SubsegmentSL.java:1601)
at de.dl.ucs.contract.controller.SubsegmentSL_kgzv4j_EOImpl.processFinanceSubsegmentSave(SubsegmentSL_kgzv4j_EOImpl.java:498)
at de.dl.ucs.contract.events.FinanceSubsegmentBEH.saveSubsegmentDetails(FinanceSubsegmentBEH.java:749)
at de.dl.ucs.contract.events.FinanceSubsegmentBEH.processEvent(FinanceSubsegmentBEH.java:232)
at de.dl.ucs.framework.flowcontroller.ControllerBean.delegateAction(ControllerBean.java:229)
at de.dl.ucs.framework.flowcontroller.ControllerBean_riqvk4_EOImpl.delegateAction(ControllerBean_riqvk4_EOImpl.java:46)
at de.dl.ucs.framework.flowcontroller.ControllerBean_riqvk4_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:441)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:382)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:726)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:377)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
>
<Oct 25, 2004 11:36:22 AM IST> <Info> <EJB> <010051> <EJB Exception during invocation from home: [email protected] threw exception: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested exception is: java.sql.SQLException: ORA-00001: unique constraint (UAT_CYCLE2_1.UK_PYMT_DET_TX) violated
Please help me with this, as far as i am concerned since both update and create is in the same transaction the update on the row must be visible to the create and hence there shouild not be any problem.....
thanks in advance
ShankiHi,
Thanks,
There are 3 columns involved with that table . Out of whihc one is a Primary Key (string) , The other column (Number) has a unique key constraint defined on it and the last column stores a value corresponding to the 2nd column.
The reason for me to do a create in the Finder exception is as follows.
I Loop through the Data present in JTable. As given in the example let us assume that there are 2 rows in the JTable. Out of whihc the First row needs an updation and the second row , which is a new row needs to be created. So During the First iteration of the loop, The findermethod does not throw any exception (Because it is a modfied row) and hence the update gets fired successfully. During the second iteration , since it is a new row the findermethod will throw a finder exception and hence create will get fired.
I understand that this is not a good coding style but then it is not 100% wrong and i need to find out as to why it is not working.
Hope am clear in explaining my problem
Thanks
Shanki -
I am using JDev 10g(9.0.4) I have created an EJB, I can deploy the EJB to OC4J Standalone 10g (9.0.4) and everything works great.
However, when I deploy the EJB to Oracle Application Server 10g(9.0.4) enterprise edition, I cannot assess the EJB.
I assume it may be a security issue??
Anyone have any ideas?It may be security but it may just be the JNDI URL you are using.
If you are accessing a remote EJB and specifying the full JNDI as "ormi://host:23971/application" then you'll need to modify it to specify a slightly different JNDI lookup string.
In an OracleAS environment, the ports for the OC4J instance are dynamically allocated, so what was an easily identifiable fixed port (23791 for OC4J standalone) isn't the same in OracleAS.
So what we've provided is a way to specify a JNDI URL which first will interrogate our server to find the OC4J RMI port, and then connect to that.
The EJB Developer's Guide describes this. Look for the location section at the following link.
http://download-west.oracle.com/docs/cd/B10464_02/web.904/b10324/primer.htm#1019664
cheers
-steve- -
Error JBO-33003 ADF Business component as an EJB remote
Hi,
I need to deploy an ADF application (model in business component and view in ADF Faces) in a multi-tier architecture. I deployed the MODEL project (bc4j) in an OAS’s OC4J instance. Now, when I try to test de application I get the following error:
oracle.jbo.ConfigException: JBO-33003: Connection name <my_conn_to_oas> not defined.
Also, I tried to connect to de EJB session from my VIEW project, so I changed the file DataBindings.cpx. I changed the line Configuration="AMProyectosLocal" to Configuration="AMProyectosAS_DS".
When I run the view project I get the same error:
500 Internal Server Error
oracle.jbo.ConfigException: JBO-33003: Connection name AppServerPenny not defined
at oracle.jbo.client.Configuration.initializeFromConnectionName(Configuration.java:1103)
at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:538)
at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:461)
at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:436)
at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:287)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:539)
at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:136)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:222)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
at oracle.adf.model.BindingContext.get(BindingContext.java:457)
What is the problem?
Where can I find the process to deploy in a multi-tier platform?
Please, help me.Thank for your help.
I reviewed the datasource configuration and it is Ok.
The connection’s name isn't a datasource name. It is the connection’s name to the APPLICATION SERVER. I reviewed the bc4j.xcfg file and it has the following definition:
<ConnectionDefinition name="AppServerPenny">
<ENTRY name="remote-oracle-home" value="/home/oracle/OAS/10.2.0/middle"/>
<ENTRY name="ConnectionType" value="Oracle_AS_10g_UNIX"/>
<ENTRY name="HOSTNAME" value="penny.asesoftware.com"/>
<ENTRY name="DeployPassword" value="true"/>
<ENTRY name="oc4j-instance-name" value="OC4J_ARES"/>
<ENTRY name="user" value="ias_admin"/>
<ENTRY name="ConnectionName" value="AppServerPenny"/>
<ENTRY name="ormi-username" value="admin"/>
<ENTRY name="ormi-client-url" value="ormi://penny.asesoftware.com:23791"/>
<ENTRY name="IIOP_PORT" value="1810"/>
<ENTRY name="password">
<![CDATA[{904}05B4D7F42A8C91433599EDC9FDE9B9B249A698997ABBAAAD13]]>
</ENTRY>
<ENTRY name="ormi-password" value="manager123"/>
<ENTRY name="DeployPassword" value="true"/>
</ConnectionDefinition>
Why does the test utility not found the AppServerPenny connection? -
Stored procedure, EJB, JPA, and JavaServer Faces
Hi!
I am currently working on a Web application using EJB, JPA, and JavaServer Faces. A part of the
business logic is already stored in the database as stored procedures, so we need to call those
procedures (instead of named queries) through a EJB and represent the data on the web tier.
Where can I find an extensive tutorial using this technology? There is no such tutorial in the Oracle Learning Library.
Maybe somebody can provide a link and/or example.
Thanks in advance for your help!Hi,
http://download.oracle.com/docs/cd/B10464_05/web.904/b10313/queries.htm#1135305
For more help, see the TopLink / JPA forum
TopLink/JPA
Frank
Maybe you are looking for
-
Header text in contract not transferring to PO
Hi, I am creating a PO referencing a contract. I maintained header note in contract. Now, when I am creating a PO referencing to the contract the header note in not transferring to the PO. The F1 help in header note in contract shows if it will not
-
Create new db from RAC cold backup
Hi Team i need to copy cold database from one server to another server . and build an new rac database out of that cold backup .. i have done it for singel node instance . but do you know if i have to do something special for RAC instance .. or simpl
-
Can I create books for iPhone using iBooks Author?
Can I create books for iPhone using iBooks Author?
-
[svn:fx-trunk] 13763: ASDoc bug fixes
Revision: 13763 Revision: 13763 Author: [email protected] Date: 2010-01-25 12:53:28 -0800 (Mon, 25 Jan 2010) Log Message: ASDoc bug fixes QE notes: Doc notes: Bugs: FLEXDOCS-1207, FLEXDOCS-1199, FLEXDOCS-1215 Reviewer: Tests run: checkintests I
-
I have a PDF in which i exported xdp data, i can open the xdp and it opens the PDF and populates, locally stored PDF, if I then edit the xdp to point to the same PDF, just loaded on the intranet, http address it opens PDF but will not populate. form