Re: Geronimo 2.0

2008-01-23 Thread Kevan Miller


On Jan 23, 2008, at 2:33 AM, jithesh wrote:



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?



Hi Jithesh,
Can you post the exceptions (with their stack traces) that you're  
receiving?


--kevan 


Geronimo and logging to SYSLOG

2008-01-23 Thread Tomasz Mazan

Hi
I've configured my server to send part of logs to SYSLOG. There's quote from
server-log4j.properties

log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender
log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout
log4j.appender.SYSLOG.layout.ConversionPattern=%d{ABSOLUTE} %-6p
[%c{1}.%M:%L] %m%n
log4j.appender.SYSLOG.Threshold=ERROR
log4j.appender.SYSLOG.SyslogHost=localhost
log4j.appender.SYSLOG.Facility=LOCAL7

log4j.logger.mu.app.package=ERROR, SYSLOG

and another appenders works, but that SyslogAppender doesn't. I got properly
configured syslog via /etc/syslog.conf and even it has created destination
file for these logs, but nothing is written to file

Beniamin

-- 
View this message in context: 
http://www.nabble.com/Geronimo-and-logging-to-SYSLOG-tp15043467s134p15043467.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo Deployment goes forever

2008-01-23 Thread gersek

HI Tim ,
I think I am using eclipse plug-in to generate EAR and found following
bug report for Eclipse WTP.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=207826
If there is a plug-in from Geronimo I would like to use.  
This site will not let me upload 20 mb of my workspace.  If you want me to
email or IM the file or ftp some where please send me an email to
[EMAIL PROTECTED]

Thanks
Sekhar



Tim McConnell-2 wrote:
 
 Hi Sekhar, is it the Geronimo Eclipse plugin that is not packaging the EAR 
 correctly ?? Or is it just Eclipse proper not packaging the EAR correctly
 when 
 you try to export your project(s) ?? If you're using the Geronimo Eclipse
 Plugin 
 I'd like to find out why it's not working as it should be. Would you be
 able to 
 email me your workspace (I know you mentioned it was 20mb) ?? Thanks much
 
 
-- 
View this message in context: 
http://www.nabble.com/Geronimo-Deployment-goes-forever-tp14953525s134p15045591.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Strange plug with delivering messages to MDB

2008-01-23 Thread Kevan Miller
Has anybody had a chance to look at Beniamin's problem? I think it  
would be a good idea to understand this issue, before cutting 2.1


If I recall correctly, Beniamin didn't have a test program he could  
share with us. We may need to rig one up. I don't see an MDB test in  
testsuite. Probably something good to add.


I probably won't have a chance to look at this until this weekend...

--kevan

On Jan 17, 2008, at 11:32 AM, Tomasz Mazan wrote:



I got MDB that listens to queue for messages.
This MDB uses ConnectionFactory to get connection to send answer to  
received

message. Destination is gotten from replyTo message's field.

There's quote from my resource adapter's deployment plan:

resourceadapter
resourceadapter-instance
resourceadapter-nameDriversJms/resourceadapter-name
nam:workmanager
xmlns:nam=http://geronimo.apache.org/xml/ns/naming-1.2;

nam:gbean-linkDefaultWorkManager/nam:gbean-link
/nam:workmanager
/resourceadapter-instance
outbound-resourceadapter
connection-definition

connectionfactory-interfacejavax.jms.ConnectionFactory/ 
connectionfactory-interface

connectiondefinition-instance

nameDriversJmsXAConnectionFactory/name
connectionmanager
xa-transaction
transaction-caching /
/xa-transaction
single-pool
max-size10/max-size
			blocking-timeout-milliseconds5000/blocking-timeout- 
milliseconds


select-one-assume-match/
/single-pool
/connectionmanager
/connectiondefinition-instance
/connection-definition
/outbound-resourceadapter
/resourceadapter

My driver (MDB) uses activation config from openejb-jar.xml:
message-driven
ejb-nameDas220JmsDriver/ejb-name
nam:resource-adapter
nam:resource-linkDriversJms/nam:resource-link
/nam:resource-adapter
activation-config
activation-config-property

activation-config-property-namedestination/activation-config- 
property-name


activation-config-property-valueJmsDispatcherDAS220Request/ 
activation-config-property-value

/activation-config-property
activation-config-property

activation-config-property-namedestinationType/activation-config- 
property-name


activation-config-property-valuejavax.jms.Queue/activation-config- 
property-value

/activation-config-property
activation-config-property

activation-config-property-nameacknowledgeMode/activation-config- 
property-name


activation-config-property-valueAuto-acknowledge/activation- 
config-property-value

/activation-config-property 
activation-config-property

activation-config-property-nameInitialRedeliveryDelay/activation- 
config-property-name


activation-config-property-value3/activation-config-property- 
value

/activation-config-property
activation-config-property

activation-config-property-nameMaximumRedeliveries/activation- 
config-property-name


activation-config-property-value/activation-config-property- 
value

/activation-config-property
activation-config-property

