Disable username/password authentication while server shutdown

2009-10-15 Thread jithesh

Hi, 

I am using wasce 2.0 as my appserver. I am running it under my wmware
instance. My problem is if I shutdown the wmware instance , the wasce asks
the username and password and waits there. This halts wmware from shutiing
down. Is it possible to disable this feature while shutdown process.

Thanks
JIthesh PM.
-- 
View this message in context: 
http://www.nabble.com/Disable-username-password-authentication-while-server-shutdown-tp25919987s134p25919987.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Support for SSL 3.0

2008-08-28 Thread jithesh

Hi all,

   I am a java web programmer and build a small webapplication which
is hosted in wasce 2.0.0.1. The app is mainly compatible to IE7. Now I found
that the app is supported only to TLS, not  SSL 3.0. How can I enable SSl
3.0.  programatically?

Excuse me if this question is not suitable in this forum..

Thanks 
Jithesh PM
-- 
View this message in context: 
http://www.nabble.com/Support-for-SSL-3.0-tp19198202s134p19198202.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Redeployment Query

2008-07-11 Thread jithesh

Hello Guys..


I am using geronimo 2.0.0.1 (wasce) for hosting my web application.
During each deployment I have to do the following steps.
1. Stop the war file
2. Uninstall the war file
3. then redeploy the new war file.

  My problem is once I do uninstallation my files which are stored by
the application is lost. The new war file does not contain my new files. Is
there any mechanism to prevent  the files from already deployed war file.
That is I should be able to get the extra files after the new war file is
deployed..


Please give your tips on this..

Regards,
Jithesh
-- 
View this message in context: 
http://www.nabble.com/Redeployment-Query-tp18397860s134p18397860.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Redeployment Query

2008-07-11 Thread jithesh

Thanks for your response...

  My actual problem is in my app, the uploaded images and files will
store in the deployed app directory. If I do a deployment with new war file
the already deployed folder will get deleted (The directory where files and
images are stored also). I want to preserve that folder during each
redeployment. Just like a overwriting procedure..

  Will that be doable with thsi approach...


Waiting for your response 
Jithesh
-- 
View this message in context: 
http://www.nabble.com/Redeployment-Query-tp18397860s134p18398404.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo 2.0

2008-01-24 Thread jithesh

Hi ,

Thanks for ur responses...

 I have modified those parts and its not shown any error this time. Here is
the content on the 
 \META-INF\scriptfree.tld.


?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE taglib
PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN
http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd;
taglib
  tlib-version1.0/tlib-version
  jsp-version1.2/jsp-version
  short-namescriptfree/short-name
  urihttp://jakarta.apache.org/taglibs/standard/scriptfree/uri

Thanks ,
Jithesh




djencks wrote:
 
 umm, isn't it fairly clear from the error message?
 
 WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld
 
 Can you tell us if this file starts out with
 
 taglib xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
 http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd;  
 version=2.1
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://java.sun.com/xml/ns/javaee;
 
 or if it uses earlier xmlns or version?
 
 thanks
 david jencks
 
 On Jan 23, 2008, at 10:28 PM, jithesh wrote:
 

 Thanks for your response...

   Will u please provide the file name that i need to modify the text.

 Thanks,
 Jithesh PM



 Jarek Gawor-2 wrote:

 Move the description element to the top of the init-param  
 element.
 For example, change:

 init-param
param-nameallowDeclarations/param-name
param-valuefalse/param-value
descriptionControls whether or not declarations are
 considered valid./description
  /init-param

 to:

 init-param
descriptionControls whether or not declarations are
 considered valid./description
