Hello, I have resolved my first problem.

Here my new log:
11-08-2010 10:23:38 [WebServer] INFO  FeedManager - Retrieving RSS feeds
index from http://download.localhost/feeds/index.txt
11-08-2010 10:23:38 [WebServer] ERROR FeedManager - Failed to get initial
feeds. Next update attempt will occur in 4 hours
java.net.UnknownHostException: download.localhost
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:529)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:860)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1049)
        at com.adito.rss.FeedManager.loadAvailable(FeedManager.java:276)
        at com.adito.rss.FeedManager.startUpdating(FeedManager.java:130)
        at com.adito.core.CoreServlet.activateCore(CoreServlet.java:455)
        at com.adito.core.CoreServlet.init(CoreServlet.java:597)
        at javax.servlet.GenericServlet.init(GenericServlet.java:167)
        at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:382)
        at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:242)
        at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:444)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:322)
        at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:510)
        at org.mortbay.util.Container.start(Container.java:71)
        at org.mortbay.http.HttpServer.doStart(HttpServer.java:754)
        at org.mortbay.util.Container.start(Container.java:71)
        at com.adito.server.Main$6.run(Main.java:1084)
11-08-2010 10:23:38 [FeedManager] INFO  FeedManager - Checking for feed
updates
11-08-2010 10:23:38 [FeedManager] INFO  FeedManager - Retrieving RSS feeds
11-08-2010 10:23:38 [FeedManager] INFO  FeedManager - Finished checking for
updates / feeds, next check will occur at Aug 12, 2010 10:23:38 AM
11-08-2010 10:23:38 [WebServer] INFO  LogBootProgressMonitor - Finalising
configuration
11-08-2010 10:23:38 [WebServer] INFO  Container - Started
WebApplicationContext[/,Adito]
11-08-2010 10:23:38 [WebServer] INFO  LogBootProgressMonitor - Server is now
running
11-08-2010 10:23:39 [WebServer] INFO  SocketListener - Started
SocketListener on 0.0.0.0:28080
11-08-2010 10:23:39 [WebServer] INFO  Container - Started
org.mortbay.jetty.ser...@c9ba38
11-08-2010 10:23:39 [WebServer] INFO  LogBootProgressMonitor - Server is now
running

About netstat I found the good URL with good port but nothing with a
browser.

Can you help me ?

thanks


2010/8/11 kevin le pallec <[email protected]>

> hello,
>
> Here is the adito/logs:
>
> test:/opt/openvpn-als/adito/logs# cat adito.log
> 11-08-2010 03:42:12 [main] INFO  LogBootProgressMonitor - Loading system
> properties
> 11-08-2010 03:42:12 [main] INFO  LogBootProgressMonitor - Intialising
> logging
> 11-08-2010 03:42:12 [main] INFO  LogBootProgressMonitor - Clearing
> temporary files
> 11-08-2010 03:42:12 [main] INFO  Main - Clearing temporary directory
> 11-08-2010 03:42:12 [main] ERROR Main - Failed to start the server. The
> host name or address on which this service is running could not be
> determined. Check you network configuration. One possible cause is a
> misconfigured 'hosts' file (e.g. on UNIX-like systems this would be
> /etc/hosts, on Windows XP it would be
> C:\Windows\System32\Drivers\Etc\Hosts).
> java.lang.Exception: The host name or address on which this service is
> running could not be determined. Check you network configuration. One
> possible cause is a misconfigured 'hosts' file (e.g. on UNIX-like systems
> this would be /etc/hosts, on Windows XP it would be
> C:\Windows\System32\Drivers\Etc\Hosts).
>         at com.adito.server.Main.start(Main.java:350)
>         at com.adito.server.Main.main(Main.java:205)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at com.adito.boot.Bootstrap.start(Bootstrap.java:92)
>         at com.adito.boot.Bootstrap.main(Bootstrap.java:206)
>
> It says that my server has its hostname in a bad configuration.
> Here is my /etc/hosts:
> test:/opt/openvpn-als/adito/logs# cat /etc/hosts
> 127.0.0.1       localhost
> 192.168.50.3    test.royalcheese.local
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
> Where is the error ?
>
>
> 2010/8/11 [email protected] <[email protected]>
>
> >
>> > Hello,
>> >  I have installed openvpn-als with svn source, here are my command used:
>> > apt-get install sun-java6-jdk ant junit subversion
>> >
>> > svn co
>> > https://openvpn-als.svn.sourceforge.net/svnroot/openvpn-als/adito/trunk
>> > /opt/openvpn-als
>> >
>> > cp /usr/lib/jvm/java-6-sun-1.6.0.20/lib/tools.jar
>> > /opt/openvpn-als/adito/lib/
>> >
>> > update-alternatives --config java
>> >
>> > cd /opt/openvpn-als && ant install
>> >
>> > At the end of install, i have not the message with URL in order to
>> > install openvpn-als with the wizard: install: [mkdir] Created dir:
>> > /var/www/adito/adito/tmp [java] Java Result: 1 BUILD SUCCESSFUL Total
>> > time: 2 minutes 2 seconds.
>> >
>> >  Can you help me ?
>> >
>> > thanks
>>
>> Hi Kevin,
>>
>> You should take a look at the logs in adito/logs and see what's wrong.
>> You can't trust ant's "BUILD SUCCESSFUL" messages - it says that every
>> time :).
>>
>> Samuli
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> Openvpn-als-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/openvpn-als-user
>>
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Openvpn-als-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-als-user

Reply via email to