forgot the file .
--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
Ok, never name your attachments error.txt. Lesson learnt. (Sorry for the spam)
Here inline:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException com.gulon.frontend.web.actions.user.RegisterAction.execute(RegisterAction.java:59)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke (
NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke (
Method.java:597)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection (
AopUtils.java:310)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint (
ReflectiveMethodInvocation.java:182)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (
ReflectiveMethodInvocation.java:149)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke (
TransactionInterceptor.java:106)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed (
ReflectiveMethodInvocation.java:171)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke (
JdkDynamicAopProxy.java:204)
$Proxy11.execute(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke (
NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke (
Method.java:597)
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction (
DefaultActionInvocation.java:434)
com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly (
DefaultActionInvocation.java:273)
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocatio
Logs:
[INFO] 2008-07-22 11:08:06,796 - Initializing Spring root WebApplicationContext [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test]]
[INFO] 2008-07-22 11:08:06,796 - Root WebApplicationContext: initialization started [
org.springframework.web.context.ContextLoader]
[INFO] 2008-07-22 11:08:06,921 - Refreshing
org.springframework.web.context.support.XmlWebApplicationContext@(protected)]
[INFO] 2008-07-22 11:08:07,140 - Loading XML bean definitions from ServletContext resource [/WEB-INF/application-context.xml] [
org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,515 - Loading XML bean definitions from class path resource [dao-application-context.xml] [
org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,531 - Loading XML bean definitions from class path resource [datasource-application-context.xml] [
org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,562 - Loading XML bean definitions from class path resource [gulon-application-context.xml] [
org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,578 - Loading XML bean definitions from class path resource [security-application-context.xml] [
org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,906 - Loading XML bean definitions from class path resource [service-application-context.xml] [
org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,921 - Loading XML bean definitions from class path resource [transaction-application-context.xml] [
org.springframework.beans.factory.xml.XmlBeanDefinitionReader]
[INFO] 2008-07-22 11:08:07,984 - Bean factory for application context [
org.springframework.web.context.support.XmlWebApplicationContext@(protected)]
[INFO] 2008-07-22 11:08:08,187 - Loading properties file from class path resource [build.properties] [
org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]
[INFO] 2008-07-22 11:08:08,281 - Selecting AuthenticationEntryPoint for use in ExceptionTranslationFilter [org.springframework.security.config.HttpSecurityConfigPostProcessor]
[INFO] 2008-07-22 11:08:08,281 - Using main configured AuthenticationEntryPoint set to _mainEntryPoint [org.springframework.security.config.HttpSecurityConfigPostProcessor]
[INFO] 2008-07-22 11:08:08,281 - Using bean '_mainEntryPoint' as the entry point. [org.springframework.security.config.HttpSecurityConfigPostProcessor]
[INFO] 2008-07-22 11:08:08,390 - Bean 'jpaDialect' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:08,468 - MLog clients using log4j logging. [com.mchange.v2.log.MLog]
[INFO] 2008-07-22 11:08:08,765 - Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10] [com.mchange.v2.c3p0.C3P0Registry]
[INFO] 2008-07-22 11:08:08,906 - Bean 'defaultDataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:09,031 - Bean '
org.springframework.orm.jpa.vendor.OpenJpaVendorAdapter#8530b8' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:09,078 - Building JPA container EntityManagerFactory for persistence unit 'gulonPersistence' [
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean]
[INFO] 2008-07-22 11:08:09,593 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge0zd7vkha05fzilt2x|6835fb, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass ->
com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge0zd7vkha05fzilt2x|6835fb, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/gulon, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHel
perThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {c3p0.acquire_increment=5, user=******, c3p0.max_statements=0, password=******, c3p0.idle_test_period=100, c3p0.max_size=100, c3p0.min_size=10}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ] [com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource]
[INFO] 2008-07-22 11:08:10,859 - Bean 'entityManagerFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:10,859 - Bean 'entityManagerFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:10,859 - Bean 'transactionManager' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:10,875 - Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:10,875 - Bean '(inner bean)' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:11,031 - Bean '
org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [
org.springframework.web.context.support.XmlWebApplicationContext]
[INFO] 2008-07-22 11:08:11,171 - Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@(protected)
mework.security.providers.dao.DaoAuthenticationProvider#0,org.springframework.security.config.AuthenticationProviderBeanDefinitionParser$AuthenticationProviderCacheResolver#0,projectService,catalogueService,eventService,contextExporter,userService,org.springframework.aop.config.internalAutoProxyCreator,
org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0,transactionManager,jpaDialect]; root of factory hierarchy [
org.springframework.beans.factory.support.DefaultListableBeanFactory]
[INFO] 2008-07-22 11:08:11,609 - Validated configuration attributes [org.springframework.security.intercept.AbstractSecurityInterceptor]
[INFO] 2008-07-22 11:08:11,640 - Setting RememberMeServices on bean _basicAuthenticationFilter [org.springframework.security.config.RememberMeServicesInjectionBeanPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - Checking sorted filter chain: [org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ], org.springframework.security.ui.SessionFixationProtectionFilter[ order=300; ], org.springframework.security.ui.logout.LogoutFilter[ order=400; ], org.springframework.security.ui.webapp.AuthenticationProcessingFilter[ order=800; ], org.springframework.security.ui.basicauth.BasicProcessingFilter[ order=1100; ], org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1200; ], org.springframework.security.ui.rememberme.RememberMeProcessingFilter[ order=1300; ], org.springframework.security.providers.anonymous.AnonymousProcessingFilter[ order=1400; ], org.springframework.security.ui.ExceptionTranslationFilter[ order=1500; ], org.springframework.security.intercept.web.FilterSecurityInterceptor@(protected)]
[INFO] 2008-07-22 11:08:11,656 - Filter chain... [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [0] - org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [1] - org.springframework.security.ui.SessionFixationProtectionFilter[ order=300; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [2] - org.springframework.security.ui.logout.LogoutFilter[ order=400; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [3] - org.springframework.security.ui.webapp.AuthenticationProcessingFilter[ order=800; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [4] - org.springframework.security.ui.basicauth.BasicProcessingFilter[ order=1100; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,656 - [5] - org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1200; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - [6] - org.springframework.security.ui.rememberme.RememberMeProcessingFilter[ order=1300; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - [7] - org.springframework.security.providers.anonymous.AnonymousProcessingFilter[ order=1400; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - [8] - org.springframework.security.ui.ExceptionTranslationFilter[ order=1500; ] [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - [9] - org.springframework.security.intercept.web.FilterSecurityInterceptor@(protected)]
[INFO] 2008-07-22 11:08:11,671 - Checking whether login URL '/login.action' is accessible with your configuration [org.springframework.security.config.FilterChainProxyPostProcessor]
[INFO] 2008-07-22 11:08:11,671 - FilterChainProxy: FilterChainProxy[ UrlMatcher = org.springframework.security.util.AntUrlPathMatcher[requiresLowerCase='true']; Filter Chains: {/**=[org.springframework.security.context.HttpSessionContextIntegrationFilter[ order=200; ], org.springframework.security.ui.SessionFixationProtectionFilter[ order=300; ], org.springframework.security.ui.logout.LogoutFilter[ order=400; ], org.springframework.security.ui.webapp.AuthenticationProcessingFilter[ order=800; ], org.springframework.security.ui.basicauth.BasicProcessingFilter[ order=1100; ], org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter[ order=1200; ], org.springframework.security.ui.rememberme.RememberMeProcessingFilter[ order=1300; ], org.springframework.security.providers.anonymous.AnonymousProcessingFilter[ order=1400; ], org.springframework.security.ui.ExceptionTranslationFilter[ order=1500; ], org.springframework.security.intercept.web.FilterSecurityInterce
ptor@(protected)]
[INFO] 2008-07-22 11:08:11,687 - Root WebApplicationContext: initialization completed in 4891 ms [
org.springframework.web.context.ContextLoader]
[INFO] 2008-07-22 11:08:11,703 - Set web app root system property: 'webapp.root' = [C:\workspace\test\out\] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test]]
[INFO] 2008-07-22 11:08:11,703 - Initializing log4j from [C:\workspace\test\out\WEB-INF\classes\log4j.properties] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/test]]
[INFO] 2008-07-22 11:08:12,125 - Parsing configuration file [struts-default.xml] [
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider]
[INFO] 2008-07-22 11:08:12,328 - Parsing configuration file [struts-plugin.xml] [
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider]
[INFO] 2008-07-22 11:08:12,343 - Parsing configuration file [struts.xml] [
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider]
[INFO] 2008-07-22 11:08:12,359 - Loading global messages from messages [
org.apache.struts2.config.BeanSelectionProvider]
[INFO] 2008-07-22 11:08:12,468 - Initializing Struts-Spring integration... [org.apache.struts2.spring.StrutsSpringObjectFactory]
[INFO] 2008-07-22 11:08:12,468 - Setting autowire strategy to name [
com.opensymphony.xwork2.spring.SpringObjectFactory]
[INFO] 2008-07-22 11:08:12,468 - ... initialized Struts-Spring integration successfully [org.apache.struts2.spring.StrutsSpringObjectFactory]
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Web application deployment descriptor for Gulon -->
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Gulon - Enterprise data management</display-name>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>WEB-INF/classes/log4j.properties</param-value>
</context-param>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>WEB-INF/application-context.xml</param-value>
</context-param>
<context-param>
<param-name>log4j</param-name>
<param-value>log4j.properties</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>
org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
<listener>
<listener-class>
org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<!--listener>
<listener-class>com.gulon.frontend.test.ConnectionTest</listener-class>
</listener-->
<filter>
<filter-name>CharacterEncodingFilter</filter-name>
<filter-class>
org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>
org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<filter>
<filter-name>struts</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter>
<filter-name>ResponseHeaderFilter</filter-name>
<filter-class>com.gulon.frontend.web.filter.ResponseHeaderFilter</filter-class>
<init-param>
<param-name>Cache-Control</param-name>
<param-value>no-store</param-value>
</init-param>
<init-param>
<param-name>Pragma</param-name>
<param-value>no-cache</param-value>
</init-param>
<init-param>
<param-name>Expires</param-name>
<param-value>0</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>ResponseHeaderFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CharacterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>struts</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>/WEB-INF/jsp/index.jsp</welcome-file>
</welcome-file-list>
</web-app>
-------- Original-Nachricht --------
> Datum: Tue, 22 Jul 2008 09:56:05 +0200
> Von: Mendrik@(protected)
> An: "Struts Users Mailing List" <user@(protected)>
> Betreff: Re: Setters not working
> I copied the most relevant pieces into the attached file.
>
> Thanks for your time,
> Andreas!
>
> -------- Original-Nachricht --------
> > Datum: Tue, 22 Jul 2008 09:26:36 +0200
> > Von: "Lukasz Lenart" <lukasz.lenart@(protected)>
> > An: "Struts Users Mailing List" <user@(protected)>
> > Betreff: Re: Setters not working
>
> > Hi,
> >
> > Could you paste here some examples of your code and config?
> >
> >
> > Regards
> > --
> > Lukasz
> > http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
>
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@(protected)
When I disable my transaction manager...the setters suddenly work again.
That's a good point to start digging.
Thanks and dziekuje :)
-------- Original-Nachricht --------
> Datum: Tue, 22 Jul 2008 10:43:36 +0200
> Von: "Lukasz Lenart" <lukasz.lenart@(protected)>
> An: "Struts Users Mailing List" <user@(protected)>
> Betreff: Re: Setters not working
> Hi,
>
> Everything looks ok, try to configure also your actions with Spring
> [1], I had some simmliary problem when I enabled transaction handling
> with Spring, Spring could not inject dependencies because of multiple
> class names or something.
>
> [1] http://struts.apache.org/2.1.2/docs/spring-plugin.html
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
<s:property /> is like out.println(). It is useful for printing
(outputs) some value, but not to store a value.
To store a value in to the value stack (coz this is S2), you may use
<s:set name="" value="" /> where the name attribute indicates the name
of the variable and the value indicates the value to be store. You may
use another attribute 'scope' to tell the scope of the variable. Ref
http://struts.apache.org/2.x/docs/set.html
Ex:
<s:set name="flag" value="true" />
<s:if test="#flag">
<%-- Write your code here --%>
</s:if>
Here as the 'flag' variable is stored in the value stack, to access this
variable you will need to use the variable prefixed with #, like
#variableName
In some cases <s:push /> is useful. Please go through the doc for
<s:push /> which is used to push the current element into the top of the
value stack.
hope this helps.
ManiKanta
Kibo wrote:
> Hi konference
>
> I am already helpless.
> How can I test the property in <s:if tag?
>
> -----------------------------------------------------
> <s:iterator id="comp" value="%{components}">
>
> <s:property value="%{sort}" />
>
> <s:if test='%{#sort eq "PRODUCT"}'>
> OK
> </s:if>
>
> </s:iterator>
>
> ----------------------------------
> Thanks a lot.
>
> -----
> Tomas Jurman
> Czech Republic
>
********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to
Sify Limited and is intended for use only by the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential or exempt from disclosure under applicable law. If this is a
forwarded message, the content of this E-MAIL may not have been sent with
the authority of the Company. If you are not the intended recipient, an
agent of the intended recipient or a person responsible for delivering the
information to the named recipient, you are notified that any use,
distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at admin@(protected)