Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
esoemanager and ROOT contexts fail to start
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mehiel  
View profile  
 More options Sep 15 2008, 8:26 pm
From: mehiel <aggelos.karal...@gmail.com>
Date: Mon, 15 Sep 2008 03:26:04 -0700 (PDT)
Local: Mon, Sep 15 2008 8:26 pm
Subject: esoemanager and ROOT contexts fail to start
Hi all,

I was looking a long time for a good sso solution for my company's web
apps and esoe seems to be good at all my needs.

I have downloaded esoe and run the esoe startup project. I filled in
any information wanted and the config files and DB was created
successfully. Then i made the changes described to the documentation
to handle Active Directory (yes, unfortunately i need to play with m$
directory system). An esoe user and his keytab file created and
changes was done in the ${esoe.data}/config/esoe.config file. ROOT
changed and then all 4 .war files (ROOT, esoemanager, spep, web) was
copied into tomcat's webapps folder. It is tomcat 6.0.18 and all
endorsed and shared libraries are in ${tomcatroot}/endorsed and $
{tomcatroot}/lib directories because these are the locations for
tomcat 6.x (common and shared are not used).

And then nothing at all. I don't know how to describe the problem so i
put here a summary of my log files (everything seems useful).

PS: i want to try it at home, there is a full linux network there with
an openldap server, to check esoe in another environment.

Kind Regards,
Aggelos Karalias

=========================================================================== ==========

${spep.data}/logging/spep.log:
2008-09-15 12:39:07,996 INFO  com.qut.middleware.spep.Initializer -
Configured spep.data from java property spep.data, with a value of: C:
\esoe\spep
2008-09-15 12:39:10,512 INFO
com.qut.middleware.spep.metadata.impl.MetadataThread - Created
MetadataThread successfully with params - interval: 120 seconds.
2008-09-15 12:39:10,512 INFO
com.qut.middleware.spep.metadata.impl.MetadataImpl - Created
MetadataImpl successfully with params spepIdentifier=http://
tech11.pds.piraeusgroup.gr:8080/esoemanager, esoeIdentifier=http://
tech11.pds.piraeusgroup.gr:8080, metadataUrl=http://
tech11.pds.piraeusgroup.gr:8080/esoemanager/metadata/retrieve.htm,
interval=120
2008-09-15 12:39:10,652 INFO
com.qut.middleware.spep.ws.impl.WSClientImpl - Created WSClientImpl
successfully
2008-09-15 12:39:10,746 INFO
com.qut.middleware.spep.sessions.impl.SessionCacheImpl - Created
SessionCacheImpl successfully
2008-09-15 12:39:10,746 INFO
com.qut.middleware.spep.impl.IdentifierCacheMonitor - IdentifierCache
monitor Thread. sucesfully started with params - interval: 120.000,
timeout: 36.000.000
2008-09-15 12:39:11,840 INFO
com.qut.middleware.spep.attribute.impl.AttributeProcessorImpl -
Created AttributeProcessorImpl successfully.
2008-09-15 12:39:15,762 INFO
com.qut.middleware.spep.pep.impl.PolicyEnforcementProcessorImpl -
Created PolicyEnforcementProcessorImpl successfully
2008-09-15 12:39:16,809 INFO
com.qut.middleware.spep.impl.StartupProcessorImpl - Created
StartupProcessorImpl successfully.
2008-09-15 12:39:16,824 INFO
com.qut.middleware.spep.impl.StartupProcessorImpl - Initiating SPEP
startup.
2008-09-15 12:39:20,121 ERROR
com.qut.middleware.spep.metadata.impl.MetadataThread - I/O error
occurred reading metadata. Exception was:
http://tech11.pds.piraeusgroup.gr:8080/esoemanager/metadata/retrieve.htm
2008-09-15 12:39:20,153 FATAL
com.qut.middleware.spep.impl.StartupProcessorImpl - Unexpected error
prevented SPEP startup. Message was: Metadata was not successfully
loaded
2008-09-15 12:39:40,154 FATAL
com.qut.middleware.spep.impl.StartupProcessorImpl - SPEP did not
recieve authorization from the ESOE to continue. Waiting 20 seconds
before attempting startup again.
2008-09-15 12:39:40,279 FATAL
com.qut.middleware.spep.impl.StartupProcessorImpl - Unexpected error
prevented SPEP startup. Message was: Metadata was not successfully
loaded
2008-09-15 12:40:00,279 FATAL
com.qut.middleware.spep.impl.StartupProcessorImpl - SPEP did not
recieve authorization from the ESOE to continue. Waiting 20 seconds
before attempting startup again.
2008-09-15 12:40:00,342 FATAL
com.qut.middleware.spep.impl.StartupProcessorImpl - Unexpected error
prevented SPEP startup. Message was: Metadata was not successfully
loaded
2008-09-15 12:40:20,343 FATAL
com.qut.middleware.spep.impl.StartupProcessorImpl - SPEP did not
recieve authorization from the ESOE to continue. Waiting 20 seconds
before attempting startup again.
2008-09-15 12:40:20,437 FATAL
com.qut.middleware.spep.impl.StartupProcessorImpl - Unexpected error
prevented SPEP startup. Message was: Metadata was not successfully
loaded