activation-config-property-namemaxMessagesPerSessions/activation- 
config-property-name
activation-config-property-value1/activation-config-property- 
value

/activation-config-property 
/activation-config
/message-driven

I set maxMessagesPerSessions because sometimes MDB has to consume more
messages (it depends on currently processed message - it's kind of  
cleaning

queue from messages with lower priority). Now I've disabled this
functionality, but in future it should work, so I don't want to set  
greater

valie for maxMessahesPerSessions.

Where's the problem ?
MDB processes let's say 7-13 messages and don't execute onMessage  

Re: Strange plug with delivering messages to MDB

2008-01-23 Thread Jacek Laskowski
On Jan 23, 2008 6:19 PM, Kevan Miller [EMAIL PROTECTED] wrote:

 I probably won't have a chance to look at this until this weekend...

Me too and that's why I'm quiet lately. Had to finish some other
assignments (cf. openejb).

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl


Geronimo 2 EJB3 Remote Access Example

2008-01-23 Thread xypher

Hi,

I'm relatively new to Geroimo 2 and EJB3. I googled a lot, but I found no
simple example for my request. I'd like to develop an Session Bean and to
access this bean from an remote client over JNDI lookup. Can anybody give my
an simple example or tell my where I can find something like this.

I tried a lot, but I'm not sure what I have to configure in the deployment
descriptors and what is the correct jndi lookup name.

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Geronimo-2-EJB3-Remote-Access-Example-tp15053984s134p15053984.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



How to configure transport to use ssl://localhost:61616

2008-01-23 Thread jklcom99

I'm using Geronimo 1.1.1. 

How do I modify the configuration in Geronimo so that AMQ will listen on
ssl://localhost:61616 instead of the default tcp://localhost:61616?  Or for
that matter adding additional transport connectors that AMQ will listen to?

Thank you


-- 
View this message in context: 
http://www.nabble.com/How-to-configure-transport-to-use-ssl%3A--localhost%3A61616-tp15054001s134p15054001.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.



Re: Geronimo 2 EJB3 Remote Access Example

2008-01-23 Thread Viet Nguyen
There are some sample applications on our wiki. For a session bean
sample, you might want to take a look at this:
http://cwiki.apache.org/GMOxDOC20/very-simple-session-ejb-example.html.

There are other samples there too if you're interested.

Thanks,
Viet

On Jan 23, 2008 5:14 PM, xypher [EMAIL PROTECTED] wrote:

 Hi,

 I'm relatively new to Geroimo 2 and EJB3. I googled a lot, but I found no
 simple example for my request. I'd like to develop an Session Bean and to
 access this bean from an remote client over JNDI lookup. Can anybody give my
 an simple example or tell my where I can find something like this.

 I tried a lot, but I'm not sure what I have to configure in the deployment
 descriptors and what is the correct jndi lookup name.

 Thanks.
 --
 View this message in context: 
 http://www.nabble.com/Geronimo-2-EJB3-Remote-Access-Example-tp15053984s134p15053984.html
 Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.




Re: How to configure transport to use ssl://localhost:61616

2008-01-23 Thread Kevan Miller


On Jan 23, 2008, at 5:15 PM, jklcom99 wrote:



I'm using Geronimo 1.1.1.

How do I modify the configuration in Geronimo so that AMQ will  
listen on
ssl://localhost:61616 instead of the default tcp://localhost:61616?   
Or for
that matter adding additional transport connectors that AMQ will  
listen to?


The relevant configuration info is in var/config/config.xml. In  
particular:


module name=geronimo/activemq-broker/1.1.1/car
gbean name=ActiveMQ.tcp.default
attribute name=host0.0.0.0/attribute
attribute name=port61616/attribute
/gbean
/module

However, I don't think that ActiveMQ 3.2.1 supported an ssl connector.  
The following does not work for me...


module name=geronimo/activemq-broker/1.1.1/car
gbean name=ActiveMQ.tcp.default
attribute name=protocolssl/attribute
attribute name=host0.0.0.0/attribute
attribute name=port61616/attribute
/gbean
/module

FYI, you could define additional connectors by configuring additional  
gbeans in the activemq module. e.g.:


gbean name=ActiveMQ.mynew.tcp  
class=org.activemq.gbean.ActiveMQConnectorGBean

attribute name=protocoltcp/attribute
attribute name=hostlocalhost/attribute
attribute name=port16161/attribute
reference name=activeMQContainer
nameActiveMQ/name
/reference
/gbean

I see evidence of SSL transport support in ActiveMQ 4. So, you might  
need to look at G 2.0 for this capability.


--kevan


Re: Geronimo 2.0

2008-01-23 Thread Jarek Gawor
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 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 

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 and 

Re: Geronimo 2.0

2008-01-23 Thread David Jencks

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-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.conv 
ertToTaglibSchema(JspModuleBuilderExtension.java:675)

at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.pars 
eTldFile(JspModuleBuilderExtension.java:433)

at
org.apache.geronimo.jasper.deployment.JspModuleBuilderExtension.getL 
istenerClasses(JspModuleBuilderExtension.java:420)

at