param-nameallowDeclarations/param-name
param-valuefalse/param-value
  /init-param

 Jarek

 On Jan 24, 2008 12:48 AM, jithesh [EMAIL PROTECTED] wrote:

 Hi,

   Thanks for your response.

  Here is my server log description

 15:45:25,078 WARN  [JspModuleBuilderExtension] Invalid  
 transformed taglib
 org.apache.xmlbeans.XmlException: Invalid deployment descriptor:  
 errors:

 D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D: 
 \Program
 Files\IBM\WebSphere\AppServerCommunityEdition\repository\default 
 \securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib 
 \standard.jar!\META-INF\scriptfree.tld:21:7:
 error: cvc-complex-type.2.4b: Element not allowed:
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

 D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D: 
 \Program
 Files\IBM\WebSphere\AppServerCommunityEdition\repository\default 
 \securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib 
 \standard.jar!\META-INF\scriptfree.tld:28:7:
 error: cvc-complex-type.2.4b: Element not allowed:
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

 D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D: 
 \Program
 Files\IBM\WebSphere\AppServerCommunityEdition\repository\default 
 \securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib 
 \standard.jar!\META-INF\scriptfree.tld:35:7:
 error: cvc-complex-type.2.4b: Element not allowed:
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

 Descriptor:
 taglib xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
 http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd;
 version=2.1
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://java.sun.com/xml/ns/javaee;
   descriptionValidates JSP pages to prohibit use of scripting
 elements./description
   tlib-version1.0/tlib-version
   short-namescriptfree/short-name
   urihttp://jakarta.apache.org/taglibs/standard/scriptfree/uri
   validator
 descriptionValidates prohibitions against scripting
 elements./description

 validator-classjavax.servlet.jsp.jstl.tlv.ScriptFreeTLV/ 
 validator-class
 init-param
   param-nameallowDeclarations/param-name
   param-valuefalse/param-value
   descriptionControls whether or not declarations are  
 considered
 valid./description
 /init-param
 init-param
   param-nameallowScriptlets/param-name
   param-valuefalse/param-value
   descriptionControls whether or not scriptlets are considered
 valid./description
 /init-param
 init-param
   param-nameallowExpressions/param-name
   param-valuefalse/param-value
   descriptionControls whether or not top-level expressions are
 considered valid./description
 /init-param
 init-param
   descriptionControls whether or not expressions used to  
 supply
 request-time
 attribute values are considered valid./description
   param-nameallowRTExpressions/param-name
   param-valuefalse/param-value
 /init-param
   /validator
   !--Every TLD needs at least one 'tag' element.  We happily  
 oblige.--
   tag
 descriptionDoes nothing./description
 namenoop/name
 tag

deploying in Geronimo 2.0

2008-01-24 Thread jithesh

Hi,

   Thanks for all ur supports...
 I developed a web application using appfuse 1.9.4 which is deployed on
geronimo 1.1. Recently i planned to upgrade the server to geronimo 2.0. But
while deploying i am getting some errors. 

The following are the errors displayed on the log file. 

 14:52:30,093 INFO  [Configuration] processing foreign key constraints
14:52:30,421 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'securelistener' defined in ServletContext resource
[/WEB-INF/applicationContext-service.xml]: Can't resolve reference to bean
'userDAO' while setting property 'user'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'userDAO' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Can't resolve reference to bean
'sessionFactory' while setting property 'sessionFactory'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed;
nested exception is java.lang.ClassCastException: java.util.HashSet
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'userDAO' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Can't resolve reference to bean
'sessionFactory' while setting property 'sessionFactory'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed;
nested exception is java.lang.ClassCastException: java.util.HashSet
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'sessionFactory' defined in ServletContext resource
[/WEB-INF/applicationContext-hibernate.xml]: Initialization of bean failed;
nested exception is java.lang.ClassCastException: java.util.HashSet
java.lang.ClassCastException: java.util.HashSet
at
org.hibernate.util.PropertiesHelper.resolvePlaceHolders(PropertiesHelper.java:88)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1151)
at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:800)
at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:726)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAuto





Can some one helps me out to resolve this issue.
Thanks and regards,
jithesh PM

-- 
View this message in context: 
http://www.nabble.com/deploying-in-Geronimo-2.0-tp15061695s134p15061695.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo 2.0

2008-01-23 Thread jithesh

Hi,

  Thanks for your response.

 Here is my server log description  

15:45:25,078 WARN  [JspModuleBuilderExtension] Invalid transformed taglib
org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors:

D:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:21:7:
error: cvc-complex-type.2.4b: Element not allowed:
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

D:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:28:7:
error: cvc-complex-type.2.4b: Element not allowed:
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

D:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:35:7:
error: cvc-complex-type.2.4b: Element not allowed:
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

Descriptor:
taglib xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd; version=2.1
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns=http://java.sun.com/xml/ns/javaee;
  descriptionValidates JSP pages to prohibit use of scripting
elements./description
  tlib-version1.0/tlib-version
  short-namescriptfree/short-name
  urihttp://jakarta.apache.org/taglibs/standard/scriptfree/uri
  validator
descriptionValidates prohibitions against scripting
elements./description
   
validator-classjavax.servlet.jsp.jstl.tlv.ScriptFreeTLV/validator-class
init-param
  param-nameallowDeclarations/param-name
  param-valuefalse/param-value
  descriptionControls whether or not declarations are considered
valid./description
/init-param
init-param
  param-nameallowScriptlets/param-name
  param-valuefalse/param-value
  descriptionControls whether or not scriptlets are considered
valid./description
/init-param
init-param
  param-nameallowExpressions/param-name
  param-valuefalse/param-value
  descriptionControls whether or not top-level expressions are
considered valid./description
/init-param
init-param
  descriptionControls whether or not expressions used to supply
request-time
attribute values are considered valid./description
  param-nameallowRTExpressions/param-name
  param-valuefalse/param-value
/init-param
  /validator
  !--Every TLD needs at least one 'tag' element.  We happily oblige.--
  tag
descriptionDoes nothing./description
namenoop/name
tag-classjavax.servlet.jsp.tagext.TagSupport/tag-class
body-contentempty/body-content
  /tag
