[jboss-user] [JBoss Web Services Users] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-12-01 Thread GajananM
jbossws-cxf-3.2.0.GA download this file

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4268413#4268413

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268413
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-10-20 Thread GajananM
please refer the below link for jbossws 
patch(http://www.jboss.org/jbossws/downloads/)

and follow the instruction which is given in readme.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4261246#4261246

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261246
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Web Services Users] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-10-20 Thread GajananM
download the below patch 
http://www.jboss.org/jbossws/downloads/

follow the instruction which is given in readme .txt

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4261249#4261249

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4261249
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM-4.0 configuration with eclipse fetching error

2009-08-06 Thread GajananM
could u please tell me the correct eclipse version name.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4248382#4248382

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248382
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM-4.0 configuration with eclipse fetching error

2009-08-03 Thread GajananM

when i am trying to configure the jbpm plugin (jbpm-gpd-site.zip) file with 
eclipse3.5 that time i am getting below error

Cannot complete the install because one or more required items could not be 
found.
  Software being installed: jBPM 4 Graphical Editor and Tools 
1.0.0.v200907072256-3--8s733L3H3H77DF 
(org.jboss.tools.flow.jpdl4.feature.feature.group 
1.0.0.v200907072256-3--8s733L3H3H77DF)
  Missing requirement: jPDL4 Graphical Editor 1.0.0.v200907072256 
(org.jboss.tools.flow.jpdl4 1.0.0.v200907072256) requires 'bundle 
org.eclipse.gef 3.4.1' but it could not be found
  Cannot satisfy dependency:
From: jBPM 4 Graphical Editor and Tools 
1.0.0.v200907072256-3--8s733L3H3H77DF 
(org.jboss.tools.flow.jpdl4.feature.feature.group 
1.0.0.v200907072256-3--8s733L3H3H77DF)
To: org.jboss.tools.flow.jpdl4 [1.0.0.v200907072256]


please help me to resolved this issue
thanks in advance

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4247472#4247472

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247472
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM-4.0 configuration with eclipse fetching error

2009-08-03 Thread GajananM
i downloaded below version
galileo/eclipse-SDK-3.5-win32.zip
i think it is compatible with jbpm.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4247567#4247567

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4247567
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - securing a web project on jboss using https(SSL)

2009-06-09 Thread GajananM

Hi 
I facing some problems while securing a web application on jboss...
below are the steps which i  followed.
I have created a web application in eclipse 3.2.2 on jboss 4.2.2GA .
I want to secure my webappllication using SSL
 for this i have 
1.generated certificate by using %JAVA_HOME%\bin\keytool -genkey -alias 
tomcat -keyalg RSA command line 
2.I have changed jboss/server/default/deploy/jboss-web.deployer/server.xml file 
.in this file i replaced connector port=8080/ TO
  

3.Modified web.xml of the web application:
 Added security mappings to web.xml file:

 servlet-mapping
servlet-nametestsecurity/servlet-name
url-pattern/testsecurity/url-pattern
   /servlet-mapping
   
  security-constraint
 web-resource-collection
