Weblogic Server statistics (other than admin console)
Hi,
I am using WLS 5.1 SP 12 on AIX 5.1. I need to figure out how to provide weblogic
server statistics dynamically (Such as active servlets, response times, session
stats etc). I know this information is available on the weblogic admin console.
But due to the complexity of the situation I would like to provide custom JSP
pages or servlets wherein I can make some API calls (????) to provide the above
statistics.
Any help or ideas would be greatly appreciated.
Thanks,
Bala
Hello Nadar,
Tell me how are you starting server in the cluster, through nodemanager or commnadline.
Kuldeep
Similar Messages
-
Monitoring Weblogic Server statistics (Other than admin console)
Hi,
I am using WLS 5.1 SP 12 on AIX 5.1. I need to figure out how to provide weblogic
server statistics dynamically (Such as active servlets, response times, session
stats etc). I know this information is available on the weblogic admin console.
But due to the complexity of the situation I would like to provide custom JSP
pages or servlets wherein I can make some API calls (????) to provide the above
statistics.
Any help or ideas would be greatly appreciated.
Thanks,
Bala
Hello Nadar,
Tell me how are you starting server in the cluster, through nodemanager or commnadline.
Kuldeep -
Summary of problem: Get a javax.naming.NamingNotFoundException when selecting the DataSource (see the configuration below) in server JNDI tree in Admin Console
TheConnection Pool and a corresponding DataSource are configured as follows:
<JDBCDataSource
JNDIName="jdbc.PNStoreDB"
Name="PNStoreDB"
PoolName="PNStorePool"
Targets="serverA"
/>
<JDBCConnectionPool
CapacityIncrement="2"
DriverName="weblogic.jdbc.oci.Driver"
InitialCapacity="2"
LoginDelaySeconds="1"
MaxCapacity="10"
Name="PNStorePool"
Properties="user=rms;password=rms;server=ora81"
RefreshMinutes="10"
Targets="serverA"
TestTableName="dual"
URL="jdbc:weblogic:oracle"
/>
Can't figure out why this is happening. The following is output to the Admin Server command prompt:
<May 18, 2001 10:20:02 AM EDT> <Error> <HTTP> <[WebAppServletContext(6233000,console)] exception raised on '/console/panel
javax.naming.NameNotFoundException: Unable to resolve jdbc. Resolved: '' Unresolved:'jdbc' ; remaining name ''
<<no stack trace available>>
I tried using a different JNDI name for the DataSource (e.g. just PNStoreDB) with no success.
The weird thing is that it messes up other resources bound in the JNDI tree. For e.g. I have some EJB's bound under ejb/XXXX that I can click on and view in the Admin Console (JNDI tree) before I add the pool and DataSource. After I add them though, I see the same NameNotFoundException for these as well.
Thanks in advance for your help.
[att1.html]Are you sure that the connection pool and datasource deployed
successfully? (Check the logs for an error.)
Also, I suspect that you want a TxDataSource instead of a
JDBCDataSource.
-- Rob
Weblogic NewsGroups wrote:
Summary of problem: Get a javax.naming.NamingNotFoundException when
selecting the DataSource (see the configuration below) in server JNDI
tree in Admin Console
TheConnection Pool and a corresponding DataSource are configured as
follows:
<JDBCDataSource
JNDIName="jdbc.PNStoreDB"
Name="PNStoreDB"
PoolName="PNStorePool"
Targets="serverA"
/>
<JDBCConnectionPool
CapacityIncrement="2"
DriverName="weblogic.jdbc.oci.Driver"
InitialCapacity="2"
LoginDelaySeconds="1"
MaxCapacity="10"
Name="PNStorePool"
Properties="user=rms;password=rms;server=ora81"
RefreshMinutes="10"
Targets="serverA"
TestTableName="dual"
URL="jdbc:weblogic:oracle"
/>
Can't figure out why this is happening. The following is output to
the Admin Server command prompt:
<May 18, 2001 10:20:02 AM EDT> <Error> <HTTP>
<[WebAppServletContext(6233000,console)] exception raised on
'/console/panel
javax.naming.NameNotFoundException: Unable to resolve jdbc. Resolved:
'' Unresolved:'jdbc' ; remaining name ''
<<no stack trace available>>
I tried using a different JNDI name for the DataSource (e.g. just
PNStoreDB) with no success.
The weird thing is that it messes up other resources bound in the JNDI
tree. For e.g. I have some EJB's bound under ejb/XXXX that I can
click on and view in the Admin Console (JNDI tree) before I add the
pool and DataSource. After I add them though, I see the same
NameNotFoundException for these as well.
Thanks in advance for your help.--
Coming Soon: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnweblogic.com -
I depolyed a webapp in oim server problem is oim admin console is not opend
hi
i have deployed a webapplication in oim server(jboss) the application is developed using struts. the application is deployed successfully.after server starting the oim admin console is not opend it gives following error .I am using oim 9101 with jboss server
[ServletException in:/layouts/tjspClassicLayout.jsp] java.lang.NoSuchMethodError: org.apache.struts.util.RequestUtils.message(Ljavax/servlet/jsp/PageContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
can any one help me.
Thanks.First of all you remove your war or ear file.
Don't take jar from outside. Take the all jar from OIM machine, used by xlWebApp. You don't need to download any extra jar if it is simple web application based on struts.
Rebuild with your war or ear with new jar. Than just try it.
Hope this is clear case of jar confliction. -
Failes to start Managed server using Nodemanager from admin console
Hi
I have created the cluster using Weblogic version 9.2 MP3 with
Machine 1 --> Admin (AS) + Managed server (MS1)
Machine 2 --> Managed server(MS2)
All the servers(AS,MS1,MS2) are SSL configured to run in production mode.
Machine is associated with each managed server and node manager is up and running.
I have made Host name verification as "None"
When i start the MS 1 from admin console it comes up in running.However MS2 is not coming in running mode.
The server logs states that "Could not connect to admin server"
Cannot decrypt the password ,username and TrustKeyStorePrivatepassphrase.
Even when i write the clear text password and username in Server_Name/data/nodemanager/boot.properties,then also it throws the same error.
Node manager is not configured to SSL.
Any Clue what i am missing????Is your Machine #2 shown as "Reachable" in the admin console ( Machines -> Machine2 -> Monitoring )?
Does your managed server #2 have the same userid and password on its Server -> Configuration -> Server Start page ( UserName & Password fields ) as managed server #1?
Your boot.properties only needs 2 lines, like:
password=your plain text password
username=your plain text username -
Weblogic Server not visible in Administration Console
Hello,
Forgive me if this is the incorrect location for this question but I could not find a relevant group to post this issue relating to the Administration Console, as it APPEARS.
We have a three node Weblogic 8.1 SP3 cluster in our environment and the issue we are facing is that one of the three Weblogic Servers (the other two have no issue) is not displaying any information about that server in the admin console (i.e. in "Monitoring"-> active thread queues, connections, performance stats etc. are not displayed). However, the BeaSVC service is running on that server and the server IS serving requests, as confirmed by the weblogic and application logs. It is as if the admin server cannot communicate or thinks the server is in a 'down' state, hence the behavior of not seeing the threads on the server.
Any suggestions, thoughts or ideas in resolving this matter would be greatly appreciated!
Many Thanks and Regards,
-NaderHello Nadar,
Tell me how are you starting server in the cluster, through nodemanager or commnadline.
Kuldeep -
Unable to open Messaging Server 6.2 through admin console 5.2
my system is
Sun Java(tm) System Messaging Server 6.2-3.05 (built Nov 23 2005)
libimta.dll 6.2-3.05 (built 02:22:19, Nov 23 2005)
Microsoft Windows 2000 version 5.2 (Build 3790)
i installed Sun Java Enterprise System (directory, admin, messaging) servers on my windows 2003 server, all is working fine except:
1- unable to open my messaging server through my admin console 5.2.
when checking the error log file i see
"[05/Jun/2006:10:51:49] failure ( 2624): for host t.est.hotmail.com trying to GET /msg-config/tasks/operation/cgi_root, cgi_scan_headers reports: the CGI program E:\Sun\Server-Root\bin\msg\admin\bin\cgi_root.exe did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)"
Any clue?
2- When creating a new user through the admin console 5.2, and check the mail account checkbox, i don't get the "mail tab" to complete the needed information, and therefore the newly created user is not an active email account as mainly the mailhost attribute has not been created for the account
Is this related to the problem in point 1?
NOTE 1: i ran cmm_dssetup.pl before configuring the messaging server and selected schema 1
NOTE 2: i downloaded the software from sun.com, didn't register it yet as i'm in the testing phase
Appreciate your help, direction and tipsOh, my.....
1. The Directory Console is not very useful, for anything in Messaging 6. The MTA is configured via editing files, and the mail store is better configured using the configutil utility.
2. You SHOULD NOT attempt to create users with the Directory Console. They won't work. Use either the command-line tools provided (comm-admin), or use the Delegated Admin tool provided. -
CUIC 8.5 Unable to "choose collection" for users other than Admin/Superv
Hi,
When login with any user other than the admin, I'm not able get any entry in the "choose collection" drop down menu for any type of report. While investigating it seems this is restricted by the option Security / User Permissions / System Collections (UCCE). I can see how all the teams has assigned the admin user for read, exedcute and write. In addition also the supervisor of the team is added to the list and I have checked and confirmed that the supervisor can get the collection of his/her team.
There is a list on the right hand side to be able to add additional user permissions however when I try I get the error "System Collections (UCCE) permissions can't be modified". Obviously having just the supervisor of the team being able to list their team is not good enoguh and I would expect changing the permissions here is possible.
Has anyone come accross this problem or do you have any tips before openign a TAC case?
Thanks
IsidroI should also note something that I did that I think may be causing the default wiki and blog theme to not appear. In Server Admin, selecting Web, then going to Settings and on the Web Services tab, I changed the Data Store path to:
/Library/WebServer/Documents
I did this thinking it would create the html pages in the directory that the placeholder page was indicating that I should put my web page, but I think that is wrong, now. Does anyone know the default path for the data store? -
Can a single Weblogic server host more than one Apex Listener?
Hi All:
Is it possible to deploy more than one APEX listener on a Weblogic server to service multiple APEX installations on different Database hosts?
I suspect it is just a matter of port configuration and deployment naming but has anyone experience with this?
Regards,
DavidHi David,
it is possible to have multiple instances of the APEX Listener deployed on the same JEE container. I didn't actually do this with WLS, but I don't know any reason why this should be different on WLS than it would be on other JEE containers.
You should start by preparing the apex.war to have the parameter config.dir set in the web.xml . We chose to let it point to a base directory for all config files having one subdirectory for each deployed instance, so we have to do this only once with every new release that comes in. By the way, this is the first location of the sequence to be checked by the APEX Listener upon startup.
Then you can deploy this war file multiple times giving each instance a different application name/context root. We chose +<apex_dbname>+ as pattern for this, but that's up to you.
Note that you may have to provide the static files ("images") for APEX multiple times as well if you don't have the same APEX version on each instance or if you use different custom files that shall not be the present on each instance or in different versions for at least some instances.
In that case, you'll have to configure your WLS to provide multiple "images-applications" as well. We chose to have one for each instance and use +</i_<dbname>/+ as pattern here. If you used the default image prefix +/i/+ so far, you can reset it using the corresponding script provided in the APEX installation package. I'd recommend to use the script version of the package that corresponds to the APEX version of the instance you want to configure.
That might sound complicated, but actually it's not. It's just a few things to keep in mind before starting and once you've set it up, it's really easy to handle.
-Udo -
VPN Server solution other than Leopard Server?
All,
Does anyone know of any VPN server solutions for Mac OS X other than the basic one included in Leopard Server?
Regards,
KenI use the one that comes with Leopard as well as VPNClient from Cisco. I have to use the Cisco one for one connection which requires we use this client.
You can do a search here - just plug in the search term "VPN" and you'll get a whole bunch of them.
http://www.versiontracker.com/
Hope this is helpful. -
Regarding VS Web part Solution Deployment Permission in SharePoint Server other than Admin
Hi,
While deploying the Visual Studio Web part, one error occurred i;e, “Error occurred in deployment step 'Recycle IIS Application Pool': The local SharePoint server
is not available. Check that the server is running and connected to the SharePoint farm.”
Actually we want that two user can deploy their web part simultaneously. One is admin that is able to deploy web part. But another user is facing this problem.
Solution which we have tried:
Make Local admin to that user.
Assign db_owner permission to that user in database.
Add that user in WSS_Admin_WPG group.
Add in Farm administrator group.
But still we are facing the same issueHello,
To be able to deploy solution, the user needs to have permissions on SharePoint_Config Database too. (maybe also the SharePoint_Admin database too)
Best regards, Christopher.
Blog |
Mail
Please remember to click "Mark As Answer" if a post solves your problem or
"Vote As Helpful" if it was useful.
Why mark as answer? -
Applications won't open when I'm logged in under another account other than Admin
I run a high school computer lab. As such, I have several user accounts on my iMacs (mid 2011). I upgraded from 10.6.8 to 10.9. The Admin account works okay, but in the other user accounts when I try and click on an application in the dock, nothing happens. In addition, when I click on the Apple in the top left corner there is a huge delay before anything happens.
Does Mavericks not play well with more than one user account on the iMac?Did you tried repairing permissions?
-
SPLWEB state is failed in Weblogic Server Admin console 10.3.3
Hi
I am facing some issues in Weblogic Server 10.3.3 Administrator console for development purpose:
In deployment category, There will be 1.Splwebservice and 2.Splweb. Splweb state is failed and i am not able to open the ouaf. Under SPLWEB Category, there are other links namely ouaf, ouaf/appviewer, ouaf/help, ouaf/XAIapp. So these links should have a expanded (+) button to connect other links also.
Can anyone tell me how to bring the ouaf and appviewer UP?
what can be the solution for this issue?
Pl reply me ASAP.Ideally, you want your application artifact to specify a single datasource that doesn't specify an environment name. Your WebLogic instance is defined to reside within a specific environment, like DEV, QA, or PROD. The environment variability should be in WebLogic, not your application.
In other words, you should be defining a single datasource in your application, and a single datasource in WebLogic. What that datasource points to in WebLogic depends on what environment that WebLogic instance resides in. If it's a development instance, the datasource will point to the DEV database. If QA, it will point to the QA database, and if PROD, it will point to the PROD database. -
Weblogic 10 doesn't start through admin console
Hi,
While starting a managed server on WebLogic 10.3 through the admin console I get the below error. However when starting the same managed server with a script I can successfully start it up.
<Sep 30, 2010 10:31:52 AM EEST> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://10.123.456.78:7001.>
<Sep 30, 2010 10:31:52 AM EEST> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
<Sep 30, 2010 10:31:52 AM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
Sep 30, 2010 10:31:55 AM EEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
java.lang.AssertionError: Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine.
at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:40)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105)
at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
at weblogic.server.channels.ChannelService.start(ChannelService.java:197)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.net.UnknownHostException: myServer: myServer
at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
at weblogic.server.channels.AddressUtils$AddressMaker.getLocalHost(AddressUtils.java:38)
at weblogic.server.channels.AddressUtils$AddressMaker.<clinit>(AddressUtils.java:35)
at weblogic.server.channels.AddressUtils.getIPAny(AddressUtils.java:105)
at weblogic.protocol.configuration.ChannelHelper.checkConsistency(ChannelHelper.java:60)
at weblogic.server.channels.ChannelService.start(ChannelService.java:197)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
The environment had been up and running for many months, have done many successfull restarts occasionally. But after an ungraceful shutdown (database connection was down and managed server wouldn't shutdown through admin console) of the managed server & admin server, the startup through admin console stopped working. No configurations had been modified and we have two other systems working with similar configurations.
The log is stating that "<The admin server could not be reached at http://10.123.456.78:7001.>" but it actually is listening at that IP and port and I can connect to it with other means. I'm able to ping the hostname, IP, localhost etc... and network connection shouldn't be an issue even though the log states so.
Does anyone have any ideas what is broken? Thanks for any help in advance!Hi,
With script I meant the startManagedWebLogic.cmd script (on Windows). The managed server is running on the same machine as the admin server.
The hosts file has also been checked, it has the same content as two other environments which are working fine. But anyway we tried adding the IP & hostname there, but it didn't fix the issue. Nothing is wrong with the DNS either.
I'm also able to ping the address:port, with the command you gave I get the following result:
Sending 1 ping of 100 bytes.
RTT = ~0 milliseconds, or ~0 milliseconds/packet
When I'm trying to restart the managed server through admin console (on my laptop), I can see on the server side that there is a connection to the IP:port of admin server from my laptop's IP:
C:\>netstat -an | grep 7001
TCP 10.123.456.78:7001 0.0.0.0:0 LISTENING
TCP 10.123.456.78:7001 10.164.51.33:3965 ESTABLISHED
I again want to say that no changes have been done to any configurations in the environment. It was working fine before the "ungraceful" shutdown, where the connection to DB (that the managed server uses) was down and neither the managed or admin server would shutdown through admin console, but were shutdown by closing the cmd prompt window(used to start admin server) and java.exe task from taskmgr (managed server). -
WebLogic Admin Console won't work with java security manager enabled.
By just enabling the security manager on the command line with -Djava.security.manager and using the default weblogic.policy in the server/lib directory, the admin console will not work. I just see a blank page when I try to access the admin console with permission errors all over on the server console.
In looking at the admin console's weblogic.xml it should have access to everything since it contains:
grant {
permission java.security.AllPermission;
Are there known issues with this? If I add this permission to the weblogic.policy file everything works fine but then I might as well not turn on the security manager.
Thanks,
DaveDavid,
I was glad to see your post regarding WLS 9.2 and the troubles with enabling Java Security Manager.
Were you able to learn any more on things like - why doesn't the admin console work when the security manager is enabled with the default policy file. Also, why is it so difficult to add permissions for your own applications and get them to actually work.
I'd be curious to see if you were able to get it to work or if you have any insights or resources that can help with this as we are really struggling to get a restrictive policy file that works.
Thanks,
D
Maybe you are looking for
-
Have LR on macbook want to put on desktop with same license -how?
what is the step by step process
-
Updated Lightroom and PS in CC and Lost RAW images
I am very new to CC and all the programs. When I installed the updates after updating my MAC software to the newest version, I lost all my raw images. I do not know what happened. HELP! All the JPEGS are there but I lost the rest.
-
Can receive but not send e mails on a dongle. Erro...
I believe there is a simple soluntion to this problem out there but cant find it. HELP!
-
I suddenly started getting a "Licensing has stopped working" error when running CS3 applications. I followed ALL the steps on http://helpx.adobe.com/creative-suite/kb/error-licensing-stopped-windows.html to no avail. I searched this forum and tried t
-
HT1767 iMac won't start up.
My iMac won't start. When you turn it on the apple logo comes on but it keeps trying but never turns on. I tried unplugging it and plugging it into a new power source didn't work. I tried starting it up in safe mode didn't work. Any ideas out there?