How to Retrieve Server Name for creating connection pool during startup!
Hi All,
I am going thru the edocs documentation of weblogic for creating the connection pool and the datasource dynamically. The URL I referred to was as under
http://edocs.bea.com/wls/docs81/jdbc/programming.html
There is a sample given in the above-mentioned URL. The Server MBean is created by passing the server name.
The code below mentioned was have placed in my dblib.java
svrAdminMBean = (ServerMBean)adminMBeanHome.getAdminMBean("myserver", "Server");
I am creating the connection pool from the servlet by invoking the dblib.java
I cannot hard-code the server name in the dblib.java since the same code was shared across multiple servlets.
Each Servlet will create its own connection pool during application server startup.
Is there a way to retrieve the server name in which the dblib.java is invoked.
Any pointers to info source will be REALLY appreciated.
Many Thanks in Advance,
C R Baradwaj
You can get it from the Java system property weblogic.Name, i.e. System.getProperty("weblogic.Name");
Cheers
Feargal
Similar Messages
-
How to change Server Name on BPC Connection Wizard in Mass
Hi there,
I need to know if there's a way to change Server Name in Connection Wizard on a large number of PCs, using a configuration file that can be deployed to the PCs that need the change.
Thanks for your response.
Cheers,
RodrigoApparently the Server name is stored under:
HKEY_LOCAL_USER\Software\VB and VBA Program Settings\Outlooksoft
5\LATEST for each user who uses BPC under the data containing "SERVER"
So this is going to help on this requirement, previous a registry backup.
Cheers,
Rodrigo -
How to get ManagedBean for C3P0 connection pool.
Hi there,
How to get ManagedBean(C3P0PooledDataSourceMBean) for C3P0 connection pool, as the object name is getting constructed during run time.
Thanks,
SidHi there,
How to get ManagedBean(C3P0PooledDataSourceMBean) for C3P0 connection pool, as the object name is getting constructed during run time.
Thanks,
Sid -
Cant create connection Pool for MS SQL Server 2000 with Microsoft Driver
i am using bea weblogic server 6.1, i cant create connection pool while using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft website. when
i give the following class name for JDBC driver and the connection url and click
apply while selecting the available server, a number of exception appears in default
server (that is the connection pool cannot be created..... cannot load the driver
class).
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple application in Jbuilder
7.0 the application runs successfully and fetches the data deom MS SQL database
but in at Bea connection Pool is not created with these settings. i do give appropriate
username and password in properties field in connection pool. Thankx for any help!khabbab wrote:
That was the original code part from "startweblogic" :
:runWebLogic
echo on
set PATH=.\bin;%PATH%
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;
echo off
and i changed it to :
:runWebLogic
echo on
set PATH=.\bin;%PATH%
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;D:\Program Files\Microsoft
SQL Server 2000 Driver for JDBC\lib\msbase.jar;D:\Program Files\Microsoft SQL
Server 2000 Driver for JDBC\lib\msutil.jar;D:\Program Files\Microsoft SQL Server
2000 Driver for JDBC\lib\mssqlserver.jar;I suggest moving or copying the three ms driver jars to a directory that has no blanks
in it so the classpath doesn't have blanks in it. Ie:
go to the "D:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib"
directory and do this:
mkdir D:\microsoft_jdbc_driver
cp *.jar D:\microsoft_jdbc_driver
Then make the classpath include D:\microsoft_jdbc_driver\msbase.jar etc.
Joe
>
>
echo off
when i save and run the bat file, server appears then disappears.
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
The class path which is echoed at server startup does not include thepaths to
driver jar files. when i edited the "startweblogic.bat" file and includedthe
driver class paths to jar files, now the server doesnot even run. tellme what
to do now???Show me what change you made to the startweblogic file.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
kindly tell me how can i check that the class paths for driver jarfiles are included
in that string? thanks. also tell me can not i use the jdriver forsql server
2000?.The startup script will echo what it's doing, including printing out
the classpath
it will use. Yes you can use the jDriver for MS SQL2000. It is sufficient
for
basic JDBC, but the MS drivfer is preferable in some ways.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
i am using bea weblogic server 6.1, i cant create connection
pool
while
using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft
website.
when
i give the following class name for JDBC driver and the connectionurl and click
apply while selecting the available server, a number of exception
appears
in default
server (that is the connection pool cannot be created..... cannot
load
the driver
class).The server startup script creates a string that will become the
classpath
for the server.
This string is part of the java call to start the server with a-classpath
argument. You need to
make sure the MS driver jars are part of that classpath string.
Joe
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple applicationin Jbuilder
7.0 the application runs successfully and fetches the data deom
MS
SQL database
but in at Bea connection Pool is not created with these settings.
i
do give appropriate
username and password in properties field in connection pool.
Thankx
for any help!
khabbab wrote:
The class path which is echoed at server startup does not include thepaths to
driver jar files. when i edited the "startweblogic.bat" file and includedthe
driver class paths to jar files, now the server doesnot even run. tellme what
to do now???
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
kindly tell me how can i check that the class paths for driver jarfiles are included
in that string? thanks. also tell me can not i use the jdriver forsql server
2000?.The startup script will echo what it's doing, including printing out
the classpath
it will use. Yes you can use the jDriver for MS SQL2000. It is sufficient
for
basic JDBC, but the MS drivfer is preferable in some ways.
Joe
Joseph Weinstein <[email protected]_this> wrote:
khabbab wrote:
i am using bea weblogic server 6.1, i cant create connection
pool
while
using MS
SQL Server 2000. i have installed JDBC Driver SAP1 from microsoft
website.
when
i give the following class name for JDBC driver and the connectionurl and click
apply while selecting the available server, a number of exception
appears
in default
server (that is the connection pool cannot be created..... cannot
load
the driver
class).The server startup script creates a string that will become the
classpath
for the server.
This string is part of the java call to start the server with a-classpath
argument. You need to
make sure the MS driver jars are part of that classpath string.
Joe
URL= jdbc:Microsoft:sqlserver://127.0.0.1:1433;DatabaseName=MyDB
Driver= com.microsoft.jdbc.sqlserver.SQLServerDriver
when i use the above setting in a JDBC simple applicationin Jbuilder
7.0 the application runs successfully and fetches the data deom
MS
SQL database
but in at Bea connection Pool is not created with these settings.
i
do give appropriate
username and password in properties field in connection pool.
Thankx
for any help! -
Retrieve available server names for MS SQL server
hello
Can somebody tell me how I can retrieve available server names for MS SQL server.
When MS SQL server loads it asks for server name to connect but on the same time has a combobox with the available server names(instace+database name). How can I provide the same functionality in my application?
Thank you in advance.It isn't going to be as simple as just the name.
There are also different ways to connect and probably other parameters as well.
SQL Server Enterprise Manager probably uses a discovery protocol. It probably sends one or more messages requesting information and those servers that want to respond.
Note that none of that has anything to do with JDBC and discovering how it does that probably isn't easy. A packet sniffer might help. -
How dynamically create connection pool and Datasource
Hi
How I can dynamically create a connection pool and Data source in Oracle 10g Application server. In our J2EE application the user will be login with db user name, password and database name. I want to create connection pool and data source on the fly while login the user with database name. I our application we have access approximate 80 Databases. so my approach is given bellow
1) Planning to create 80 connection pools and 80 Data sources so when user logs in while selecting the db name i will call the appropriate data source and create the DB connection. Is there any limitation to create number of data sources in oracle app server?
2) Create DB connection with out using connection pool and data source. But i am not prefer this approach coz we need to handle some transaction in our application.
Kindly throw some light on managing connection pool programmatically or in application run time.
I would really appreciate if any one can provide any links or any inormation on this issue.
Thanks in advance.Kindly let me know is there any drawbacks to create 80 Data Sources to connect 80 database in Oracle 10G App server and each data sources should have one connection pool. so i need to create 80 connection pool. Please let me know is this right approach or any work around to create Data source on fly for each request for corresponding database.
-
Cannot create connection pool with weblogic jDriver XA for oracle
Hi everybody,
we have serious problems configuring the weblogic jDriver for Oracle with support
for distributed transactions.
Everything works fine with the non-XA driver.
We tried the suggestions given here before like setting the environment variable
ORACLE_SID. However, this does not change the errors we get. We use Weblgic Server
6.1 SP2 with oracle 8.1.7 (client and server) under Windows NT.
When attempting to create the connection pool, we get the following exception:
Starting Loading jDriver/Oracle .....
<14.05.2002 15:48:30 CEST> <Error> <JDBC> <Cannot startup connection pool "DiplPool"
weblogic.common.ResourceException: java.sql.SQLException: open failed for XAResource
'DiplPool' with error XAER_RMERR : A resource manager error has occured in the transaction
branch. Check Oracle XA trace file(s) (if any) for database errors. The Oracle XA
trace file(s) are located at the directory where you start the Weblogic Server, and
have names like xa_<pool_name><MMDDYYYY>.trc.
at weblogic.jdbc.oci.xa.XAConnection.<init>(XAConnection.java:58)
at weblogic.jdbc.oci.xa.XADataSource.getXAConnection(XADataSource.java:601)
at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:200)
at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:57)
at weblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.java:698)
at weblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282)
at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623)
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
The trace file looks like this:
ORACLE XA: Version 8.1.5.0.0. RM name = 'Oracle_XA'.
113105.161:160.160.-1344514975:
xaoopen: xa_info=Oracle_XA+Acc=P/schamper/schamper+SesTm=100+DB=DiplPool+Threads=true+LogDir=.+DbgFl=0x15,rmid=-1344514975,flags=0x0
113105.161:160.160.-1344514975:
ORA-12560: TNS: Fehler bei Protokolladapter
113105.161:160.160.-1344514975:
xaolgn_help: XAER_RMERR; OCIServerAttach failed. ORA-12560.
113105.161:160.160.-1344514975:
xaoopen: return -3
We suspect that we do not set the properties of the connection pool correctly. The
declaration of the pool in config.xml looks something like the following:
<JDBCConnectionPool CapacityIncrement="1" DriverName="weblogic.jdbc.oci.xa.XADataSource"
InitialCapacity="10" MaxCapacity="15" Name="DiplPool"
Properties="user=scott;password=tiger;url=jdbc:weblogic:oracle:srlaptop_aidenbach.muc.sdm-research.de;dataSourceName=DiplPool"
Targets="Marvin" TestTableName="privcust" URL="jdbc:weblogic:oracle:srlaptop_aidenbach.muc.sdm-research.de"/>
Are there any known issues with the XA driver and the versions of oracle and Weblogic
we use? Can someone tell us how exactly we have to define the connection pool or
provide an example?
Any help would be greatly appreciated.
Best regards,
MichaelHi Michael
Here is an example connection pool tag,
<JDBCConnectionPool
Name="oraXAPool"
Targets="myserver"
DriverName="weblogic.jdbc.oci.xa.XADataSource"
InitialCapacity="1"
MaxCapacity="10"
CapacityIncrement="2"
Properties="user=scott;password=tiger;server=ORCL"
/>
Ensure that the server=ORCL is replaced by server=<what ever the Alias is
defined in TNSNAMES.ORA file>
You dont have to specify the URL for this.
hth
sree
"Michael Wufka" <[email protected]> wrote in message
news:[email protected]...
>
Hi everybody,
we have serious problems configuring the weblogic jDriver for Oracle withsupport
for distributed transactions.
Everything works fine with the non-XA driver.
We tried the suggestions given here before like setting the environmentvariable
ORACLE_SID. However, this does not change the errors we get. We useWeblgic Server
6.1 SP2 with oracle 8.1.7 (client and server) under Windows NT.
When attempting to create the connection pool, we get the followingexception:
Starting Loading jDriver/Oracle .....
<14.05.2002 15:48:30 CEST> <Error> <JDBC> <Cannot startup connection pool"DiplPool"
weblogic.common.ResourceException: java.sql.SQLException: open failed forXAResource
'DiplPool' with error XAER_RMERR : A resource manager error has occured inthe transaction
branch. Check Oracle XA trace file(s) (if any) for database errors. TheOracle XA
trace file(s) are located at the directory where you start the WeblogicServer, and
have names like xa_<pool_name><MMDDYYYY>.trc.
at weblogic.jdbc.oci.xa.XAConnection.<init>(XAConnection.java:58)
atweblogic.jdbc.oci.xa.XADataSource.getXAConnection(XADataSource.java:601)
atweblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnec
tionEnvFactory.java:200)
atweblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnec
tionEnvFactory.java:57)
atweblogic.common.internal.ResourceAllocator.makeResources(ResourceAllocator.j
ava:698)
atweblogic.common.internal.ResourceAllocator.<init>(ResourceAllocator.java:282
atweblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:623
at weblogic.jdbc.common.JDBCService.addDeployment(JDBCService.java:107)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:329)
The trace file looks like this:
ORACLE XA: Version 8.1.5.0.0. RM name = 'Oracle_XA'.
113105.161:160.160.-1344514975:
xaoopen:xa_info=Oracle_XA+Acc=P/schamper/schamper+SesTm=100+DB=DiplPool+Threads=true
LogDir=.DbgFl=0x15,rmid=-1344514975,flags=0x0
113105.161:160.160.-1344514975:
ORA-12560: TNS: Fehler bei Protokolladapter
113105.161:160.160.-1344514975:
xaolgn_help: XAER_RMERR; OCIServerAttach failed. ORA-12560.
113105.161:160.160.-1344514975:
xaoopen: return -3
We suspect that we do not set the properties of the connection poolcorrectly. The
declaration of the pool in config.xml looks something like the following:
<JDBCConnectionPool CapacityIncrement="1"DriverName="weblogic.jdbc.oci.xa.XADataSource"
InitialCapacity="10" MaxCapacity="15" Name="DiplPool"
Properties="user=scott;password=tiger;url=jdbc:weblogic:oracle:srlaptop_aide
nbach.muc.sdm-research.de;dataSourceName=DiplPool"
Targets="Marvin" TestTableName="privcust"URL="jdbc:weblogic:oracle:srlaptop_aidenbach.muc.sdm-research.de"/>
>
Are there any known issues with the XA driver and the versions of oracleand Weblogic
we use? Can someone tell us how exactly we have to define the connectionpool or
provide an example?
Any help would be greatly appreciated.
Best regards,
Michael -
Issue while creating connection pool in weblogic using SERVICE NAME
Found two issues while creating connection pool in weblogic using SERVICE NAME
1. While running apps from jdeveloper using xxx-jdbc.xml
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
2. Configuriing the jndi in Weblogic server
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:SERVICENAME
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
Problem
database url is generated based on SID
eg: jdbc:oracle:thin:@localhost:1521:SID
Solution
(generate seperate url for SERVICE NAME)
jdbc:oracle:thin:@localhost:1521/SERVICENAME
------------------------It is so clear: host not found error for network connection and the other SID servcie name not found means your oracle instance name is not up. check with srvctl status for given servcie name or node, else check CRS_Stat -t if you are using RAC.
-
Changing the server name on package connection string.
I have a connection string in a package which is a local connection string and not in project connection manager and isn't parameterize as well. Now I need to change a server name of the connection property without using editor. Can I do that and how ?
Moyz KhanI agree about using configuration for connection string but unfortunately this is an inherited project/packages . And my task it to make these run as currently I don't have luxury to modified it.
So I was able to change most of the connection string with below update
update[SSISDB].[internal].[execution_parameter_values]
setparameter_value=replace(cast(parameter_valueasvarchar),'OldServer',NEwServer)
update[SSISDB].[internal].[object_parameters]
set[design_default_value]=
replace(
cast([design_default_value]asvarchar(1000)),'OldServer','NEwServer')
Now the only one its complaining is the Project connection string . If I know where to look and update that I might be able to run these packages .
Moyz Khan -
Creating Connection Pool for DB2 V6.1
Hi,
I have created the Connection Pool to point to the DB2 database and has successfully
created the entity bean jar file. However,
when I encountered the following error:
The pool TestPool could not be found. Please make sure that it is declared in
your config.xml file.
The following in from my config.xml file:
<JDBCConnectionPool DriverName="COM.ibm.db2.jdbc.app.DB2Driver"
Name="TestPool"
Properties="user=mydata;server=examplesServer" URL="jdbc:db2:mydata"/>
Hope to hear from you soon. Thanks.Hi Jimmy,
You need to assign a target for your connection pool.
You may do it by going to console, selecting Target
tab on the pool and chose servers your want to run
the connection pool. If you use pre-6.1 version of
weblogic, you will need to reboot the server after you
assigned targets to it.
Regards,
Slava Imeshev
"Jimmy" <[email protected]> wrote in message
news:3c04ad6b$[email protected]..
>
Hi,
I have created the Connection Pool to point to the DB2 database and hassuccessfully
created the entity bean jar file. However,
when I encountered the following error:
The pool TestPool could not be found. Please make sure that it is declaredin
your config.xml file.
The following in from my config.xml file:
<JDBCConnectionPool DriverName="COM.ibm.db2.jdbc.app.DB2Driver"
Name="TestPool"
Properties="user=mydata;server=examplesServer" URL="jdbc:db2:mydata"/>
Hope to hear from you soon. Thanks. -
How to retrieve long text for a particular record
Hi,
I've been looking through some of the numerous posts relating to reading long texts but I can't seem to find out how to retrieve the necessary parameters for READ_TEXT for a particular record without using the GUI.
Is there a way in ABAP that one could retrieve the parameters that are required to execute READ_TEXT just from one of the fields in the base table. eg. I would like to bring back a list of all materials with their associated long texts. I can run a query on MARA for example and retrieve the necessary material information but I would like to know how I could get the necessary information, for each row in my results, to pass to READ_TEXT.
What information would I need to perform the above, if at all possible?
Thanks in advance,
CharlesYou can check out SE75. Here is where the objects and ids are listed/maintained. There is one trick to find the object/id. That is, create the text in the specific transaction. If you are talking about header text for a sales orders, go to VA02 and enter some text and save. Now go to SE16, enter STXH as the table name. On the selection screen for STXH, enter your user name for "created by" and enter the date. Execute. The record that you see is probably the text that you just created. You can see the object, the id, and even how the name is built. In this case, it would be sales order number.
Sometimes where you enter the text, there is a little "scroll" icon under the text editor, clicking that will tell you the object and id. In some cases, this functionality is not there.
Regards,
Rich Heilman -
Hi everybody,
I'm running in an urgent problem, because binding to my OpenDirectory got lost. I've lots of "Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context" messages in the system.log and OD service stoppped running. In the OD-section no server is listed any longer and all buttons are greyed. All network users for sure are not available, but all other services are up. I didn't changed anything to the existing services but started with the netinstall config. I got the following entries in the systemlog
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: server name macminiserver.homenet
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: interface en0: ip 192.168.0.11 mask 255.255.255.0
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: subnets: Failed to convert 'domain_search': Empty array
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: re-reading configuration
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: shadow file size will be set to 48 megabytes
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: age time 00:15:00
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: no NetBoot images found
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bootpd: NetBoot service turned off
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: DHCP REQUEST [en0]: 1,0:1b:77:36:47:f6 <NB01>
Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: ACK sent NB01 192.168.0.107 pktsize 304
Since these logentries appeared, no network users and groups are available anymore. I'm running OS X ML 10.8.3 and DNS is fine.
Are there any steps to perform to get LDAP working again? With all buttons in the server admin OD section greyed out I even can't setup a new directory.
BR
JensI was able to restore the existing server with the automatic OD backup that Server.app creates. When my OD fails to start after a crash and db_recover commands don't work, it's always worked for me to restore the odmaster from a backup using the command:
sudo slapconfig -restoredb /private/var/backups/ServerBackup_OpenDirectoryMaster.sparseimage
I'm careful to keep an independent OD backup with Carbon Copy Cloner and this preflight script.
You can also grab an earlier version of the sparse image ServerBackup_OpenDirectoryMaster.sparseimage from a Time Machine backup. It's also possible to rsync the database files directory from a Time Machine backup. -
WebtopNaming - can not find server name for server ID
We have a LB, and web servers in front of OpenSSO app servers in our environment.
OpenSSO debug log CoreSystem fills up with lot of errors like these:
ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
Sometimes, it even complains about a server id (07 in the following trace) which doesn't even exist in the Site Id Table.
There are no changes in the configuration. DNS is properly configured and all the servers and their connectivity are available. CoreSystem throws these errors even after a restart of opensso app servers.
Any ideas about the root cause?
amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
Server Id Table -> {%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF=iplanet-am-naming-samlassertionmanager-url, http://host4.company.com:8080/openSSO=04, com.iplanet.dpro.profile.agent.ProfileService=iplanet-am-naming-profile-class, %protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF=iplanet-am-naming-securitytokenmanager-url, %protocol://%host:%port%uri/authservice=iplanet-am-naming-auth-url, %protocol://%host:%port%uri/sts=sun-naming-sts-url, %protocol://%host:%port%uri/SAMLAwareServlet=iplanet-am-naming-samlawareservlet-url, http://host5.company.com:8080/openSSO=05, com.sun.identity.authentication.server.AuthXMLHandler=iplanet-am-naming-auth-class, com.sun.identity.policy.remote.PolicyRequestHandler=iplanet-am-naming-policy-class, %protocol://%host:%port%uri/loggingservice=iplanet-am-naming-logging-url, %protocol://%host:%port%uri/jaxrpc/=iplanet-am-naming-jaxrpc-url, %protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF=iplanet-am-naming-fsassertionmanager-url, %protocol://%host:%port%uri/identity/=sun-naming-idsvcs-rest-url, 03,05,04,02|03,01|03=iplanet-am-platform-site-id-list, %protocol://%host:%port%uri/identityservices/=sun-naming-idsvcs-jaxws-url, %protocol://%host:%port%uri/sts/mex=sun-naming-sts-mex-url, %protocol://%host:%port%uri/profileservice=iplanet-am-naming-profile-url, %protocol://%host:%port%uri/SAMLPOSTProfileServlet=iplanet-am-naming-samlpostservlet-url, 02|02,01|01,05|05,04|04=iplanet-am-platform-lb-cookie-value-list, %protocol://%host:%port%uri/SAMLSOAPReceiver=iplanet-am-naming-samlsoapreceiver-url, https://host4.company.com:8443/openSSO=01, com.sun.identity.log.service.LogService=iplanet-am-naming-logging-class, %protocol://%host:%port%uri/sessionservice=iplanet-am-naming-session-url, https://host5.company.com:8443/openSSO=02, %protocol://%host:%port%uri/policyservice=iplanet-am-naming-policy-url, iplanet-am-naming-service=serviceObjectClasses, com.iplanet.dpro.session.service.SessionRequestHandler=iplanet-am-naming-session-class, https://opensso-qa.company.com:443/openSSO=03}
amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
Site Id Table -> {03=03, 02=03, 01=03, 05=05, 04=04}
amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
Platform Servers -> [https://opensso-qa.company.com:443/openSSO, https://host5.company.com:8443/openSSO, https://host4.company.com:8443/openSSO, http://host4.company.com:8080/openSSO, http://host5.company.com:8080/openSSO]
amNaming:05/13/2011 10:22:37:009 AM PST: Thread[WebContainer : 0,5,main]
Platform Server IDs -> [03, 02, 01, 04, 05]
amNaming:05/13/2011 10:22:37:010 AM PST: Thread[WebContainer : 0,5,main]
ERROR: WebtopNaming.getServerFromID() can not find server name for server ID : 07
com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server.
at com.iplanet.services.naming.ServerEntryNotFoundException.<init>(ServerEntryNotFoundException.java:52)
at com.iplanet.services.naming.WebtopNaming.getServerFromID(WebtopNaming.java:709)
at com.iplanet.dpro.session.SessionID.setServerID(SessionID.java:380)
at com.iplanet.dpro.session.SessionID.parseSessionString(SessionID.java:363)
at com.iplanet.dpro.session.SessionID.getSessionServerID(SessionID.java:261)
at com.iplanet.dpro.session.service.SessionService.isLocalSite(SessionService.java:881)
at com.iplanet.dpro.session.Session.getSessionServiceURL(Session.java:1197)
at com.sun.identity.authentication.UI.LoginServlet.initializeRequestContext(LoginServlet.java:153)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:578)
at com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:459)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)Thank You for the response.
Here is my site configuration in OpenSSO:
There are 4 servers in the two opensso hosts (2 secure, 2 non secure)
Servers:
http://host4.company.com:8080/openSSO
http://host5.company.com:8080/openSSO
https://host4.company.com:8443/openSSO
https://host5.company.com:8443/openSSO
Only one site with secure URLs is configured
Sites:
site1
Primary URL: https://opensso-qa.company.com:443/openSSO
Assigned Servers:
https://host4.company.com:8443/openSSO
https://host5.company.com:8443/openSSO
From the CoreSystem log, Server ID definitions are:
https://host4.company.com:8443/openSSO=01
https://host5.company.com:8443/openSSO=02
https://opensso-qa.company.com:443/openSSO=03
http://host4.company.com:8080/openSSO=04
http://host5.company.com:8080/openSSO=05
Sometimes it throws an exception with existing server IDs. But sometimes it also complains about non existing server IDs. -
What are the correct parameter names for a JDBC pool connection?
Looking in the admin console I notice the differences in the properties name (type casting) of PointBasePool and __TimerPool pool connections properties and the create wizard properties.
PointBasePool and __TimerPool uses this name parameters: User,Password, and DatabaseName.
Create wizard uses these: databaseName, user, password.
So, then, what is the standard names for a connection in SOA8? What is the standard for JDBC?
For example, Tomcat 4 uses username, password, url, driverClassName as parameters names.
Please help,
This is getting more and more confising,
Thanks,
Lorenzo JimenezThe properties that you specify when creating the connection pool are unique to the vendor.
Any or the properties that you specify user,password, url...etc we expect to have setters (setUser, setPassword, setUrl)
let me know if need more info -
How to get column names for a specific view in the scheme?
how to get column names for a specific view in the scheme?
TIA
Don't have DD on the wall anymore....or this?
SQL> select text from ALL_VIEWS
2 where VIEW_NAME
3 ='EMP_VIEW';
TEXT
SELECT empno,ename FROM EMP
WHERE empno=10
Maybe you are looking for
-
Oracle apps Data does not show in Discoverer
When running my query in sql developer, I have to execute the command apps.fnd_global.apps_initialize(user_id, resp_id, resp_appl_id) in order to show the result of my query. Without this, the query returns nothing. The problem is I am using this que
-
Indonesia - ODN VAT/Tax invoice -Special requirement.
Dear All, Appreicate your help and advice to handle this requirement. We have implemented the indonsian ODN functionality for issuing ( Domestic -Tax invoices -VAT serial no ). Currently it works as below when an invoice cancellation process takes p
-
Starting an Environment Server in WebLogic Server 9.2
I am using the startWebLogic.com to start up the web server. It has a configured Environment Server, that I would like to have start up too when the server starts up. When I try to pass the name of the Env. Server I get an exception message that says
-
Unable to create OC4J instance - out of sync instance
RDBMS Version: 9.2.0.0 Operating System: W2K Product Version: 9.0.4.0.0 JDK Version: 1.4.2_03 Error number: ADMN 705021 Hi I am trying to create an OC4J instance using EM. When I do, I receive the following error message: The operation failed...<inst
-
Thumbnails not visible in Library Grid View
In LR 1.0 on Mac OS X, after converting from Beta 4.1, my thumbnail images are not visible in the Library Grid View, except for just a brief moment when I first click on a Folder (Shoot) name. The images then disappear, leaving just the background. D