Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Properties cannot be resolved

Andreas,

Did you really define these as "netty" files or
as "jetty" files?

Jan

On 09/10/10 10:14, Andreas Schöneck wrote:
Hi there!

I guess that I am just too stupid but I encounter an at least
understanding problem.

When I start Jetty like this (vanilla zip)

java -Djetty.port=8081 -jar start.jar

this is the output under Windows 7 x64 (truncated due to readability):

2010-10-09 00:54:20.120:INFO::jetty-7.1.6.v20100715
2010-10-09 00:54:20.138:INFO::Deployment monitor C:\...\jetty\contexts
at interval 5
2010-10-09 00:54:20.141:INFO::Deployable added:
C:\...\jetty\contexts\test.xml
2010-10-09 00:54:20.211:INFO::Extract
jar:file:/C:/.../jetty/webapps/test.war!/ to
C:\...\Temp\Jetty_0_0_0_0_8080_test.war____.hcx133\webapp
2010-10-09
00:54:21.189:INFO:org.eclipse.jetty.servlets.TransparentProxy:TransparentProxy
@ /javadoc to http://download.eclipse.org/jetty/stable-7/apidocs
2010-10-09 00:54:21.191:INFO::Deployment monitor C:\...\jetty\webapps at
interval 5
2010-10-09 00:54:21.203:INFO::Started SelectChannelConnector@0.0.0.0:8080

Under Ubuntu Linux 10.04.1 Server x64 I get almost the same.
What I've done there was

1. Extract latest dist ZIP to usr/local
2. link /usr/local/netty to extracted dir detty-dist...
3. link /etc/init.d/netty to /usr/local/netty-dist.../bin/netty.sh
4. create an /etc/default/netty file specifying
NETTY_PORT=8081
NETTY_LOGS=/var/log/netty
5. run 'sudo service netty start'

==>  Connector does not respect the setting

Same with hightide.

I even modified the netty-logging.xml (which is specified in netty.conf
preceded by the --pre option) to output the property netty.port it will
fall back to the given default value.

Does anyone have an explanation? Any help would be appreciated.

Regards and thanks in advance
Andreas
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
Jan Bartel, Webtide LLC | janb@xxxxxxxxxxx | http://www.webtide.com


Back to the top