Oracle AQ with Orion 2.0 application server
Hi,
I'm trying to use Oracle AQ/JMS as queue for a J2EE message driven bean running in an Orion 2.0 application server.
To connect the bean with the queue I have to configure a resource provider. By now, the only resource provider I found is the class oracle.jms.OjmsContext witch is included in the oc4j.jar file of oracles J2EE container.
So the question is, is there a way to use Oracle AQ as infrastructure for message driven beans with other J2EE servers then Oracles OC4J?
Thanks in advance.
Alexander Schulz
Tanks 327 for your reply.
I think you got me a little wrong (because of my poor english).
I hoped that somebody can tell me if there is a java library (jar) that I can use to use Oracle AQ with Orion 2.0 for message driven beans.
I'm wondering why the class OjmsContext is only availiable in the main jar of the Oracle J2EE container. I think it would be very usefull to have an extra library containing all the stuff needed to use AQ with other application servers.
Alexander Schulz
Similar Messages
-
ColdFusion compatibility with Sun Java System Application Server
Background: A vendor that is doing a project for our
department told us that ColdFusion MX 6.1 is not compatible with
Sun Java System Application Server Enterprise Edition 8.1 and
beyond. Since we are migrating our server environment to this
release of Sun Java System Application Server Enterprise Edition,
we face a difficult situation in that our ColdFusion applications
will no longer run. Thus, we would like Adobe to answer a couple
questions which will help us determine what course of action we
ought to take.
Q: Will applications we developed using ColdFusion MX 6.1 run
on Sun Java System Application Server Enterprise Edition 8.1? Below
is a detailed description of the Sun Java System Application Server
Enterprise Edition we intend to migrate to.
Q: Is Adobe aware of any compatibility issues with this
configuration?
Q: What is Adobe's support commitment regarding future
releases of ColdFusion MX and Sun Java System Application Server
Enterprise Edition? Does Adobe intend to continue support this
environment?
Configuration: Sun Java System Application Server Enterprise
Edition 8.1_02 (build b24-p11)
Below is the specification levels for the 8.1 server
(J2EE1.4), note it can use J2SE 1.4.2_06 or 5.0 as the JAVA
runtime.
J2EE 1.4 compatible
Components: J2SE 1.4.2_06 or J2SE 5.0
Application and Application Client
Enterprise JavaBeans (EJB) 2.1
Java Servlet 2.4
JavaServer Pages(JSP) 2.0
J2EE Connector Architecture 1.5
JMX 1.2
JMS 1.1
Java Naming and Directory Interface (JNDI) 1.2
and Java Transaction API (JTA) 1.0
Web Services:Java Web Services Developer Pack 1.5
Java APIs for XML Registries (JAXR) 1.0
Java API for XML-based Remote Procedure Calls (JAX-RPC) 1.1
SOAP With Attachments API for Java (SAAJ) 1.2
WS-I Basic Profile 1.0
Other:J2EE Deployment 1.1
J2EE Management 1.0
Java API for XML Processing (JAXP) 1.2
JavaMail 1.3
Java Authentication and Authorization Service (JAAS) 1.0
Java Authorization Contract for Containers (JACC) 1.0First of all, is there a reason why you are using jRockit?
Since the issue appeared after upgrading the windows, the issue would potentially be in the interaction between JVM and OS.
Also, there were some issues related to memory leak that were fixed in AS 8.2.
May be you should try with a Sun JVM and AS 8.2. -
Integrate p6SPY with Sun Java System Application Server 7 ...?
Dear PALs,
Let me know how can I Integrate p6SPY (w3.p6spy.com) with "Sun Java System Application Server 7 2004Q2" on Windows ?
When I try to follow the steps given at http://www.p6spy.com/documentation/install.htm#unspec ,my server throws
INFO ( 1820): JMS5035: Timed out after 30000 milliseconds while trying to verify if the JMS service startup succeeded.
INFO ( 1820): JMS5036: More details may be available in the log file for the JMS service broker instance domain1_server1. Please refer to the JMS provider documentation for the exact location of this log file.
[27/Dec/2004:18:37:35] SEVERE ( 1820): JMS5024: JMS service startup failed.
[27/Dec/2004:18:37:35] SEVERE ( 1820): CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [NARAYANA:7676]. - cause: java.net.ConnectException: Connection refused: connect
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:247)
at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:224)
at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
Caused by: com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [NARAYANA:7676]. - cause: java.net.ConnectException: Connection refused: connect
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:231)
... 2 more
expecting sagacious reply......
thanks,
SIMPLEbnmHi,
You can set the p6SPY on Sun Java System Application Server as follows.
Create a connection pool using Admin Console, please don't specify any database vendor. Then use the following properties.
Data Source Class Name : com.p6spy.engine.spy.P6DataSource
Resource Type : javax.sql.DataSource
and then provide the following property.
user, password and url. Make sure you add the p6spy.jar and properties file to the classpath.
Try to ping the connection pool, and it should work. -
Oracle report is not running on application server with more than 700 recod
Hi,
I have developed oracle report using dev suite report builder. When I am running using report builder then its running fine. Whenever I am deploying on application server and trying to run then its not executing. Then I have deployed same report with less than 700 records then its run fine.
Please advice me if you have any solution
thanks in advance
umeshHi Pavan,
Thanks for reply.
I have resolved this issue. This issue happen because of report server not able to handle large data. To resolve this issue I have made report server traces service off. Because of making traces off the report server fully utilized for report generation.
Thanks,
Umesh -
Oracle BPEL 10.1.2.0.2 with 10.1.3 Application Server
Is it possible to deploy BPEL processes developed in 10.1.2.0.2 to the 10.1.3 Application Server. I don't think it is given the changes to the web services architecture between 10.1.2 to 10.1.3, but I wanted a second opinion.
Thanks!the error log you can find in my first post
the result of polsql is the following:
D:\devtools\OraBPELPM4\integration\orabpel\bin>polsql
D:\devtools\OraBPELPM4\integration\orabpel\bin>set PATH=D:\devtools\oraclexe\app
\oracle\product\10.2.0\server\bin;"c:\program files\mkbt";d:\devtools\jdk1.5.0\b
in;D:\libs\maven-2.0-beta-3\bin;D:\libs\apache-ant-1.6.5\bin;d:\devtools\ruby1.8
.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\
ATI Technologies\ATI Control Panel;C:\Program Files\Common Files\Compuware;d:\de
vtools\Objective Caml\bin;C:\Program Files\cvsnt;d:\devtools\Subversion\bin;C:\P
rogram Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\QuickTime\QTSy
stem\;d:\devtools\jdk1.5.0/jre/bin/client;C:/oracle/wsm_olite;C:/coresv_install_
home/external/olite/db;;D:\devtools\OraBPELPM4\jdk\jre\bin\server
D:\devtools\OraBPELPM4\integration\orabpel\bin>set CLASSPATH=C:\Program Files\Co
mmon Files\Compuware;C:\Program Files\Java\jre1.5.0_04\lib\ext\QTJava.zip;C:/cor
esv_install_home/lib/extlib/olite40.jar;D:\devtools\OraBPELPM4\integration\orabp
el\lib\olite40.jar
D:\devtools\OraBPELPM4\integration\orabpel\bin>msql.exe system/any@jdbc:polite4@
localhost:100:orabpel
Oracle MSQL Version 1.0.0.0.2
(c) Copyright 2001 Oracle Corporation. All rights reserved
[ODBC S1092] operation type is out of range
D:\devtools\OraBPELPM4\integration\orabpel\bin>
obversion.bat gets the following
"D:\devtools\OraBPELPM4\integration\orabpel\bin>obversion.bat
Oracle BPEL Server version 10.1.2.0.2
Build: 2196
Build time: Tue Jan 10 12:31:53 UTC 2006
Build type: release
Source tag: BPEL_10.1.2.0.2_GENERIC_060110.1200
D:\devtools\OraBPELPM4\integration\orabpel\bin>" -
XML data into Oracle Tables. XML file on Application Server.Oracle Apps R12
Hi All,
My Database version : 11.2.0.2.0
I have an XML file which needs to be loaded into the Database Tables. How ever i do not want to use the XMLTYPE as given below
insert into test1 (
SELECT PrcDate, PmtType, PmtStatus, PmtTypeCount, PmtTypeAmt
FROM XMLTABLE(
'/WFPaymentAck/RejectedDom1ACH'
PASSING XMLTYPE( BFILENAME('ECX_UTL_LOG_DIR_OBJ','wf_test_xml.XML'), NLS_CHARSET_ID('UTF8') )
COLUMNS
PrcDate VARCHAR2(2000) PATH '@PrcDate' ,
PmtType VARCHAR2(2000) PATH '@PmtType' ,
PmtStatus VARCHAR2(100) PATH '@PmtStatus' ,
PmtTypeCount VARCHAR2(100) PATH 'PmtTypeCount' ,
PmtTypeAmt VARCHAR2(100) PATH 'PmtTypeAmt'
Because this way the XML file needs to reside on the DB server.
I am looking into other option of loading the XML file into a CLOB column of a table and reading it from that column.
I did a couple of tests and feel that this way also the XML file has to reside on the Database Server itself. I am not sure if this is correct or if there is any problem with our TEST instance.
++Can anyone let me know if i need to have the XML file on the DB server instead of the Application server to load into a CLOB column of table ??++
++Or++
++Is there any other workaround for me to load XML into Oracle Tables, while having the XML file on Application Server.++
Your immediate help is appreciated. I need to get past this ASAP.
Thanks in Advance.
VJ1) Are you asking me to create a folder on Database directory which points to a folder on the Apps server ?I suggest creating an Oracle directory object (a database object) pointing to a real location (folder) on Application server.
we DONOT want a hand shake between the DB Server and the APPS server.I don't see where the problem is.
I'm not familiar with Apps R12 but there's no doubt the two servers are already communicating, at least App server should be able to access the DB for the whole thing to run.
As I said :
One way or another, the data has to make its way to the database, there's no workaround to that.How do you imagine the data will end up in a database table if it doesn't come to the DB server?
There's no magical method out there, both servers have to communicate at some point.
About client-server approaches (client being here the App server), you can read about accessing the XML DB repository in the XML DB Developer's Guide : http://download.oracle.com/docs/cd/E11882_01/appdev.112/e23094/toc.htm
Other option : SQL*Loader can load a CLOB, or an XMLType column too
Edited by: odie_63 on 19 déc. 2011 20:22 -
Folks,
Hello. I am installing PeopleTools 8.53 Internet Architecture. Database Server is Oracle Database 11gR1. OS is Oracle Linux 5.
I confront the issue regarding booting Application Server Domain PT853 while Database Server is listening as below:
[user@userlinux PT8.53]$ . ./psconfig.sh
[user@userlinux appserv]$ export SYSTEM_PASS=SYS/SYS
[user@userlinux appserv]$ export ORACLE_HOME=/home/user/OracleDB_Home
[user@userlinux appserv]$ export ORACLE_SID=PT853
[user@userlinux appserv]$ export TUXDIR=/home/user/Oracle/Middleware/tuxedo11gR1
[user@userlinux appserv]$ export LD_LIBRARY_PATH=$TUXDIR/lib:$LD_LIBRARY_PATH
[user@userlinux appserv]$ export PATH=$TUXDIR/bin:$PATH
[user@userlinux appserv]$ ./psadmin
Its output gets 2 errors in the current server log file /home/user/psft/pt/8.53/appserv/PT853/LOGS/APPSRV_0919.LOG as below:
First, GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
Second, GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
I create a symlink in /home/user/OracleDB_Home/lib and /lib32 as below:
[user@userlinux lib]$ ln -s libclntsh.so.11.1 libclntsh.so.8.0
[user@userlinux lib32]$ ln -s libclntsh.so.11.1 libclntsh.so.8.0
After that, I run ./psadmin to boot the domain PT853 again, I see the first error is solved. Now, there is only one error in the current server log file /home/user/psft/pt/8.53/appserv/PT853/LOGS/APPSRV_0924.LOG is below:
GenMessageBox(0, 0, M): Database Signon: Invalid user ID or password for database signon. (id=MyOwnerName)
Server failed to start
I have changed UserId as PSADMIN in Configuration file, purge cache and clean IPC resources and reboot. Password is correct. But the error always indicates id=MyOwnerName.
Application Designer login as PSADMIN successfully. Data Mover Bootstrap login as MyOwnerName successfully.
My question is:
Why both PSADMIN and MyOwnerName are invalid user ID or password for database signon ? How to solve the issue ?
Thanks.As stated in the installation manual there are a few prerequisites in chapter CHAPTER 8B Configuring the Application Server on UNIX page 238
Prerequisites
Before beginning this procedure, you should have completed the following tasks:
Installed your application server.
See "Using the PeopleSoft Installer," Understanding PeopleSoft Servers
Installed Tuxedo 11gR1
See "Installing Additional Components."
Granted authorization to a PeopleSoft user ID to start the application server.
The database configuration procedure includes a step for setting up the user ID with authorization to start
the application server. See the application-specific installation instructions for information on the user IDs
for your PeopleSoft application. See the PeopleTools: Security Administration product documentation
for information on PeopleSoft PeopleTools delivered user profiles.
See "Creating a Database on UNIX," Running the Database Configuration Wizard.
See "Creating a Database Manually <on Windows or UNIX>," Creating Data Mover Import Scripts.
Run the following SQL statements on your database server to review and if needed, update the PSCLASSDEFN table:
SELECT CLASSID, STARTAPPSERVER FROM PSCLASSDEFN
WHERE CLASSID IN (SELECT OPRCLASS FROM PSOPRCLS WHERE OPRID='<OPRID>');
UPDATE PSCLASSDEFN SET STARTAPPSERVER=1 WHERE CLASSID='<CLASSID>';
Note. Installers typically use VP1 or PS to test the application server. If these users are deleted or their
passwords are changed, the application server will no longer be available. To avoid this problem, you can set
up a new operator (called PSADMIN or PSASID, for instance) with privileges to start the application server.
If you do this, you can use the new operator for your servers and you won't need to change the
password each time VP1 or PS is changed.
Does you user have privileges to start the applications server.
Also pay attention to the connectid configuration in the application server. This should be the same connectid and password as you provided during the database creation script connect.sql -
Install PeopleTools 8.53 with Linux Issue: Configure Application Server using psadmin
Folks,
Hello. I am installing PeopleTools 8.53 Internet Architecture. Database Server is Oracle Database 11gR1. OS is Oracle Linux 5. I have installed JDK7, WebLogic 10.3.6, Tuxedo 11gR1 and PeopleTools 8.53 successfully into Oracle Linux 5. I have set up PeopleTools 8.53 Database Instance into Oracle Database Server successfully. Data Mover and Application Designer login into the Database Instance successfully. Web Server has been configured successfully.
Now, I confront the issue regarding configuring Application Server as below:
In Windows, I run /PT8.53/appserv/psadmin.exe to create a domain for the PeopleTools Database Instance successfully. But in Linux, the file /PT8.53/appserv/psadmin is light blue color and not executable, I try to run it in the following way:
[user@userlinux appserv]$ ./psadmin
Its output: ./psadmin: error while loading shared libraries: libtrio64.so: cannot open shared object file: No such file or directory
My question is:
Can any folk tell me how to configure Application Server using psadmin in Linux for PeopleTools Internet Architecture ? How to solve the above issue ?
Thanks.Folks,
Hello. Thanks a lot for replying. I run psadmin in the way below:
[user@userlinux PT8.53]$ . ./psconfig.sh
[user@userlinux appserv]$ export TUXDIR=/home/user/Oracle/Middleware/tuxedo11gR1
[user@userlinux appserv]$ export LD_LIBRARY_PATH=$TUXDIR/lib:$LD_LIBRARY_PATH
[user@userlinux appserv]$ export PATH=$TUXDIR/bin:$PATH
[user@userlinux appserv]$ ./psadmin
For Application Designer login, I use UserId PSADMIN and password PSADMIN, it works successfully.
For Data Mover Bootstrap Mode login, I use UserId MYNAME and password MYNAME, it works successfully.
When configure Application Server, I use UserID PSADMIN and password PSADMIN. But when boot the domain, the current server log file "APPSRV_0919.LOG" indicates that "Database Signon: Could not sign on to database PT853 with user PSADMIN."
Then I use UserId MYNAME and password MYNAME to configure the Application server again. I boot this domain again. Strangely, the log file APPSRV_0919.LOG gets the same error message "Database Signon: Could not sign on to database PT853 with user PSADMIN."
I purge the cache and clean IPC resources of this domain, and boot this domain again but get the same error message as above.
The content of current server log file /home/user/psft/pt/8.53/appserv/PT853/LOGS/APPSRV_0919.LOG is below:
PSADMIN.5732 (0) [2013-09-19T11:01:10.841](0) Begin boot attempt on domain PT853
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.338](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.484](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.539](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.548](0) Database Options: override_connection_reset: 0
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.550](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
PSAPPSRV.9537 (0) [2013-09-19T11:01:30.551](0) Server failed to start
PSADMIN.5732 (0) [2013-09-19T11:01:38.906](0) End boot attempt on domain PT853
PSADMIN.10674 (0) [2013-09-19T11:02:20.766](0) Begin boot attempt on domain PT853
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.736](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.823](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.848](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.854](0) Database Options: override_connection_reset: 0
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.855](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
PSAPPSRV.11239 (0) [2013-09-19T11:02:34.856](0) Server failed to start
PSADMIN.10674 (0) [2013-09-19T11:02:41.270](0) End boot attempt on domain PT853
PSADMIN.5107 (0) [2013-09-19T11:56:37.435](0) Begin boot attempt on domain PT853
PSAPPSRV.5182 (0) [2013-09-19T11:56:57.842](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.068](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.134](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.142](0) Database Options: override_connection_reset: 0
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.144](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
PSAPPSRV.5182 (0) [2013-09-19T11:56:58.145](0) Server failed to start
PSADMIN.5107 (0) [2013-09-19T11:57:05.737](0) End boot attempt on domain PT853
PSADMIN.4966 (0) [2013-09-19T18:55:48.131](0) Begin boot attempt on domain PT853
PSAPPSRV.5009 (0) [2013-09-19T18:56:08.869](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.071](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.130](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.138](0) Database Options: override_connection_reset: 0
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.140](1) GenMessageBox(0, 0, M): Database Signon: Could not sign on to database PT853 with user PSADMIN.
PSAPPSRV.5009 (0) [2013-09-19T18:56:09.141](0) Server failed to start
PSADMIN.4966 (0) [2013-09-19T18:56:16.253](0) End boot attempt on domain PT853
PSADMIN.4966 (0) [2013-09-19T19:40:11.049](0) Begin boot attempt on domain PT853
PSAPPSRV.6475 (0) [2013-09-19T19:40:26.633](0) PeopleTools Release 8.53 (Linux) starting. Tuxedo server is APPSRV(99)/1
PSAPPSRV.6475 (0) [2013-09-19T19:40:26.731](0) Cache Directory being used: /home/user/psft/pt/8.53/appserv/PT853/CACHE/PSAPPSRV_1/
PSAPPSRV.6475 (0) [2013-09-19T19:40:26.776](1) GenMessageBox(200, 0, M): PS General SQL Routines: Missing or invalid version of SQL library libpsora64 (200,0)
"~/psft/pt/8.53/appserv/PT853/LOGS/APPSRV_0919.LOG" 64L, 7012C
My question are:
1) I have changed UserId from PSADMIN to MYNAME and password from PSADMIN to MYNAME in Application Server configuration, why the log file APPSRV_0919.LOG gets the same error message "Database Signon: Could not sign on to database PT853 with user PSADMIN." ?
2) I purge the cache and clean IPC resources of this domain and reboot this doamin, why the log file APPSRV_0919.LOG gets the same error message "Database Signon: Could not sign on to database PT853 with user PSADMIN." ?
3) How to solve the above issues ?
Thanks. -
Problem with WLST in weblogic application server 10.3 on solaris 10 x86
Hi Friends, I installed Sun Solaris 10 on my desktop x86. I am able to install oracle weblogic application server 10.3.
I created one domain and I am trying to start AdminServer on that using WLST command.
Before that , I started the admin server from command as normal start ( nohup ./startWebLogic.sh &) and the server started perfectly alright. After that I was trying to open admin console in firefox browser. It was opening perfectly alright.
Now I stopped the server and checked no processes which are related to weblogic were running , and then initialized the WLST environment using the script "wlst.sh" , which is at (in my system) /usr/bea/wlserver_10.3/common/bin/wlst.sh. Now the environment had been set and the WLST offline prompt came up.
Now I used the below WLST scirpt command
startServer('AdminServer','mydomain','t3://localhost:7001','weblogic','weblogic1');
and the server started perfectly alright, now what I did was , I started admin console at FireFox browser , it prompted me to enter user name and password , I gave them , and once the login is done, then in my shell window , I am seeing error as
**wls:/offline> WLST-WLS-1263965848154: <Jan 19, 2010 11:39:24 PM CST> <Error> <HTTP> <BEA-101017> <[ServletContext@28481438[app:consoleapp module:console path:/console spec-version:2.5]] Root cause of ServletException.**
**WLST-WLS-1263965848154: java.lang.OutOfMemoryError: PermGen space**
**WLST-WLS-1263965848154: at java.lang.ClassLoader.defineClass1(Native Method)**
**WLST-WLS-1263965848154: at java.lang.ClassLoader.defineClass(ClassLoader.java:616)**
**WLST-WLS-1263965848154: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)**
**WLST-WLS-1263965848154: at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)**
**WLST-WLS-1263965848154: at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)**
**WLST-WLS-1263965848154: Truncated. see log file for complete stacktrace**
**WLST-WLS-1263965848154: >**
**WLST-WLS-1263965848154: <Jan 19, 2010 11:39:24 PM CST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean com.bea:Name=mydomain,Type=SNMPAgentRuntime.**
**WLST-WLS-1263965848154: java.lang.OutOfMemoryError: PermGen space**
**WLST-WLS-1263965848154: at java.lang.ClassLoader.defineClass1(Native Method)**
**WLST-WLS-1263965848154: at java.lang.ClassLoader.defineClass(ClassLoader.java:616)**
**WLST-WLS-1263965848154: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)**
**WLST-WLS-1263965848154: at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)**
**WLST-WLS-1263965848154: at java.net.URLClassLoader.access$000(URLClassLoader.java:56)**
**WLST-WLS-1263965848154: Truncated. see log file for complete stacktrace**
**WLST-WLS-1263965848154: >**
**WLST-WLS-1263965848154: Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: PermGen space**
So I thought I have less memory consuming for this weblogic admin server and opened up ,
_/usr/bea/wlserver_10.3/common/bin/commEnv.sh_
and changed the memory arguments as
Sun)
JAVA_VM=-server
MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=1024m" <---- previously these were 32m and 200m and MaxPermSize
and also in /usr/bea/wlserver10.3/common/bin/bin/setDomainEnv.sh_
and in this file also I changed the memory arguments as
*if [ "${JAVA_VENDOR}" = "Sun" ] ; then*
*WLS_MEM_ARGS_64BIT="-Xms256m -Xmx512m"*
*export WLS_MEM_ARGS_64BIT*
*WLS_MEM_ARGS_32BIT="-Xms1024m -Xmx1024m"*
*export WLS_MEM_ARGS_32BIT*
and restarted the server using the WLST command and again tried to open the admin console on a browser, same error is showing.
(1) Environment : Sun Solaris x86
(2) JDK : sun jdk 1.6._17
Please help me what I am doing wrong here and please let me know the solution.
I was trying to install jrockit 1.6 on this since my OS is sun solaris X86 , there is no compatible jrockit version is not there.
Thanks a lot
PeterHi Peter,
As you have mentioned in your Post that
MEM_ARGS="-Xms1024m -Xmx1024m -XX:MaxPermSize=1024m" <---- previously these were 32m and 200m and MaxPermSize
The Setting you have provided is wrong ...that is the reason you are gettingjava.lang.OutOfMemoryError: PermGen space. There is a RRation between PermSize and the maximum Heap Size...
Just a Bit Explaination:
Formula:
(OS Level)Process Size = Java Heap (+) Native Space (+) (2-3% OS related Memory)
PermSize : It's a Netive Memory Area Outside of the Heap, Where ClassLoading kind of things happens. In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
Now Lets take the default Process Size=2GB (Windows), Now As you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
(ProcessSize - HeapSize) = Native (+) (2-3% OS related Memory)
2048 MB - 512 MB = 1536 MB
THUMB RULES:
<h3><font color=red>
MaxPermSize = (MaxHeapSize/3) ----Very Special Cases
MaxPermSize = (MaxHeapSize/4) ----Recommended
</font></h3>
In your Case -Xmx (Max Heap Size) and -XX:MaxPermSize both were same ....That is the reason you are getting unexpected results. These should be in proper ration.
What should be the exact setting of these parameters depends on the Environment /Applications etc...
But Just try -Xmx1024m -Xms1024m -XX:MaxPermSize256m
Another recommendation for fine tuning always keep (Xmx MaxHeapSize & Xms InitialHeapSize same).
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Edited by: Jay SenSharma on Jan 20, 2010 5:33 PM -
Solaris 10 Install - with Sun Java System Application Server (8.2)
Hi guys:
What is the reason for Solaris 10 to be installed with the Sun Java System Application Server (8.2). It is a really old version and gets in the way when I install GlassFish 2.1.1
How does on avoid getting it in the install, and how does Sun stop adding it to the distribution?
Thanks
LeonidHi guys:
What is the reason for Solaris 10 to be installed with the Sun Java System Application Server (8.2). It is a really old version and gets in the way when I install GlassFish 2.1.1
How does on avoid getting it in the install, and how does Sun stop adding it to the distribution?
Thanks
Leonid -
Sending mails with attachment stored on application server
Dear all,
i've written a ABAP report to send an email to external customers. The report is running in background every night and works fine.
Now i have to attach documents to this emails. The documents are stored in the filesystem of the application server under /usr/sap/userdata. It can be any type of file, DOC, XLS, PPT and so on ...
Has anyone an idea, how i could attach such a file to my mails?
Im sending the mails with FM SO_NEW_DOCUMENT_ATT_SEND_API1. Can i use this FM to attach my documents, and how can i do so?
We're running on ECC 5.0 , Basis 6.40
Thanks in advance for your help - KlausHi Klaus,
You can use the FM' SO_NEW_DOCUMENT_ATT_SEND_API1 ' and pass approiate vaule for contents_txt in TABLES option. Its an internal table for any attachment.
Thanks & Regards,
J.Prakash -
Apache,IIS integration with Sun Java System Application Server
Hi,
Is any one know the way to connect Sun Appserver with IIS and Apace server.
Edited by: shiju707 on Oct 10, 2007 8:22 PMI'm also looking at the same solution of how to configure IIS as the front end for the Sun Java System Application Server 9.1. I went though the following document from Sun, but still unable to configure the IIS as the front end of the application server.
http://docs.sun.com/app/docs/doc/819-3679/abdhq?a=view
After i have configured the IIS, the ISAPI filter shown the status down for the Sun Load balancer plugin.
Did anyone have any idea of how can i configure IIS to working the Sun Java System Application Server 9.1? -
[HELP] Send email with attachment files from application server
How can i send email to users with pdf/xls attachment files through job with pl/sql , but the files are on application server.
I've tried using UTL_MAIL but it's not working, cause the file & DIRectory setting should be inside of database server. Should I copy the files from report server to database file system or any other techniques so there's no need to use the physical files?
Please help!
Thank youHi,
Thanks for your help, hoek & alvinder...
I've tried the java send mail suggest by alvinder, and i got an error if i fill the Sender parameter with AutoMail :
status:1 javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 553 5.5.4 <AutoMail>... Domain name required
Then i changed the Sender with valid email address :
status:1 javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: 501 5.1.8 Domain of sender address [email protected] does not exist
What could be wrong with this? Please help me... since i dont understand java programming :)
I 'm still trying to find out
Thank you very much -
Problems with file transfer to application server
Hi Experts,
am using sap 4.0 version. Now i want to transfer data to application sever in csv format.
I have doubt, since 4.0 is not a unicode check then how can we handle text while transferring to application server.
how we find the text is double bit or single bit? how can i convert this and download to al11.Hi
If you want to transfer the file to App Server through a custom Program, then you need to use
V_FILENAME = Complete path with filename.
Open dataset V_FILENAME FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
if sy-subrc EQ 0.
loop at itab into watab.
move watab to V_String.
transfer V_String to V_FILENAME
endloop.
endif.
If you want to transfer the file to App Server manually then use the transaction.
CG3Z
If you want to get the file from App Server through a custom Program, then you need to use
Open dataset V_FILENAME FOR INPUT IN TEXT MODE ENCODING DEFAULT.
if SY-SUBRC EQ 0.
DO.
Read dataset V_FILENAME INTO V_STRING.
if sy-subrc ne 0.
exit.
endif.
Move this V_string to Wa
append wa to itab
enddo.
endif.
If you want to Copy the file from App Server manually then use the transaction.
CG3Y
If you want to append the file , then first find out if the file is present in the asked location or not.
Call the FM to List all the Files in the directory - 'RZL_READ_DIR_LOCAL' and store the data in an internal table
Search this internal table to see if the file already exists.
if it is present use
OPEN dataset V_FILENAME in text mode for appending.
if sy-subrc EQ 0.
loop at itab into watab.
move watab to V_String.
transfer V_String to V_FILENAME
endloop.
endif.
Do not forget to CLOSE DATEST after opening it.
Cheers -
Oracle Forms on IBM Web Sphere Application Server and BEA Application Serv
Hi,
Can we run Oracle Forms on top of IBM web phere or Bea application servers?..
If possible, please give the steps that we need to follow to make it run on themI've seen this asked before and the general repsonse was : don't do it , it's not worth the hassle. Apart from anything else you'll still have to pay the license fees for the Oracle Application server ....
Maybe you are looking for
-
Problem With PXE Across Subnets
I'm having a problem with PXE across subnets. The workstation boots, finds the dhcp server, finds the tftp server, downloads linux.1 and linux.2 with no problem. It is unable to download linux3.tgz, however. I've tried two different zen servers. I ca
-
1.I have a time sheet entry thing and the status will be pending when i enter the time sheet .It was auto populated by me using a hidden and protected item and after filling it , i will submit it.It will go directly to manager . 2.If manager approves
-
Post installation steps after SAP BW system copy
Hi! I am about to do post processsing steps after system copy of SAP BW system. 1) One of the steps is to delete all entries from tables DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA. Question: what is the way to do this? 2) During the installation
-
hi trying to load windows 7 on macbok pro, with usb 3.0 having problems, only get 'virtual pcos service' message. thanks if you can help ?
-
I love tech toys like everyone else here, as soon as I started hearing rumors of the original Droid with the slide out keyboard I knew that's what I wanted to get (after many, many, full retail price purchases of "top dog" dumb phones). I love that p