|
From: tom <hq-...@hy...> - 2007-03-27 23:53:37
|
I had lots of struggles with Weblogic 9.2 but finally got it going thanks to your help.
Now I can not get weblogic 9.1 working.
---------------------------------------
Agent properties file:
# Agent configuration file
#
# The following are the properties that the Agent recognizes:
#
# agent.listenPort
# Default: "2144"
#
# Description: Port that the agent listens on.
#
# agent.listenIp
# Default: "*"
#
# Description: Address that the agent listens on. If set to '*',
# the agent will listen on all available interfaces.
#
# agent.startupTimeOut
# Default: "300"
#
# Description: This is the number of seconds that the agent startup
# script will wait before determining that the agent
# did not startup successfully.
#
# agent.maxBatchSize
# Default: "500"
#
# Description: This is the maximum number of metrics that the
# agent will send per contact with HQ.
#
## Use the following if you'd like to have the agent setup
## automatically from these properties. The values for these
## properties are used to answer the setup questions
##
## If any of these properties are left undefined, the setup
## process will prompt for their values
##
## If the value that should be used is the default when interactive
## setup is done, use the string *default* as the value for the option
#agent.setup.camIP=localhost
#agent.setup.camPort=7080
#agent.setup.camSSLPort=7443
#agent.setup.camSecure=yes
#agent.setup.camLogin=hqadmin
#agent.setup.camPword=hqadmin
#agent.setup.agentIP=*default*
#agent.setup.agentPort=*default*
#agent.setup.resetupTokens=no
agent.tmpDir=./tmp
# required to find server/lib/weblogic.jar
#weblogic.installpath=/usr/local/bea/weblogic-8.1
# required to find websphere jars
#websphere.installpath=/opt/WebSphere/AppServer
# required to find jboss jars
#jboss.installpath=/usr/local/jboss-4.0.0
##
## Logging settings
##
agent.logFile=${agent.logDir}/agent.log
agent.logLevel=INFO
log4j.rootLogger=${agent.logLevel}, R
log4j.appender.R.File=${agent.logFile}
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.MaxFileSize=5000KB
log4j.appender.R.layout.ConversionPattern=%d %-5p [%c{1}] %m%n
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R=org.apache.log4j.RollingFileAppender
##
## Disable overly verbose logging
##
log4j.logger.httpclient.wire=ERROR
log4j.logger.org.apache.commons.httpclient=ERROR
log4j.logger.org.hyperic.hq.measurement.agent.server.SenderThread=INFO
log4j.logger.org.hyperic.hq.agent.server.AgentDListProvider=INFO
log4j.logger.org.hyperic.hq.agent.server.MeasurementSchedule=INFO
# Only log errors from naming context
log4j.category.org.jnp.interfaces.NamingContext=ERROR
log4j.category.org.apache.axis=ERROR
##
## Agent Jars
##
agent.pdkLibDir=./pdk/lib
agent.pdkPluginDir=./pdk/plugins
##
## Auto-inventory options
##
#autoinventory.defaultScan.interval.millis=86400000
autoinventory.runtimeScan.interval.millis=86400000
## Agent classpath (pdk/lib/*.{jar,zip} are included by default)
agent.classPath=\
./lib/AgentServer.jar:\
./lib/lather.jar
## Options to pass to java
agent.javaOpts=-Xmx128m -Djava.net.preferIPv4Stack=true
# this is added so that we can see soda Fountain
weblogic.installpath=D:\bea91\weblogic91
weblogic.discover.fqdn=same
weblogic.discover.pname=true
---------------------------------------------------
from agent log file:
2007-03-27 15:43:16,484 INFO [AutoinventoryCommandsServer] Autoinventory report successfully sent to server.
2007-03-27 15:43:17,207 INFO [CollectorThread] CollectorThread started
2007-03-27 15:43:24,580 INFO [RuntimeAutodiscoverer] Running runtime autodiscovery for Weblogic Admin 9.1
2007-03-27 15:43:24,738 WARN [RuntimeAutodiscoverer] Error running autodiscoverer for plugin: Weblogic Admin 9.1: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
org.hyperic.hq.product.PluginException: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
at org.hyperic.hq.plugin.weblogic.jmx.WeblogicRuntimeDiscoverer.discoverAs(WeblogicRuntimeDiscoverer.java:129)
at org.hyperic.hq.plugin.weblogic.jmx.WeblogicRuntimeDiscoverer.discoverResources(WeblogicRuntimeDiscoverer.java:102)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:292)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:220)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
Caused by: java.lang.SecurityException: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
at org.hyperic.hq.plugin.weblogic.WeblogicAuth.getSubject(WeblogicAuth.java:148)
at org.hyperic.hq.plugin.weblogic.WeblogicAuth.runAs(WeblogicAuth.java:125)
at org.hyperic.hq.plugin.weblogic.jmx.WeblogicRuntimeDiscoverer.discoverAs(WeblogicRuntimeDiscoverer.java:127)
... 6 more
2007-03-27 15:43:24,753 INFO [RuntimeAutodiscoverer] Running runtime autodiscovery for Weblogic Admin 9.1
2007-03-27 15:43:24,832 WARN [RuntimeAutodiscoverer] Error running autodiscoverer for plugin: Weblogic Admin 9.1: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
org.hyperic.hq.product.PluginException: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
at org.hyperic.hq.plugin.weblogic.jmx.WeblogicRuntimeDiscoverer.discoverAs(WeblogicRuntimeDiscoverer.java:129)
at org.hyperic.hq.plugin.weblogic.jmx.WeblogicRuntimeDiscoverer.discoverResources(WeblogicRuntimeDiscoverer.java:102)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:292)
at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:220)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
Caused by: java.lang.SecurityException: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
at org.hyperic.hq.plugin.weblogic.WeblogicAuth.getSubject(WeblogicAuth.java:148)
at org.hyperic.hq.plugin.weblogic.WeblogicAuth.runAs(WeblogicAuth.java:125)
at org.hyperic.hq.plugin.weblogic.jmx.WeblogicRuntimeDiscoverer.discoverAs(WeblogicRuntimeDiscoverer.java:127)
... 6 more
|
|
From: Doug M. <do...@hy...> - 2007-03-28 00:17:33
|
On Mar 27, 2007, at 4:53 PM, tom wrote: > I had lots of struggles with Weblogic 9.2 but finally got it going > thanks to your help. Apologies for the struggles Tom, glad you have it working now. > Now I can not get weblogic 9.1 working. ... > # this is added so that we can see soda Fountain > weblogic.installpath=D:\bea91\weblogic91 Here's the issue, due to how java.util.Properties.load() works, that value needs to be one of: (double backslashes) weblogic.installpath=D:\\bea91\\weblogic91 or: (forward slashes) weblogic.installpath=D:/bea91/weblogic91 > weblogic.discover.fqdn=same > weblogic.discover.pname=true > |
|
From: tom <hq-...@hy...> - 2007-03-28 16:29:16
|
This gets me one step closer. I see some data for the weblogic server but n= ot what I need I upgrades from HQ 2.x to 3.0.2 for both server and client. Now HQ will see the 9.1 server and give some info on JTA and sockets but te= lls me =93This resource has not been configured.=94 I have configured it se= veral times. I have rebooted the server, the database, the agent, and confi= gured it again still, no luck |