/taglib

at
org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:223)
at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.convertToTaglibSchema(JspModuleBuilderExtension.java:675)
at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.parseTldFile(JspModuleBuilderExtension.java:433)
at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getListenerClasses(JspModuleBuilderExtension.java:420)
at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:180)
at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:149)
at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension$$FastClassByCGLIB$$1f60ab3b.invoke(generated)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)


Please provide a solution to resolve this

Thanks and regards 
Jithesh PM
-- 
View this message in context: 
http://www.nabble.com/Geronimo-2.0-tp15036324s134p15059152.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo 2.0

2008-01-23 Thread jithesh

Thanks for your response...

  Will u please provide the file name that i need to modify the text.

Thanks,
Jithesh PM



Jarek Gawor-2 wrote:
 
 Move the description element to the top of the init-param element.
 For example, change:
 
 init-param
param-nameallowDeclarations/param-name
param-valuefalse/param-value
descriptionControls whether or not declarations are
 considered valid./description
  /init-param
 
 to:
 
 init-param
descriptionControls whether or not declarations are
 considered valid./description
param-nameallowDeclarations/param-name
param-valuefalse/param-value
  /init-param
 
 Jarek
 
 On Jan 24, 2008 12:48 AM, jithesh [EMAIL PROTECTED] wrote:

 Hi,

   Thanks for your response.

  Here is my server log description

 15:45:25,078 WARN  [JspModuleBuilderExtension] Invalid transformed taglib
 org.apache.xmlbeans.XmlException: Invalid deployment descriptor: errors:

 D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:21:7:
 error: cvc-complex-type.2.4b: Element not allowed:
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

 D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:28:7:
 error: cvc-complex-type.2.4b: Element not allowed:
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

 D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\bin\jar:file:D:\Program
 Files\IBM\WebSphere\AppServerCommunityEdition\repository\default\securedmd\1200996902765\securedmd-1200996902765.war\WEB-INF\lib\standard.jar!\META-INF\scriptfree.tld:35:7:
 error: cvc-complex-type.2.4b: Element not allowed:
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee in element
 [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee

 Descriptor:
 taglib xsi:schemaLocation=http://java.sun.com/xml/ns/javaee
 http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd;
 version=2.1
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns=http://java.sun.com/xml/ns/javaee;
   descriptionValidates JSP pages to prohibit use of scripting
 elements./description
   tlib-version1.0/tlib-version
   short-namescriptfree/short-name
   urihttp://jakarta.apache.org/taglibs/standard/scriptfree/uri
   validator
 descriptionValidates prohibitions against scripting
 elements./description

 validator-classjavax.servlet.jsp.jstl.tlv.ScriptFreeTLV/validator-class
 init-param
   param-nameallowDeclarations/param-name
   param-valuefalse/param-value
   descriptionControls whether or not declarations are considered
 valid./description
 /init-param
 init-param
   param-nameallowScriptlets/param-name
   param-valuefalse/param-value
   descriptionControls whether or not scriptlets are considered
 valid./description
 /init-param
 init-param
   param-nameallowExpressions/param-name
   param-valuefalse/param-value
   descriptionControls whether or not top-level expressions are
 considered valid./description
 /init-param
 init-param
   descriptionControls whether or not expressions used to supply
 request-time
 attribute values are considered valid./description
   param-nameallowRTExpressions/param-name
   param-valuefalse/param-value
 /init-param
   /validator
   !--Every TLD needs at least one 'tag' element.  We happily oblige.--
   tag
 descriptionDoes nothing./description
 namenoop/name
 tag-classjavax.servlet.jsp.tagext.TagSupport/tag-class
 body-contentempty/body-content
   /tag
 /taglib

 at
 org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil.validateDD(XmlBeansUtil.java:223)
 at
 org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.convertToTaglibSchema(JspModuleBuilderExtension.java:675)
 at
 org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.parseTldFile(JspModuleBuilderExtension.java:433)
 at
 org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getListenerClasses(JspModuleBuilderExtension.java:420)
 at
 org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.createJspClassFinder(JspModuleBuilderExtension.java:180)
 at
 org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.addGBeans(JspModuleBuilderExtension.java:149)
 at
 org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension$$FastClassByCGLIB$$1f60ab3b.invoke(generated)
 at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)


 Please provide a solution to resolve this

 Thanks

Geronimo 2.0

2008-01-22 Thread jithesh

Hi guys,

This is my first post in this forum. I was using geronimo 1.1 for
deploying my appfuse(v1.9.4) application. Recently i upgraded the server to
geronimo 2.0. But the application is throwing errors while deploying. My
appfuse application is using taglibrary version 1.0. Would that be a reason
for the errors. 
How can i resolve it?

  I am expecting ur valuable information...

Thanks and regards,
jithesh
-- 
View this message in context: 
http://www.nabble.com/Geronimo-2.0-tp15036324s134p15036324.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.