[JBoss Portal] - problem configuring portal security
by prijken
I am trying to configure the security for the portal pages.
In my *-object.xml file I have:
| <?xml version="1.0" encoding="UTF-8"?>
| <deployments>
| <deployment>
| <if-exists>overwrite</if-exists>
| <parent-ref>LogicaCMG</parent-ref>
| <properties/>
| <page>
| <page-name>[01]Home</page-name>
| <properties>
| <property>
| <name>order</name>
| <value>01</value>
| </property>
| <property>
| <name>icon</name>
| <value>/images/navigation/Home.png</value>
| </property>
| </properties>
| <window>
| <window-name>Navigation</window-name>
| <instance-ref>SmartNavigationInstance</instance-ref>
| <region>navigation</region>
| <height>0</height>
| <properties>
| <property><name>theme.windowRendererId</name><value>emptyRenderer</value></property>
| <property><name>theme.decorationRendererId</name><value>emptyRenderer</value></property>
| <property><name>theme.portletRendererId</name><value>emptyRenderer</value></property>
| </properties>
| </window>
| <window>
| <window-name>[01]Welcome</window-name>
| <instance-ref>WelcomeInstance</instance-ref>
| <region>center</region>
| <height>0</height>
| </window>
| <security-constraint>
| <policy-permission>
| <role-name>User</role-name>
| <action-name>personaliserecursive</action-name>
| </policy-permission>
| </security-constraint>
| </page>
| </deployment>
| </deployments>
|
but the <securtity-constraint>...</security-constraint> does not seem to have an effect when I try to access the page.
I captured the following trace:
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Security checking request GET /portal/portal/LogicaCMG
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Authenticated]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure+Authenticated]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Authenticated]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure+Authenticated]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Authenticated]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure+Authenticated]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Authenticated]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,433 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure+Authenticated]' against GET /portal/LogicaCMG --> false
| 2006-09-01 13:57:34,434 DEBUG [org.apache.catalina.realm.RealmBase] No applicable constraint located
| 2006-09-01 13:57:34,434 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Not subject to any constraint
| 2006-09-01 13:57:34,434 TRACE [org.jboss.web.tomcat.security.SecurityAssociationValve] Begin invoke, callernull
| 2006-09-01 13:57:34,434 TRACE [org.jboss.security.SecurityAssociation] pushRunAsIdentity, runAs=null
| 2006-09-01 13:57:34,434 TRACE [org.jboss.web.tomcat.security.RunAsListener] PortalServletWithPathMapping, runAs: null
| 2006-09-01 13:57:34,434 TRACE [org.jboss.web.tomcat.security.RunAsListener] PortalServletWithPathMapping, runAs: null
| 2006-09-01 13:57:34,434 TRACE [org.jboss.web.tomcat.security.SecurityFlushSessionListener] Session Created with id=252BF826603B10B0714B81967032E580
| 2006-09-01 13:57:34,464 DEBUG [org.jboss.portal.theme.impl.LayoutServiceImpl] get logicacmg...
| 2006-09-01 13:57:34,464 DEBUG [org.jboss.portal.theme.impl.LayoutServiceImpl] found logicacmg
| 2006-09-01 13:57:34,465 TRACE [org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager] hasPermission:uri=LogicaCMG.[01]Home::action=portalobject::type=portalobject
| 2006-09-01 13:57:34,465 TRACE [org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager] hasPermission:uri=LogicaCMG.[01]Home::action=portalobject::type=portalobject
| 2006-09-01 13:57:34,465 TRACE [org.jboss.security.SecurityAssociation] getSubject, sc=null
| 2006-09-01 13:57:34,466 TRACE [org.jboss.security.jacc.DelegatingPolicy] implies, domain=ProtectionDomain null
| null
| <no principals>
| java.security.Permissions@113230c (
| (javax.security.jacc.WebUserDataPermission /:/auth/*:/authsec/*:/sec/*)
| (javax.security.jacc.WebUserDataPermission /auth/*:/authsec/*)
| (javax.security.jacc.WebUserDataPermission /authsec/* :CONFIDENTIAL)
| (javax.security.jacc.WebUserDataPermission /sec/*)
| (javax.security.jacc.WebResourcePermission /:/auth/*:/authsec/*:/sec/*)
| (javax.security.jacc.WebResourcePermission /auth/*:/authsec/*)
| (javax.security.jacc.WebResourcePermission /authsec/*)
| (javax.security.jacc.WebResourcePermission /sec/*)
| (javax.security.jacc.WebRoleRefPermission PortalServletWithDefaultServletMapping User)
| (javax.security.jacc.WebRoleRefPermission PortalServletWithDefaultServletMapping Authenticated)
| (javax.security.jacc.WebRoleRefPermission jsp User)
| (javax.security.jacc.WebRoleRefPermission PortalServletWithPathMapping User)
| (javax.security.jacc.WebRoleRefPermission User)
| (javax.security.jacc.WebRoleRefPermission PortalServletWithPathMapping Authenticated)
| )
|
| , permission=(org.jboss.portal.core.model.portal.PortalObjectPermission portalobjectpermission create,personalizerecursive)
| 2006-09-01 13:57:34,466 TRACE [org.jboss.security.SecurityAssociation] getSubject, sc=null
| 2006-09-01 13:57:34,466 TRACE [org.jboss.security.jacc.DelegatingPolicy] implies javax.security.auth.Subject.container: null
| 2006-09-01 13:57:34,474 TRACE [org.jboss.security.jacc.ContextPolicy] Allowed: Matched unchecked set, permission=(org.jboss.portal.core.model.portal.PortalObjectPermission portalobjectpermission create,personalizerecursive)
| 2006-09-01 13:57:34,474 TRACE [org.jboss.security.jacc.DelegatingPolicy] implied=true
| 2006-09-01 13:57:34,474 TRACE [org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager] hasPermission:result=true
| 2006-09-01 13:57:34,474 TRACE [org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager] hasPermission:result=true
| 2006-09-01 13:57:34,474 TRACE [org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager] hasPermission:uri=LogicaCMG.[01]Home::action=portalobject::type=portalobject
| 2006-09-01 13:57:34,474 TRACE [org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager] hasPermission:uri=LogicaCMG.[01]Home::action=portalobject::type=portalobject
| 2006-09-01 13:57:34,474 TRACE [org.jboss.security.SecurityAssociation] getSubject, sc=null
| 2006-09-01 13:57:34,474 TRACE [org.jboss.security.jacc.DelegatingPolicy] implies, domain=ProtectionDomain null
| null
| <no principals>
| java.security.Permissions@2cca38 (
| (javax.security.jacc.WebUserDataPermission /:/auth/*:/authsec/*:/sec/*)
| (javax.security.jacc.WebUserDataPermission /auth/*:/authsec/*)
| (javax.security.jacc.WebUserDataPermission /authsec/* :CONFIDENTIAL)
| (javax.security.jacc.WebUserDataPermission /sec/*)
| (javax.security.jacc.WebResourcePermission /:/auth/*:/authsec/*:/sec/*)
| (javax.security.jacc.WebResourcePermission /auth/*:/authsec/*)
| (javax.security.jacc.WebResourcePermission /authsec/*)
| (javax.security.jacc.WebResourcePermission /sec/*)
| (javax.security.jacc.WebRoleRefPermission PortalServletWithDefaultServletMapping User)
| (javax.security.jacc.WebRoleRefPermission PortalServletWithDefaultServletMapping Authenticated)
| (javax.security.jacc.WebRoleRefPermission jsp User)
| (javax.security.jacc.WebRoleRefPermission PortalServletWithPathMapping User)
| (javax.security.jacc.WebRoleRefPermission User)
| (javax.security.jacc.WebRoleRefPermission PortalServletWithPathMapping Authenticated)
| )
|
| , permission=(org.jboss.portal.core.model.portal.PortalObjectPermission portalobjectpermission personalizerecursive)
| 2006-09-01 13:57:34,474 TRACE [org.jboss.security.SecurityAssociation] getSubject, sc=null
| 2006-09-01 13:57:34,474 TRACE [org.jboss.security.jacc.DelegatingPolicy] implies javax.security.auth.Subject.container: null
|
Any help with what I am doing wrong/missing is greatly appreciated.
pieter
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968909#3968909
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968909
19 years, 7 months
[Beginners Corner] - in-container test with JbossTestCase
by susi33
Hi
I would like to run in-container tests with the jboss testsuite. I'm using
a simple JbossTestCase class and an ant script to build it.
I'm using:
Java 1.5, Jboss 4.0.4GA, Ant 1.6.5, Junit 3.8.1,
Eclipse 3.12, Fedora Core 5.
My build.xml looks like this (only the test target):
| <target name="test-run" depends="jar">
| <delete dir="${test_classes.dir}"/>
| <mkdir dir="${test_classes.dir}" />
| <javac srcdir="${test.src.dir}"
| destdir="${test_classes.dir}">
| <classpath refid="compile.classpath" />
| <classpath>
| <pathelement location="${classes.dir}" />
| </classpath>
| </javac>
| <jar jarfile="${jarfile_test}/JbossTest.jar">
| <fileset dir="${test_classes.dir}/">
| <include name="testing/*.class" />
| </fileset>
| </jar>
| <delete file="${jboss.deploy.dir}/JbossTest.jar" />
| <copy todir="${jboss.deploy.dir}"
| file="${jarfile_test}/JbossTest.jar" />
| <!-- Jboss Config -->
| <config javaHome="${java_home}" jbossHome="${jboss.base.dir}">
| <server name="default" host="${node0}">
| <jvmarg value="${jpda.cmdline}" />
| <jvmarg value="-Xmx256m" />
| <sysproperty key="java.endorsed.dirs" value="${jboss.base.dir}/lib/endorsed" />
| </server>
| </config>
| <!-- Jboss Start -->
| <start name="default"/>
| <junit fork="yes"
| printsummary="yes"
| haltonfailure="yes">
| <sysproperty key="java.naming.provider.url" value="${node0.jndi.url}"/>
| <classpath>
| <pathelement path="${jboss-test}"/>
| <pathelement path="${jboss_testcase}" />
| <path refid="compile.classpath" />
| </classpath>
| <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
| <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
| usefile="${junit.formatter.usefile}"
| extension="-${jboss-junit-configuration}.xml" />
| <formatter type="xml"/>
| <test fork="yes"
| name="testing.SimpleUnitTestCase"
| haltonfailure="no">
| </test>
| </junit>
| <!-- Jboss Stop -->
| <stop name="default"/>
| </target>
|
My JbossTestCase is the SimpleUnitTestCase.class within the
jboss-test-1.0.0.CR1.
The error stack:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.addToEnvironment(InitialContext.java:474)
at testing.SimpleUnitTestCase.testCreateSubcontext(Unknown Source)
Its the same for all 5 test cases...
For me it looks like this JbossTestCase is not executed inside the ejb container.
Where do i have to set the link between the jboss container and the test cases??
Or how do i get the test code in my container?
I didn't find anything about this specific problem, so i started a new topic.
I would be grateful for some help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968907#3968907
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968907
19 years, 7 months
[Beginners Corner] - Re: JBoss throws UnknownHostException on startup
by matwe
OK, added the full info from JBoss launch window.
Please help with this!
===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: C:\admin\source\JBoss\jboss-4.0.1sp1\bin\\..
.
JAVA: C:\j2sdk1.4.2_05\\bin\java
.
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\j2sdk1.4.2_05\\lib\tools.jar;C:\admin\source\JBoss\jboss-4.0.1sp1\bin\\run.jar
.
===============================================================================
.
13:00:18,936 INFO [Server] Starting JBoss (MX MicroKernel)...
13:00:18,936 INFO [Server] Release ID: JBoss [Zion] 4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)
13:00:18,936 INFO [Server] Home Dir: C:\admin\source\JBoss\jboss-4.0.1sp1
13:00:18,936 INFO [Server] Home URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/
13:00:18,936 INFO [Server] Library URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/lib/
13:00:18,952 INFO [Server] Patch URL: null
13:00:18,952 INFO [Server] Server Name: default
13:00:18,952 INFO [Server] Server Home Dir: C:\admin\source\JBoss\jboss-4.0.1sp1\server\default
13:00:18,952 INFO [Server] Server Home URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/
13:00:18,952 INFO [Server] Server Data Dir: C:\admin\source\JBoss\jboss-4.0.1sp1\server\default\data
13:00:18,952 INFO [Server] Server Temp Dir: C:\admin\source\JBoss\jboss-4.0.1sp1\server\default\tmp
13:00:18,952 INFO [Server] Server Config URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/conf/
13:00:18,952 INFO [Server] Server Library URL: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/lib/
13:00:18,952 INFO [Server] Root Deployment Filename: jboss-service.xml
13:00:18,952 INFO [Server] Starting General Purpose Architecture (GPA)...
13:00:19,249 INFO [ServerInfo] Java version: 1.4.2_05,Sun Microsystems Inc.
13:00:19,249 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_05-b04,Sun Microsystems Inc.
13:00:19,249 INFO [ServerInfo] OS-System: Windows 2003 5.2,x86
13:00:19,749 INFO [Server] Core system initialized
13:00:20,936 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
13:00:21,014 INFO [WebService] Using RMI server codebase: http://gbw04010:8083/
13:00:21,155 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0,
Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
13:00:37,888 INFO [Embedded] Catalina naming disabled
13:00:38,420 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
13:00:38,451 INFO [Catalina] Initialization processed in 500 ms
13:00:38,451 INFO [StandardService] Starting service jboss.web
13:00:38,451 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28
13:00:38,482 INFO [StandardHost] XML validation disabled
13:00:38,482 INFO [Catalina] Server startup in 31 ms
13:00:38,592 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/d
efault/deploy/http-invoker.sar/invoker.war/
13:00:39,279 INFO [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/def
ault/tmp/deploy/tmp21094jboss-ws4ee-exp.war/
13:00:39,420 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/
deploy/jbossweb-tomcat50.sar/ROOT.war/
13:00:39,560 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/s
erver/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
13:00:43,623 INFO [MailService] Mail Service bound to java:/Mail
13:00:44,060 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/admin/source/JBoss/jb
oss-4.0.1sp1/server/default/deploy/jboss-local-jdbc.rar
13:00:44,419 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/admin/source/JBoss/jb
oss-4.0.1sp1/server/default/deploy/jboss-xa-jdbc.rar
13:00:44,748 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/admin/source/JBoss/jb
oss-4.0.1sp1/server/default/deploy/jms/jms-ra.rar
13:00:45,107 INFO [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/C:/admin/source/JBoss/jb
oss-4.0.1sp1/server/default/deploy/mail-ra.rar
13:00:45,732 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss
.jca:name=DefaultDS,service=DataSourceBinding to JNDI name 'java:DefaultDS'
13:00:45,763 WARN [ConfiguredIdentityLoginModule] Creating LoginModule with no configured password!
13:00:45,998 INFO [A] Bound to JNDI name: queue/A
13:00:45,998 INFO [B] Bound to JNDI name: queue/B
13:00:45,998 INFO [C] Bound to JNDI name: queue/C
13:00:45,998 INFO [D] Bound to JNDI name: queue/D
13:00:45,998 INFO [ex] Bound to JNDI name: queue/ex
13:00:46,013 INFO [testTopic] Bound to JNDI name: topic/testTopic
13:00:46,029 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
13:00:46,029 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
13:00:46,029 INFO [testQueue] Bound to JNDI name: queue/testQueue
13:00:46,076 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
13:00:46,107 INFO [DLQ] Bound to JNDI name: queue/DLQ
13:00:46,248 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager
'jboss.jca:name=JmsXA,service=ConnectionFactoryBinding to JNDI name 'java:JmsXA'
13:00:46,279 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/serv
er/default/deploy/jmx-console.war/
13:00:46,419 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/serv
er/default/deploy/management/web-console.war/
13:01:03,731 INFO [EARDeployer] Init J2EE application: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/deploy
/tc.ear
13:05:53,642 INFO [EjbModule] Deploying Gateway
13:05:53,814 INFO [STDOUT] 2006/09/01-11:05:53,814 UTC MLD Log init: com.teamcenter.mld version 0.0.3d (2005-06-06)
13:05:53,814 INFO [STDOUT] 2006/09/01-11:05:53,814 UTC MLD Log init: Instance configuraton hierarchy object: org.apache
.log4j.Hierarchy@17aa55b
13:05:53,814 INFO [STDOUT] 2006/09/01-11:05:53,814 UTC MLD Log init: Configured to Global log4j LoggerRepository: org.a
pache.log4j.Hierarchy@9ba045, local hierarchy: org.apache.log4j.Hierarchy@17aa55b
13:05:53,814 INFO [STDOUT] 2006/09/01-11:05:53,814 UTC MLD Log init: Note: com.teamcenter.mld Log initialization did no
t find any log4j configuration file(s) in directory C:\admin\source\JBoss\jboss-4.0.1sp1\bin\.
13:05:53,892 INFO [jmx] 2006/09/01-11:05:53,892 UTC {gbw04010} getMBS: Had to create own: org.jboss.mx.server.MBeanServ
erImpl@3b3757
13:05:53,892 INFO [ConfigurationListener] 2006/09/01-11:05:53,892 UTC {gbw04010} accessing user preferences userNodeFor
Package:com.teamcenter.mld.jmx
13:05:53,892 INFO [ConfigurationListener] 2006/09/01-11:05:53,892 UTC {gbw04010} using configured preferences factory:j
ava.util.prefs.WindowsPreferencesFactory
13:05:53,970 ERROR [ConfigurationListener] 2006/09/01-11:05:53,970 UTC {gbw04010} Bootstrap com.teamcenter.mld.jmx.Confi
gurationListener
java.net.UnknownHostException: java.sun.com
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.(HttpClient.java:306)
at sun.net.www.http.HttpClient.(HttpClient.java:267)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:320)
at sun.net.www.http.HttpClient.New(HttpClient.java:315)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.teamcenter.mld.jmx.ConfigurationListener.(ConfigurationListener.java:586)
at com.teamcenter.mld.jmx.PlmSimpleMBeanFactory.(PlmSimpleMBeanFactory.java:195)
at com.teamcenter.jeti.resourceadapter.spi.impl.ConnectionFactoryImpl.(ConnectionFactoryImpl.java:86)
at com.teamcenter.jeti.resourceadapter.spi.impl.ManagedConnectionFactoryImpl.createConnectionFactory(ManagedConn
ectionFactoryImpl.java:127)
at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnectionFactory(ConnectionFactor
yBindingService.java:182)
at org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService(ConnectionFactoryBindingSer
vice.java:71)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at org.jboss.system.ServiceController.start(ServiceController.java:438)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy31.start(Unknown Source)
at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubDeployerSupport.java:378)
at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployerSupport.java:141)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:20
4)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:416)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
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:324)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:413)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:310)
at org.jboss.Main.boot(Main.java:162)
at org.jboss.Main$1.run(Main.java:423)
at java.lang.Thread.run(Thread.java:534)
13:05:54,329 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager
'jboss.jca:name=jca/JETI/Adapter,service=ConnectionFactoryBinding to JNDI name 'java:jca/JETI/Adapter'
13:05:54,329 INFO [ResponseTimeGaugeListener] 2006/09/01-11:05:54,329 UTC {gbw04010} -- Attr: FilterTimeAvg=0 (.LE. 80)
: {com.teamcenter.mld:SRC=com.teamcenter.jeti.resourceadapter.spi.impl.ConnectionFactoryImpl,name=getConnection-Connect
ionFactoryImpl,type=Collector,units=mSec}
13:05:54,408 INFO [EJBDeployer] Deployed: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/tmp/deploy/tmp21145
tc.ear-contents/JETIGateway-ejb.jar
13:05:54,470 INFO [TomcatDeployer] deploy, ctxPath=/tc, warUrl=file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/defaul
t/tmp/deploy/tmp21145tc.ear-contents/tc-exp.war/
13:06:22,110 INFO [EARDeployer] Started J2EE application: file:/C:/admin/source/JBoss/jboss-4.0.1sp1/server/default/dep
loy/tc.ear
13:06:22,219 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
13:06:22,297 INFO [ChannelSocket] Port busy 8009 java.net.BindException: Address already in use: JVM_Bind
13:06:22,297 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8010
13:06:22,297 INFO [JkMain] Jk running ID=1 time=0/15 config=null
13:06:22,313 INFO [Server] JBoss (MX MicroKernel) [4.0.1sp1 (build: CVSTag=JBoss_4_0_1_SP1 date=200502160314)] Started in 6m:3s:220ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968906#3968906
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968906
19 years, 7 months