=========================================================================== ==========

${tomcatroot}/logs/catalina.log:
15 Σεπ 2008 12:38:04 μμ org.apache.catalina.core.AprLifecycleListener
init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program Files\Apache Software Foundation\apache-
tomcat-6.0.18\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:
\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:
\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\AppServ
\Apache_Ant\bin;C:\Program Files\System Center Operations Manager
2007\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program
Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft
SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files
\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program
Files\Windows Imaging\;C:\Program Files\ATI Technologies\ATI.ACE\Core-
Static;C:\Program Files\QuickTime\QTSystem\;C:\Program Files
\TortoiseSVN\bin;C:\Program Files\CollabNet Subversion
15 Σεπ 2008 12:38:04 μμ org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
15 Σεπ 2008 12:38:04 μμ org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1526 ms
15 Σεπ 2008 12:38:04 μμ org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
15 Σεπ 2008 12:38:04 μμ org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
15 Σεπ 2008 12:38:04 μμ org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive esoemanager.war
15 Σεπ 2008 12:38:42 μμ org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
15 Σεπ 2008 12:38:42 μμ org.apache.catalina.core.StandardContext start
SEVERE: Context [/esoemanager] startup failed due to previous errors
15 Σεπ 2008 12:38:43 μμ org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive ROOT.war
15 Σεπ 2008 12:39:07 μμ org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
15 Σεπ 2008 12:39:07 μμ org.apache.catalina.core.StandardContext start
SEVERE: Context [] startup failed due to previous errors
15 Σεπ 2008 12:39:07 μμ org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive spep.war
15 Σεπ 2008 12:39:16 μμ org.apache.catalina.startup.HostConfig
deployWAR
INFO: Deploying web application archive web.war
15 Σεπ 2008 12:39:19 μμ org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
15 Σεπ 2008 12:39:20 μμ org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
15 Σεπ 2008 12:39:20 μμ org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/235  config=null
15 Σεπ 2008 12:39:20 μμ org.apache.catalina.startup.Catalina start
INFO: Server startup in 75368 ms

=========================================================================== ==========

${tomcatroot}/logs/localhost.log
15 Σεπ 2008 12:38:06 μμ org.apache.catalina.core.ApplicationContext
log
INFO: Initializing Spring root WebApplicationContext
15 Σεπ 2008 12:38:42 μμ org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener
instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanInitializationException: Could
not load properties; nested exception is
java.net.UnknownHostException: C
Caused by: java.net.UnknownHostException: C
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.NetworkClient.openServer(NetworkClient.java:118)
        at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
        ... [CUTTED OUT]
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
15 Σεπ 2008 12:38:42 μμ org.apache.catalina.core.ApplicationContext
log
INFO: Closing Spring root WebApplicationContext
15 Σεπ 2008 12:38:44 μμ org.apache.catalina.core.ApplicationContext
log
INFO: Initializing Spring root WebApplicationContext
15 Σεπ 2008 12:39:07 μμ org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener
instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanInitializationException: Could
not load properties; nested exception is
java.net.UnknownHostException: C
Caused by: java.net.UnknownHostException: C
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.NetworkClient.openServer(NetworkClient.java:118)
        ... [CUTTED OUT]
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp l.java:
25)
...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bradley Beddoes  
View profile  
 More options Sep 16 2008, 7:54 am
From: Bradley Beddoes <bedd...@intient.com>
Date: Tue, 16 Sep 2008 07:54:22 +1000
Local: Tues, Sep 16 2008 7:54 am
Subject: Re: [esoe-users] esoemanager and ROOT contexts fail to start

Hi,

 From reading your logs I think you may have one of two problems:

#1 - esoe.data, esoemanager.data and spep.data have not
been specified as JAVA_OPTS values when you started Tomcat. The
underlying spring architecture then is getting quite confused and trying
to connect to some non existent FTP source.

#2 - The metadata source located at
http://tech11.pds.piraeusgroup.gr:8080/esoemanager/metadata/retrieve.htm
is unable to be accessed. If you navigate to this URL in your browser
you should have an XML document returned which is the metadata that
controls the ESOE system. Without this document the various subsystems
can't operate. This not being available would probably indicate some
issue with esoemanager that we'd need to pin point.