web-resource-nameAll resources/web-resource-name
Protects all resources
url-pattern/*/url-pattern
/web-resource-collection
auth-constraint
role-nameWebAppUser/role-name
/auth-constraint
/security-constraint

security-role
role-nameWebAppUser/role-name
/security-role
login-config

auth-methodBASIC/auth-method
realm-nameTest Realm/realm-name
/login-config

4. created a jboss-web.xml file in side web-inf and made an entry  of 
jboss-web
security-domainjava:/jaas/myweb-console/security-domain
/jboss-web

5. when iam trying to deploy and run the applocation on jboss it is prompting 
for user name and password.

6.i have changed the boss-4.2.0.GA\server\default\conf\login-config.xml file . 
added :
application-policy name = myweb-console
   
  login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule
 flag = required
 module-option 
name=usersPropertiesweb-console-users.properties/module-option
 module-option 
name=rolesPropertiesweb-console-roles.properties/module-option
  /login-module
   
/application-policy

when i specify the username and password i am not able to see my index.jsp page 
it isgi=ving me status 401 error  authentication.
 my dout is  do i need to specify username password of the certificate in any 
one of the property file of jboss if so ... please let me know the formate to 
spaecify
tel me weather my approach to secure the webapplication on jboss is correct or 
not 

I am anle to access the jboss console using 
https://localhost:8443/

when iam trying to access https://localhost:8443/testsecurity
 it is giving error asaying status 401 authentication...
it should display index.jsp page 
looking forward for ur replies ...Please help if any one has idea about ssl 
security for jboss
  

  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4236262#4236262

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4236262
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - securing a web project on jboss using https(SSL)

2009-06-09 Thread GajananM
Hi 
I am facing some problems while securing a web application on jboss... 
below are the steps which i followed. 
I have created a web application in eclipse 3.2.2 on jboss 4.2.2GA . 
I want to secure my webappllication using SSL 
for this i have 

1.generated certificate by using %JAVA_HOME%\bin\keytool -genkey -alias tomcat 
-keyalg RSA command line 

2.I have changed jboss/server/default/deploy/jboss-web.deployer/server.xml file 
.in this file i replaced connector port=8080/ TO 

  

3.Modified web.xml of the web application: 
Added security mappings to web.xml file: 

servlet-mapping 
servlet-nametestsecurity/servlet-name 
url-pattern/testsecurity/url-pattern 
/servlet-mapping 

security-constraint 
web-resource-collection 
web-resource-nameAll resources/web-resource-name 
Protects all resources 
url-pattern/*/url-pattern 
/web-resource-collection 
auth-constraint 
role-nameWebAppUser/role-name 
/auth-constraint 
/security-constraint 

security-role 
role-nameWebAppUser/role-name 
/security-role 
login-config 

auth-methodBASIC/auth-method 
realm-nameTest Realm/realm-name 
/login-config 

4. created a jboss-web.xml file in side web-inf and made an entry of 
jboss-web 
security-domainjava:/jaas/myweb-console/security-domain 
/jboss-web 

5. when i am trying to deploy and run the application on jboss it is prompting 
for user name and password. 

6.i have changed the boss-4.2.0.GA\server\default\conf\login-config.xml file . 
added : 
application-policy name = myweb-console 

login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule 
flag = required 

module-option 
name=usersPropertiesweb-console-users.properties/module-option 
module-option 
name=rolesPropertiesweb-console-roles.properties/module-option 

/login-module 

/application-policy 

when i specify the username and password i am not able to see my index.jsp page 
it is giving me status 401 error authentication. 
my dout is do i need to specify username password of the certificate in any one 
of the property file of jboss if so ... please let me know the formate to 
specify 
tel me weather my approach to secure the webapplication on jboss is correct or 
not 

I am able to access the jboss console using 
https://localhost:8443/ 

when iam trying to access https://localhost:8443/testsecurity 
it is giving error asaying status 401 authentication... 
it should display index.jsp page  
looking forward for ur replies ...Please help if any one has idea about ssl 
security for jboss 



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4236273#4236273

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4236273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - securing a web project on jboss using https(SSL)

2009-06-09 Thread GajananM
Hi 
I am facing some problems while securing a web application on jboss... 
below are the steps which i followed. 
I have created a web application in eclipse 3.2.2 on jboss 4.2.2GA . 
I want to secure my webappllication using SSL 
for this i have 

1.generated certificate by using %JAVA_HOME%\bin\keytool -genkey -alias tomcat 
-keyalg RSA command line 

2.I have changed jboss/server/default/deploy/jboss-web.deployer/server.xml file 
.in this file i replaced connector port=8080/ TO 


3.Modified web.xml of the web application: 
Added security mappings to web.xml file: 

servlet-mapping 
servlet-nametestsecurity/servlet-name 
url-pattern/testsecurity/url-pattern 
/servlet-mapping 

