| Krovi |
Wed Oct 24 09:44:13 BST 2007 |
| |
the usual http://server: does not open the management console? Am i missing anything here?
thanks in advance.
|
| |
| guest |
Wed Oct 24 09:48:12 BST 2007 |
| |
in the earlier message i enclosed admin port in angular brackets and seems to be lost.
http://server:[adminport] is not bringing up the management console.
thanks. |
| sedj |
Wed Oct 24 15:22:27 BST 2007 |
| |
You have to specifically configure the webconsole in your containers config.
For example, if in Tomcat, you would add :
<Resource name="webconsole" auth="Container"
type="uk.org.primrose.vendor.tomcat.WebConsoleFactory"
description="The primrose web console pool monitor"
factory="uk.org.primrose.vendor.tomcat.WebConsoleFactory"
port="8090"
logFile="C:\java\primrose_3.0\wbconsole.log"
/> |
| sedj |
Mon Oct 29 13:21:04 GMT 2007 |
| |
| Is it OK now ? |
| krovi |
Wed Oct 31 08:54:52 GMT 2007 |
| |
I configured it as you mentioned above (actually from the documentation itselft). But it doesn't come up. Do I need to use some other context name or have a link in the Context definition etc.,
thanks for your help. |
| sedj |
Wed Oct 31 15:24:44 GMT 2007 |
| |
Any errors in the logfile or in your container's logs ?
Is the port you are telling it to bind to open ? |
| krovi |
Sat Nov 03 08:53:10 GMT 2007 |
| |
The log file is not even created. The port is also free. should there be any definition in the application's context?
thanks. |
| sedj |
Sun Nov 04 18:35:37 GMT 2007 |
| |
There must be an error in some log ... perhaps your container's stdout or stderr log.
All you need to do is the config above ... that will start the listener.
Did you follow the installation and configuration instructions ...
http://primrose.org.uk/primrose3/documentation.html |
| Krovi |
Sun Dec 16 15:02:09 GMT 2007 |
| |
Hi,
I am still not able to get the webconsole working. Could you please check my server.xml and let me know what i am doing wrong?
name="appPool"
poolName="appPool"
description="The app Main DB pool"
auth="Container"
type="uk.org.primrose.vendor.tomcat.PrimroseDataSource"
factory="uk.org.primrose.vendor.tomcat.PrimroseDataSourceFactory"
primroseConfigFile="/usr/user/app/app.dbpool"
/>
name="webconsole"
auth="Container"
type="uk.org.primrose.vendor.tomcat.WebConsoleFactory"
description="The primrose web console pool monitor"
factory="uk.org.primrose.vendor.tomcat.WebConsoleFactory"
username="admin"
password="admin"
port="3090"
logFile="/usr/user/app/logs/pool-admin.log"
logLevel="verbose,info,warn,error,crisis"
/>
maxThreads="500"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
redirectPort="8443"
acceptCount="100"
connectionTimeout="20000"
disableUploadTimeout="true"
URIEncoding="UTF-8"/>
defaultHost="localhost">
appBase="webapps"
unpackWARs="true"
autoDeploy="true"
xmlValidation="false"
xmlNamespaceAware="false">
thanks. |
| Krovi |
Sun Dec 16 15:11:24 GMT 2007 |
| |
The earlier server.xml is eaten away due to not html-encoding the content :(
<Resource
name="appPool"
poolName="appPool"
description="The app Main DB pool"
auth="Container"
type="uk.org.primrose.vendor.tomcat.PrimroseDataSource"
factory="uk.org.primrose.vendor.tomcat.PrimroseDataSourceFactory"
primroseConfigFile="/usr/user/app/app.dbpool"
/>
<Resource
name="webconsole"
auth="Container"
type="uk.org.primrose.vendor.tomcat.WebConsoleFactory"
description="The primrose web console pool monitor"
factory="uk.org.primrose.vendor.tomcat.WebConsoleFactory"
username="admin"
password="admin"
port="3090"
logFile="/usr/user/app/logs/pool-admin.log"
logLevel="verbose,info,warn,error,crisis"
/>
</GlobalNamingResources>
<Service name="Catalina">
<Connector port="8818"/>
<Engine name="Catalina"
defaultHost="localhost">
<Host >
<Context path="" reloadable="false" docBase="/usr/user/app/webapps">
<ResourceLink global="appPool" name="appPool" type="javax.sql.DataSource"/>
</Context>
</Host>
</Engine>
</Service>
</Server>
|
| sedj |
Tue Dec 18 07:31:22 GMT 2007 |
| |
Hi Krovi,
I've tried your config, and it seems fine.
So there can only be a few things wrong :
1) The port 3090 is not free
2) You don't have the primrose 3 jar file in Tomcat's classpath
3) The log file directory does not exist
|
| guest |
Tue Dec 18 10:33:33 GMT 2007 |
| |
:(
Is there a chance that the pooler works but not the web console? Because the pools are accessible and the application runs normally. Only the webconsole doesn't come up. I tried checking the port availability and permissions on log directory.
|
| sedj |
Tue Dec 18 13:42:52 GMT 2007 |
| |
I would not have thought so. No-one else has reported such errors.
I would delete all your tomcat logs, and restart Tomcat ... there is bound to be an error in one of the logs if its really not loading. |
|