regards,
Bradley

--
Bradley Beddoes
Lead Software Architect
Intient Pty Ltd

http://www.intient.com

...

read more »

  beddoes.vcf
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aggelos Karalias  
View profile  
 More options Sep 16 2008, 9:13 am
From: "Aggelos Karalias" <aggelos.karal...@gmail.com>
Date: Tue, 16 Sep 2008 02:13:15 +0300
Local: Tues, Sep 16 2008 9:13 am
Subject: Re: [esoe-users] Re: esoemanager and ROOT contexts fail to start

Hi, again

#1 - The fact is that i am starting Tomcat as a service and environment
variable JAVA_OPTS is not recognized there BUT i set all esoe.data,
esoemanager.data, spep.data as java options from"tomcat6w //ES//Tomcat6"
dialog and it seems to work as well as the bin/startup script. For example
in the esoestartup project in the form with these three files the values was
completed automatically so i think that i am OK. However, i will try again
with env. variable JAVA_OPTS and the startup script.

#2 - Nope i browsed the URL and it is null. Nothing into it just a 404
error. But this is right, isn't it. Because esoemanager context failed to
start. Maybe an incorrect configuration of the #1 causes the application to
fail starting and the metadata to be null. I don't know..

I 'll try more tomorrow and if i have found anything i'll post it.

Thanks for your time,
Aggelos Karalias

2008/9/16 Bradley Beddoes <bedd...@intient.com>

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shaun Mangelsdorf  
View profile  
 More options Sep 16 2008, 9:49 am
From: "Shaun Mangelsdorf" <s.mangelsd...@gmail.com>
Date: Tue, 16 Sep 2008 09:49:31 +1000
Local: Tues, Sep 16 2008 9:49 am
Subject: Re: [esoe-users] Re: esoemanager and ROOT contexts fail to start

Hi,

I've managed to reproduce this in my windows environment, so this is
definitely a platform problem. The problem is that the esoe.data, etc paths
are being interpreted as relative URIs to the base file:// URL. When there
is no leading / on the esoe.data location, the URL file://C:\esoe\... is
parsed.

What this means, for windows platforms, is that the *.data parameters need
to be set as (for example):
-Desoe.data=/c:/esoe/core
-Dspep.data=/c:/esoe/spep
-Desoemanager.data=/c:/esoe/manager

Obviously this would differ depending where the config is stored. The
important aspects of the URL here are the leading slash, and the fact that
they are forward slashes as used in URLs normally, rather than the
backslashes that windows uses for directory locations.

Thanks for reporting this, we haven't come across this one yet. We'll update
the wiki documentation shortly to reflect this detail of configuration.

Thanks,
Shaun Mangelsdorf

2008/9/16 Aggelos Karalias <aggelos.karal...@gmail.com>

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aggelos Karalias  
View profile  
 More options Sep 16 2008, 9:24 pm
From: "Aggelos Karalias" <aggelos.karal...@gmail.com>
Date: Tue, 16 Sep 2008 14:24:49 +0300
Local: Tues, Sep 16 2008 9:24 pm
Subject: Re: [esoe-users] Re: esoemanager and ROOT contexts fail to start

Nice.. Thanks.. I am not sure if i could imagine that..

Now i am one step forward and your help about path's syntax was the
solution. ESOE is up and running and when i am trying to open esoemanager it
redirects me to the magic login screen.

But user's credentials cannot be authenticated against Active Directory.
In ${esoe.data}/logging/esoe.log i am getting some WARNs, see the log result
below.

I think that it makes the (network) connection to the AD and it then it is
not allowed to search for the user because of misconfiguration of the userdn
or the keytab file. In my home network (linux - openldap) it works perfect.

If can anyone help me or make a suggestion on this i would be grateful.

PS: Happy to help, even with this accidentally bug report.

Thanks for your support.
Aggelos Karalias

=========================================================================== ===