security-constraint 
web-resource-collection 
web-resource-nameAll resources/web-resource-name 
Protects all resources 
url-pattern/*/url-pattern 
/web-resource-collection 
auth-constraint 
role-nameWebAppUser/role-name 
/auth-constraint 
/security-constraint 

security-role 
role-nameWebAppUser/role-name 
/security-role 
login-config 

auth-methodBASIC/auth-method 
realm-nameTest Realm/realm-name 
/login-config 

4. created a jboss-web.xml file in side web-inf and made an entry of 
jboss-web 
security-domainjava:/jaas/myweb-console/security-domain 
/jboss-web 

5. when i am trying to deploy and run the application on jboss it is prompting 
for user name and password. 

6.i have changed the boss-4.2.0.GA\server\default\conf\login-config.xml file . 
added : 
application-policy name = myweb-console 

login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule 
flag = required 

module-option 
name=usersPropertiesweb-console-users.properties/module-option 
module-option 
name=rolesPropertiesweb-console-roles.properties/module-option 

/login-module 

/application-policy 

when i specify the username and password i am not able to see my index.jsp page 
it is giving me status 401 error authentication. 
my dout is do i need to specify username password of the certificate in any one 
of the property file of jboss if so ... please let me know the formate to 
specify 
tel me weather my approach to secure the webapplication on jboss is correct or 
not 

I am able to access the jboss console using 
https://localhost:8443/ 

when iam trying to access https://localhost:8443/testsecurity 
it is giving error asaying status 401 authentication... 
it should display index.jsp page  
looking forward for ur replies ...Please help if any one has idea about ssl 
security for jboss

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4236275#4236275

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4236275
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-05-22 Thread GajananM
dowload JAXWS patch for JAXWS webservices and run the ant file then u will be 
able to call the client

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232714#4232714

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-05-12 Thread GajananM
Dowload the Jaxws API from 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4230413#4230413
and run the ant as per the instruction.
using this i am able to run the jaxws webservices.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4230416#4230416

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4230416
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Beginner question: Using jBPM from EJB application

2009-04-15 Thread GajananM
hi Ruchika 

i am facing same problem. did u get the solution if yes pls let me know

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4225568#4225568

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4225568
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - java.lang.NoClassDefFoundError: org/jboss/util/id/SerialVers

2009-04-07 Thread GajananM
I am using jbpm-bpel-1.1.GA with JBOSS 4.2.0. i am getting the console. but 
whenever i am trying to build the sample application helloword through ant i am 
getting the error Build failed and  i am also using JWSDP1.6.
is there any setting is missing in my setup?

Stacktrace:
2009-04-08 09:23:32,222 DEBUG [org.jbpm.bpel.xml.DeploymentDescriptorWriter] 
registered catalog writer: 
catalog=org.jbpm.bpel.integration.catalog.CentralCatalog, 
class=org.jbpm.bpel.xml.CentralCatalogWriter
2009-04-08 09:23:32,222 DEBUG [org.jbpm.bpel.tools.WsdlServiceTool] wrote 
deployment descriptor: bpel-deployment.xml
2009-04-08 09:23:32,237 DEBUG [org.jbpm.bpel.tools.WscompileTool] wrote 
configuration: wscompile25578.xml
2009-04-08 09:23:32,237 DEBUG [org.jbpm.bpel.tools.WscompileTool] using 
classpath: 
D:\jboss-4.2.0.GA\lib\jboss-jaxrpc.jar;D:\jboss-4.2.0.GA\server\default\lib\jboss-saaj.jar
2009-04-08 09:23:33,878 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbpm-bpel].[deploymentServlet]]
 Servlet.service() for servlet deploymentServlet threw exception
java.lang.NoClassDefFoundError: org/jboss/util/id/SerialVersion
at javax.xml.rpc.JAXRPCException.(JAXRPCException.java:36)
at 
com.sun.xml.rpc.wsdl.framework.AbstractDocument.find(AbstractDocument.java:136)
at 
com.sun.xml.rpc.wsdl.document.WSDLDocument$GloballyValidatingAction.perform(WSDLDocument.java:151)
at 
com.sun.xml.rpc.wsdl.document.MessagePart.withAllEntityReferencesDo(MessagePart.java:80)
at 
com.sun.xml.rpc.wsdl.document.WSDLDocument$GloballyValidatingAction.perform(WSDLDocument.java:140)
at 
com.sun.xml.rpc.wsdl.document.Message.withAllSubEntitiesDo(Message.java:81)
at 
com.sun.xml.rpc.wsdl.document.WSDLDocument$GloballyValidatingAction.perform(WSDLDocument.java:141)
at 
com.sun.xml.rpc.wsdl.document.Definitions.withAllSubEntitiesDo(Definitions.java:149)
at 
com.sun.xml.rpc.wsdl.document.WSDLDocument$GloballyValidatingAction.perform(WSDLDocument.java:141)
at 
com.sun.xml.rpc.wsdl.framework.AbstractDocument.withAllSubEntitiesDo(AbstractDocument.java:86)
at 
com.sun.xml.rpc.wsdl.document.WSDLDocument.validate(WSDLDocument.java:116)
at 
com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:226)
at 
com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
at 
org.jbpm.bpel.tools.WscompileTool.callWscompile(WscompileTool.java:215)
at 
org.jbpm.bpel.tools.WscompileTool.generateJavaMappingImpl(WscompileTool.java:156)
at 
org.jbpm.bpel.tools.WscompileTool.generateJavaMapping(WscompileTool.java:143)
at 
org.jbpm.bpel.tools.WebModuleBuilder.callJavaMappingTool(WebModuleBuilder.java:264)
at 
org.jbpm.bpel.tools.WebModuleBuilder.buildModuleImpl(WebModuleBuilder.java:102)
at 
org.jbpm.bpel.tools.WebModuleBuilder.buildModule(WebModuleBuilder.java:84)
at 
org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:205)
at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 

[jboss-user] [JBoss jBPM] - NullPointerException in jbpm-bpel-1.1.GA

2009-04-02 Thread GajananM
I am using JBOSS 4.2.0 and jbpm-bpel-1.1.GA with mysql5.0 and jdk1.6

I am getting the console for http://localhost:8080/jbpm-bpel/
but whenever i am going for process defination tab i am getting following 
exception.

stack trace:
org.apache.jasper.JasperException: java.lang.NullPointerException

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:535)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:429)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

java.lang.NullPointerException
org.apache.jsp.processes_jsp._jspService(processes_jsp.java:119)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4223032#4223032

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4223032
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - org.apache.commons.discovery.DiscoveryException: Class org.a

2009-03-30 Thread GajananM
when i am running webservice through axis client in potlet 2.7.1. I am getting 
following error.


stacktrace:




exception 

javax.servlet.ServletException: Servlet execution threw an exception

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

java.lang.ExceptionInInitializerError
org.apache.axis.handlers.BasicHandler.(BasicHandler.java:81)
org.apache.axis.client.Service.getAxisClient(Service.java:140)
org.apache.axis.client.Service.(Service.java:149)

com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanServiceLocator.(PoEndpointBeanServiceLocator.java:12)

com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanProxy._initPoEndpointBeanProxy(PoEndpointBeanProxy.java:18)

com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanProxy.(PoEndpointBeanProxy.java:8)

org.jboss.portal.portlet.samples.SampleClient.service(SampleClient.java:62)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

org.apache.commons.discovery.DiscoveryException: Class 
org.apache.commons.logging.impl.SLF4FLogFactory does not implement 
org.apache.commons.logging.LogFactory

org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180)

org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:202)

org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:196)

org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579)

org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418)

org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84)
java.security.AccessController.doPrivileged(Native Method)

org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:80)
org.apache.axis.components.logger.LogFactory.(LogFactory.java:72)
org.apache.axis.handlers.BasicHandler.(BasicHandler.java:81)
org.apache.axis.client.Service.getAxisClient(Service.java:140)
org.apache.axis.client.Service.(Service.java:149)

com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanServiceLocator.(PoEndpointBeanServiceLocator.java:12)

com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanProxy._initPoEndpointBeanProxy(PoEndpointBeanProxy.java:18)

com.sun.j2ee.blueprints.opc.powebservice.PoEndpointBeanProxy.(PoEndpointBeanProxy.java:8)

org.jboss.portal.portlet.samples.SampleClient.service(SampleClient.java:62)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



thanks in advance


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221836#4221836

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221836
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Getting java.lang.NoSuchMethodError: org.apache.axis.des

2009-03-30 Thread GajananM
Hi Piergiorgio 
thanks for the reply but i tried mywebservice without portlet and its running 
fine.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4222194#4222194

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4222194
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: java.lang.LinkageError: loader constraint violation:(In

2009-03-29 Thread GajananM
thanks for the reply.

i am running same application through simple java project and it is working 
fine but when i created webclient that time i am getting this error.
if it is a library problem then it should not work in java project also bec lib 
are same.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221813#4221813

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221813
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Getting java.lang.NoSuchMethodError: org.apache.axis.descrip

2009-03-29 Thread GajananM
I created one project in portlet.which contain webservice and i am calling 
webservice in one of my servlet class through axis client.and i am passing one 
object to webservice.but i am getting one error whenever i am creating the 
object of PurchaseOrder class and this class is genrated by axis itself.

my client application:

response.setContentType(text/html);
PrintWriter out = response.getWriter();
Activity[] act=null;
PurchaseOrder mypo=null; 
mypo=new PurchaseOrder();
mypo.setEmailId(dsgfd);
mypo.setHeadCount(10);
mypo.setEndDate(234);
mypo.setEndDate(saf);
mypo.setLocale(US);
mypo.setPoId(Gajanan);
mypo.setTotalPrice(235345);
mypo.setUserId(Gajanan);
mypo.setOrderDate(ege);
mypo.setActivities(act);
try{
PoEndpointBeanProxy stub= new PoEndpointBeanProxy();
String ret=stub.submitPurchaseOrder(mypo);
out.println(PID=+ret);
} catch (Exception e) {
 e.printStackTrace();
 System.err.println(e.toString());
 }


Stack trace:
ava.lang.NoSuchMethodError: 
org.apache.axis.description.TypeDesc.(Ljava/lang/Class;Z)V
at 
com.sun.j2ee.blueprints.opc.powebservice.PurchaseOrder.(PurchaseOrder.java:564)
at 
org.jboss.portal.portlet.samples.SampleClient.service(SampleClient.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
10:24:54,698 ERROR [[SampleClient]] Servlet.service() for servlet SampleClient 
threw exception
java.lang.NoSuchMethodError: 
org.apache.axis.description.TypeDesc.(Ljava/lang/Class;Z)V
at 
com.sun.j2ee.blueprints.opc.powebservice.PurchaseOrder.(PurchaseOrder.java:564)
at 
org.jboss.portal.portlet.samples.SampleClient.service(SampleClient.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at 

[jboss-user] [JBoss Portal] - axis +jboss portal Dependancy problem

2009-03-26 Thread GajananM
I am using portlet 2.7. I have one application which contains webservices. and 
i am calling this webservices through axis1.4. my problem is that i am using 
maven to compile the pakage but i am not able to add axis related dependency in 
maven path.

if anyone knows the axis+jbossportal compilation process through maven please 
let me know.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221178#4221178

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221178
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How can i access my own datasource in portlet jsp

2009-03-26 Thread GajananM
thanks vantek
actually i was not updated the mysql_ds.xml file bec of that i got this error. 
now i updated and its working fine.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221179#4221179

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221179
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - How can i access my own datasource in portlet jsp

2009-03-25 Thread GajananM
How can i access my own datasource in potlet jsp page. and is there any mapping 
is require to connect the datasource.

please helpme to resolve this problem.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4220806#4220806

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220806
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How can i access my own datasource in portlet jsp

2009-03-25 Thread GajananM
hi peter i really apperciate for your quick reply.


I am using JNDI lookup for data source in my jsp page
however i am getting NameNotFoundException.
below is my jsp page:

InitialContext ic = new InitialContext();
System.out.println(After initial context);
ds = (DataSource) ic.lookup(jdbc/mysql);

and my web.xml contains:
resource-ref
jdbc/mysql
res-ref-namejdbc/mysql/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
  /resource-ref

stacktrace:
javax.naming.NameNotFoundException: jdbc not bound
10:58:10,718 ERROR [STDERR] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
10:58:10,718 ERROR [STDERR] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
10:58:10,718 ERROR [STDERR] at 
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
10:58:10,718 ERROR [STDERR] at 
org.jnp.server.NamingServer.lookup(NamingServer.java:267)
10:58:10,718 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
10:58:10,718 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
10:58:10,718 ERROR [STDERR] at 
javax.naming.InitialContext.lookup(InitialContext.java:392)
10:58:10,718 ERROR [STDERR] at 
org.apache.jsp.jsp.Adventures_jsp._jspService(Adventures_jsp.java:83)
10:58:10,718 ERROR [STDERR] at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
10:58:10,718 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
10:58:10,718 ERROR [STDERR] at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
10:58:10,718 ERROR [STDERR] at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
10:58:10,718 ERROR [STDERR] at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
10:58:10,718 ERROR [STDERR] at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:58:10,718 ERROR [STDERR] at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
10:58:10,718 ERROR [STDERR] at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
10:58:10,718 ERROR [STDERR] at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
10:58:10,718 ERROR [STDERR] at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
10:58:10,718 ERROR [STDERR] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
10:58:10,718 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
10:58:10,718 ERROR [STDERR] at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
10:58:10,718 ERROR [STDERR] at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
10:58:10,718 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)

thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4221153#4221153

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4221153
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Calling a JSP in a portlet in JBoss Portal

2009-03-24 Thread GajananM
can you please help me on some of the issues i am facing:

1. We have created the portlet for our portal.
2. We are diplaying view.jsp in the portlet.
3. Inside view.jsp there are links to some other jsp pages.
4. But if we click on that links in the portlet it goes to default 
page of JBoss portal.
5. So porblem we are facing is how to make other links to be 
displayed in the same portlet.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4220531#4220531

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4220531
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - java.lang.LinkageError: loader constraint violation:(In JAXW

2009-03-23 Thread GajananM
I created one simple webservice using Jaxws in eclipse and I am using JBOSS5.0 
for deployment. After deploying, wsdl is getting published on server. I could 
create  run a Java POJO client to access the web service successfully, but 
whenever I am creating a web client for the webservice, I am getting errors.

Below code is my webservice client:

XYZService xyzService=new XYZService();
XYZ xyz=xyzService.getXYZPort();
out.println(xyz.sayHello(Welcome));
System.out.println(xyz.sayHello(Welcome));

Webservice:
package com.sun.j2ee.blueprints.opc.powebservice;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;


@WebService(name = XYZ)

@SOAPBinding
   (
 style = SOAPBinding.Style.DOCUMENT,
 use = SOAPBinding.Use.LITERAL,
 parameterStyle = SOAPBinding.ParameterStyle.WRAPPED
)


public class XYZ {

@WebMethod
public String sayHello(@WebParam(name = name)String name)
{
return Patni+name;
}
}

Following is the trace on the server console:

16:04:17,572 ERROR [[Sample]] Servlet.service() for servlet Sample threw 
exception
java.lang.LinkageError: loader constraint violation: when resolving method 
javax.xml.ws.Service.(Ljava/net/URL;Ljavax/xml/namespace/QName;)V the class 
loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the 
current class, com/sun/j2ee/blueprints/opc/powebservice/XYZService, and the 
class loader (instance of ) for resolved class, javax/xml/ws/Service, have 
different Class objects for the type javax/xml/namespace/QName used in the 
signature
at 
com.sun.j2ee.blueprints.opc.powebservice.XYZService.(XYZService.java:41)
at 
com.sun.j2ee.blueprints.opc.powebservice.Sample.service(Sample.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
16:15:40,784 ERROR [[Sample]] Servlet.service() for servlet Sample threw 
exception
java.lang.LinkageError: loader constraint violation: when resolving method 
javax.xml.ws.Service.(Ljava/net/URL;Ljavax/xml/namespace/QName;)V the class 
loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the 
current class, com/sun/j2ee/blueprints/opc/powebservice/XYZService, and the 
class loader (instance of ) for resolved class, javax/xml/ws/Service, have 
different Class objects for the type javax/xml/namespace/QName used in the 
signature
at 
com.sun.j2ee.blueprints.opc.powebservice.XYZService.(XYZService.java:41)
at 
com.sun.j2ee.blueprints.opc.powebservice.Sample.service(Sample.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at