*${esoe.data}/logging/esoe.log:*
2008-09-16 12:48:10,045 INFO  com.qut.middleware.esoe.spep.impl.StartupImpl
- Successfully registered SPEP
http://tech11.pds.piraeusgroup.gr:8080/esoemanager.
2008-09-16 12:48:10,232 INFO
com.qut.middleware.esoe.pdp.cache.impl.PolicyCacheProcessorImpl - Sending
AuthzClearCacheRequest to
http://tech11.pds.piraeusgroup.gr:8080/spep/services/spep/authzCacheC...
2008-09-16 12:48:10,420 INFO
com.qut.middleware.esoe.pdp.cache.impl.PolicyCacheProcessorImpl - Recieved
Success Status from AuthzClearCacheResponse.
2008-09-16 12:50:37,895 INFO
com.qut.middleware.esoe.sso.impl.AuthenticationAuthorityProcessorBase -
Detected incoming AuthnRequest encoding of UTF-16 will respond in same
encoding
2008-09-16 12:50:37,957 INFO
com.qut.middleware.esoe.sso.impl.AuthenticationAuthorityProcessorBase -
Session not established, forcing authentication operation on principal
2008-09-16 12:50:46,255 WARN
com.qut.middleware.esoe.authn.pipeline.authenticator.LdapBasicAuthenticator
- LDAP exception while attempting LDAP search: Invalid Credentials
2008-09-16 12:50:56,708 WARN
com.qut.middleware.esoe.authn.pipeline.authenticator.LdapBasicAuthenticator
- LDAP exception while attempting LDAP search: Invalid Credentials
2008-09-16 12:51:14,475 INFO
com.qut.middleware.esoe.sso.impl.AuthenticationAuthorityProcessorBase -
Detected incoming AuthnRequest encoding of UTF-16 will respond in same
encoding
2008-09-16 12:51:14,506 INFO
com.qut.middleware.esoe.sso.impl.AuthenticationAuthorityProcessorBase -
Session not established, forcing authentication operation on principal
2008-09-16 12:51:14,865 WARN
com.qut.middleware.esoe.authn.pipeline.authenticator.KerberosV5Authenticato r
- Server Login failed. Unable to process SPNEGO authentication requests.
2008-09-16 12:58:08,649 INFO
com.qut.middleware.esoe.metadata.impl.MetadataUpdateMonitor - Rebuilding
metadata cache from new revision 88203ceee5df874e5a32436fd5c9ef814c09bad2.
=========================================================================== ===

Στις 16 Σεπτέμβριος 2008 2:49 πμ, ο χρήστης Shaun Mangelsdorf <
s.mangelsd...@gmail.com> έγραψε:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bradley Beddoes  
View profile  
 More options Sep 17 2008, 10:35 am
From: Bradley Beddoes <bedd...@intient.com>
Date: Wed, 17 Sep 2008 10:35:38 +1000
Local: Wed, Sep 17 2008 10:35 am
Subject: Re: [esoe-users] Re: esoemanager and ROOT contexts fail to start

Hi,
Lets start by disabling SPNEGO and just getting the plain LDAP
authentication against your AD instance working.

To do this remove spengo as a value of activeAuthnPlugins in esoe.config
(requires a restart).

Secondly specify an admin user DN and password for binding to AD and set
recursive searching to be true. I would then manually test accessing AD
via LDAP with this account using a tool like Apache DS Studio (
http://directory.apache.org/studio/ ) to ensure it connects correctly
and is able to see all users you expect it to.

Restart ESOE and try auth with these settings and we'll see how your
going at that point.

regards,
Bradley

--
Bradley Beddoes
Lead Software Architect
Intient Pty Ltd

http://www.intient.com

  beddoes.vcf
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aggelos Karalias  
View profile  
 More options Sep 17 2008, 10:56 am
From: Aggelos Karalias <aggelos.karal...@gmail.com>
Date: Wed, 17 Sep 2008 03:56:05 +0300
Local: Wed, Sep 17 2008 10:56 am
Subject: Re: esoemanager and ROOT contexts fail to start
I did test the user dn and the password with ldp.exe of Microsoft tools
and it can search correctly.

The strange thing is that i have the user in AD and when i am running
the ktpass then i cannot bind the user (from the ldp.exe for example)
and it can only be bound if i reset his password. I cannot get this.

Anyway thanks for your help, i will try to disable SPNEGO and i will
tell you.

Regards,
Aggelos Karalias


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elyas  
View profile  
 More options Sep 18 2008, 12:53 am
From: elyas <elyas.moha...@gmail.com>
Date: Wed, 17 Sep 2008 07:53:37 -0700 (PDT)
Local: Thurs, Sep 18 2008 12:53 am
Subject: Re: esoemanager and ROOT contexts fail to start
Hi,

I have also come across this sort of error in windows environment.

This might help -

Go to webapps\ROOT\WEB-INF\globalConfig.xml and add one more / in the
location property value (file:///${esoe.data) like the following one -

<bean id="globalConfig"

class="org.springframework.beans.factory.config.PropertyPlaceholderConfigur er">
                <property name="location" value="file://${esoe.data}/config/
esoe.config" />
</bean>

to

<bean id="globalConfig"

class="org.springframework.beans.factory.config.PropertyPlaceholderConfigur er">
                <property name="location" value="file:///${esoe.data}/config/
esoe.config" />
</bean>

and restart tomcat.

Regards,
Elyas

On Sep 15, 3:26 pm, mehiel <aggelos.karal...@gmail.com> wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google