I am not able to print log in UDF(in Lua) of aerospike.
Logging configuration in conf file of aerospike is:
logging {
console {
context any info
}
file /var/log/aerospike/aerospike.log {
context any info
}
file /var/log/aerospike/lua.log {
context any critical
context aggr debug
context udf debug
context query debug
}
}
Source code for logging-
function filter(topRec)
debug("Hello")
info("Hello")
end
I changed my aerospike.conf to your logging stanza, then registered your module and ran it from AQL.
$ tail -7 /var/log/aerospike/lua.log
Jan 31 2018 17:41:57 GMT: DEBUG (udf): (udf_record.c:73) [ENTER] Opening record key:<Digest>:0x6902655800a8e0b15d7837a293ed11f6d7bb4e8a
Jan 31 2018 17:41:57 GMT: DEBUG (udf): (/opt/aerospike/usr/udf/lua/test.lua:43) Hello
Jan 31 2018 17:41:57 GMT: INFO (udf): (/opt/aerospike/usr/udf/lua/test.lua:44) Hello
Jan 31 2018 17:41:57 GMT: DEBUG (udf): (udf_record.c:246) [ENTER] Closing record key:<Digest>:0x6902655800a8e0b15d7837a293ed11f6d7bb4e8a
Jan 31 2018 17:41:57 GMT: DEBUG (udf): (udf_record.c:374) [ENTER] NumUpdates(0)
Jan 31 2018 17:41:57 GMT: DEBUG (udf): (udf_record.c:246) [ENTER] Closing record key:<Digest>:0x6902655800a8e0b15d7837a293ed11f6d7bb4e8a
Jan 31 2018 17:41:57 GMT: DEBUG (udf): (udf_record.c:374) [ENTER] NumUpdates(0)
Which version are you using? Did you check the file permissions for those log files - can your server write to them?
Related
Ive been trying to create an apk file for my gluon project. On windows and for windows, the prroject runs perfectly but when in Ubuntu, the commands mvn -Pandroid gluonfx:runagent will run the project but the project wont compile and build.
the error I get keep getting is:
[Wed Jan 04 15:32:35 IST 2023][INFO] We will now compile your code for aarch64-linux-android. This may take some time.[Wed Jan 04 15:33:01 IST 2023][INFO] Additional information: Objectfile should be called com.gluonapplication.mobiletrial1.o but we didn't find that under /mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm[Wed Jan 04 15:33:01 IST 2023][SEVERE] Compiling failed.Check the log files under /mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm/logAnd please check https://docs.gluonhq.com/ for more information.[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 45.283 s[INFO] Finished at: 2023-01-04T15:33:01+05:30[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.15:compile (default-cli) on project mobiletrial1: Compiling failed -> [Help 1]
The log file
[Wed Jan 04 16:48:54 IST 2023][FINE] PB Command for compile: /mnt/c/Java/linux/graalvm-svm-java17-linux-gluon-22.1.0.1-Final/bin/native-image -Djdk.internal.lambda.eagerlyInitialize=false --no-server -H:+SharedLibrary -H:+AddAllCharsets -H:+ReportExceptionStackTraces -H:-DeadlockWatchdogExitOnTimeout -H:DeadlockWatchdogInterval=0 -H:+RemoveSaturatedTypeFlows -H:+ExitAfterRelocatableImageWrite --features=org.graalvm.home.HomeFinderFeature -H:TempDirectory=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm/tmp -H:EnableURLProtocols=http,https --initialize-at-build-time=com.gluonhq.charm.glisten.visual.MaterialDesignIcon -H:ReflectionConfigurationFiles=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm/reflectionconfig-aarch64-android.json -H:JNIConfigurationFiles=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm/jniconfig-aarch64-android.json -H:ResourceConfigurationFiles=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm/resourceconfig-aarch64-android.json -H:-SpawnIsolates -Dsvm.targetArch=aarch64 -H:+ForceNoROSectionRelocations --libc=bionic -H:+UseCAPCache -H:CAPCacheDir=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm/capcache -H:CompilerBackend=lir -H:IncludeResourceBundles=com/sun/javafx/scene/control/skin/resources/controls,com/sun/javafx/scene/control/skin/resources/controls-nt,com.sun.javafx.tk.quantum.QuantumMessagesBundle -Dsvm.platform=org.graalvm.nativeimage.Platform$LINUX_AARCH64 -cp /home/vatsal/.m2/repository/com/gluonhq/substrate/0.0.55/substrate-0.0.55.jar:/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm/tmp/classpathJar.jar com.gluonapplication.MobileTrial1
[Wed Jan 04 16:48:54 IST 2023][FINE] Start process compile...
[Wed Jan 04 16:48:54 IST 2023][FINE] Result for compile: 0
[Wed Jan 04 16:48:54 IST 2023][FINE] Logging process [compile] to file: /mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/log/process-compile-1672831134641.log
[Wed Jan 04 16:48:54 IST 2023][INFO] Additional information: Objectfile should be called com.gluonapplication.mobiletrial1.o but we didn't find that under /mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm
[Wed Jan 04 16:48:54 IST 2023][SEVERE] Compiling failed.
Check the log files under /mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/aarch64-android/gvm/log
And please check https://docs.gluonhq.com/ for more information.
gluonfx log file
Process
=======
compile
Command Line
============
/mnt/c/Java/linux/graalvm-svm-java17-linux-gluon-22.1.0.1-Final/bin/native-image -Djdk.internal.lambda.eagerlyInitialize=false --no-server -H:+SharedLibrary -H:+AddAllCharsets -H:+ReportExceptionStackTraces -H:-DeadlockWatchdogExitOnTimeout -H:DeadlockWatchdogInterval=0 -H:+RemoveSaturatedTypeFlows -H:+ExitAfterRelocatableImageWrite --features=org.graalvm.home.HomeFinderFeature --features=com.gluonhq.substrate.feature.GluonFeature -H:TempDirectory=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/x86_64-linux/gvm/tmp -H:EnableURLProtocols=http,https -H:ReflectionConfigurationFiles=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/x86_64-linux/gvm/reflectionconfig-x86_64-linux.json -H:JNIConfigurationFiles=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/x86_64-linux/gvm/jniconfig-x86_64-linux.json -H:ResourceConfigurationFiles=/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/x86_64-linux/gvm/resourceconfig-x86_64-linux.json -H:IncludeResourceBundles=com/sun/javafx/scene/control/skin/resources/controls,com/sun/javafx/scene/control/skin/resources/controls-nt,com.sun.javafx.tk.quantum.QuantumMessagesBundle -Dsvm.platform=org.graalvm.nativeimage.Platform$LINUX_AMD64 -cp /home/vatsal/.m2/repository/com/gluonhq/substrate/0.0.55/substrate-0.0.55.jar:/mnt/g/Intellij_Projects/MobileTrial1/target/gluonfx/x86_64-linux/gvm/tmp/classpathJar.jar com.gluonapplication.MobileTrial1
Output
======
Result
======
result: 0
I have tried uninstalling and reinstalling ubuntu and wsl and I have tried the same process on Linux and have got the same error.
I have made a file and add it on 08 Jul 2019 14:00:00 +0000
but I wanted to show in Bitbucket repository this timestamp: Mon, 08 Jul 2019 11:42:00 +0000.
so I did:
$ git commit -m"try444" --date="Mon, 08 Jul 2019 11:42:00 +0000"
then after the push the Bitbucket still show:08 Jul 2019 14:00:00 +0000
How to change the hour in Bitbucket server??
I have made a file and add it on 08 Jul 2019 14:00:00 +0000
but I wanted to show in Bitbucket repository this timestamp: Mon, 08 Jul 2019 11:42:00 +0000.
so I did:
$ git commit -m"try444" --date="Mon, 08 Jul 2019 11:42:00 +0000"
$ git commit -m"try444" --date="Mon, 08 Jul 2019 11:42:00 +0000"
Bitbucket still show:08 Jul 2019 14:00:00 +0000
I have started Jenkins on an aws m5.24xlarge instance with 96 vCPU and 384 GiB memory). When starting it, I find myself unable to access it. curl localhost:8080 hangs forever and gets no response. Also, there is no log output.
However, stopping the same instance, changing the instance type to m5.12xlarge (48 vCPU and 192 GiB memory) and running the same configuration again, works.
This is the same for running it via java -jar jenkins.war, by installing it via the docker run jenkins/jenkins... command or by installing it from a ubuntu repo.
Can any of you reproduce that issue? Is there a known maximum number of cores Jenkins can handle or a maximum memory size?
Or is there a starting flag that I can set so it works?
Thanks in advance.
Edit: This is the log output
Running from: /home/ubuntu/jenkins.war
webroot: $user.home/.jenkins
Jul 06, 2018 1:55:38 PM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized #236ms to org.eclipse.jetty.util.log.JavaUtilLog
Jul 06, 2018 1:55:38 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.handler.ContextHandler setContextPath
WARNING: Empty contextPath
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.Server doStart
INFO: jetty-9.4.z-SNAPSHOT, build timestamp: 2017-11-21T21:27:37Z, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: DefaultSessionIdManager workerName=node0
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
INFO: No SessionScavenger set, using defaults
Jul 06, 2018 1:55:39 PM org.eclipse.jetty.server.session.HouseKeeper startScavenging
INFO: Scavenging every 660000ms
Jenkins home directory: /home/ubuntu/.jenkins found at: $user.home/.jenkins
Jul 06, 2018 1:55:40 PM org.eclipse.jetty.server.handler.ContextHandler doStart
INFO: Started w.#644c78d4{/,file:///home/ubuntu/.jenkins/war/,AVAILABLE}{/home/ubuntu/.jenkins/war}
Jul 06, 2018 1:55:40 PM org.eclipse.jetty.server.AbstractConnector doStart
INFO: Started ServerConnector#355e34c7{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
Jul 06, 2018 1:55:40 PM org.eclipse.jetty.server.Server doStart
INFO: Started #1886ms
Jul 06, 2018 1:55:40 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
Jul 06, 2018 1:55:41 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Jul 06, 2018 1:55:41 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Jul 06, 2018 1:55:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Jul 06, 2018 1:55:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Jul 06, 2018 1:55:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Jul 06, 2018 1:55:42 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Jul 06, 2018 1:55:42 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Jul 06, 2018 1:55:43 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext#46ce48b7: display name [Root WebApplicationContext]; startup date [Fri Jul 06 13:55:43 UTC 2018]; root of context hierarchy
Jul 06, 2018 1:55:43 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext#46ce48b7]: org.springframework.beans.factory.support.DefaultListableBeanFactory#454a5ad5
Jul 06, 2018 1:55:43 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory#454a5ad5: defining beans [authenticationManager]; root of factory hierarchy
Jul 06, 2018 1:55:43 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext#37a2b2a7: display name [Root WebApplicationContext]; startup date [Fri Jul 06 13:55:43 UTC 2018]; root of context hierarchy
Jul 06, 2018 1:55:43 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext#37a2b2a7]: org.springframework.beans.factory.support.DefaultListableBeanFactory#74441a6d
Jul 06, 2018 1:55:43 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory#74441a6d: defining beans [filter,legacy]; root of factory hierarchy
Jul 06, 2018 1:55:43 PM jenkins.install.SetupWizard init
INFO:
*************************************************************
*************************************************************
*************************************************************
Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
This may also be found at: /home/ubuntu/.jenkins/secrets/initialAdminPassword
*************************************************************
*************************************************************
*************************************************************
Jul 06, 2018 1:55:46 PM hudson.model.UpdateSite updateData
INFO: Obtained the latest update center data file for UpdateSource default
Jul 06, 2018 1:55:46 PM hudson.model.UpdateSite updateData
INFO: Obtained the latest update center data file for UpdateSource default
Jul 06, 2018 1:55:46 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Jul 06, 2018 1:55:46 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
Jul 06, 2018 1:55:46 PM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
Jul 06, 2018 1:55:46 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 3,968 ms
When I set up my Jenkins master using the windows installer version and attempt to connect to a slave machine using "Launch Jenkins via Java webstart", I can connect the slave server to the master fine with no issues.
However, I'm now required to launch the jenkins Master using "java -jar jenkins.war" so I can see the GUI interface being tested in realtime, but I cannot seem to create a connection to the slave machine this way (when I try to access the url on the slave machine, it says it cannot be displayed).
Is it possible to connect with jenkins while it is being run as a java program? Or is there an alternative method I can use?
EDIT: Below is a copy of the console output when I start jenkins on the console.
C:\Program Files (x86)\Jenkins>java -jar jenkins.war
Running from: C:\Program Files (x86)\Jenkins\jenkins.war
webroot: $user.home/.jenkins
Oct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized #279ms
Oct 11, 2016 3:07:09 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
←[33mOct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
←[0mOct 11, 2016 3:07:09 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Oct 11, 2016 3:07:10 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: C:\Users\user\.jenkins found at: $user.home/.jenkins
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started w.#1aac487{/,file:/C:/Users/user/.jenkins/war/,AVAILABLE}{C:\Us
ers\user\.jenkins\war}
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector#1154ccd{HTTP/1.1}{0.0.0.0:8080}
Oct 11, 2016 3:07:11 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started #1571ms
Oct 11, 2016 3:07:11 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Oct 11, 2016 3:07:11 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Oct 11, 2016 3:07:11 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Oct 11, 2016 3:07:14 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Oct 11, 2016 3:07:15 PM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1
error
INFO: Failed to instantiate optional component hudson.plugins.build_timeout.oper
ations.AbortAndRestartOperation$DescriptorImpl; skipping
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Oct 11, 2016 3:07:16 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Oct 11, 2016 3:07:16 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Oct 11, 2016 3:07:16 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 4 ms
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationCon
text#150b22a: display name [Root WebApplicationContext]; startup date [Tue Oct 1
1 15:07:17 BST 2016]; root of context hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.supp
ort.StaticWebApplicationContext#150b22a]: org.springframework.beans.factory.supp
ort.DefaultListableBeanFactory#1b4a611
Oct 11, 2016 3:07:17 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory#1b4a611: defining beans [authenticationManager]; root
of factory hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationCon
text#10920bb: display name [Root WebApplicationContext]; startup date [Tue Oct 1
1 15:07:17 BST 2016]; root of context hierarchy
Oct 11, 2016 3:07:17 PM org.springframework.context.support.AbstractApplicationC
ontext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.supp
ort.StaticWebApplicationContext#10920bb]: org.springframework.beans.factory.supp
ort.DefaultListableBeanFactory#1403952
Oct 11, 2016 3:07:17 PM org.springframework.beans.factory.support.DefaultListabl
eBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.
DefaultListableBeanFactory#1403952: defining beans [filter,legacy]; root of fact
ory hierarchy
Oct 11, 2016 3:07:17 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 56276
Oct 11, 2016 3:07:17 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Oct 11, 2016 3:07:17 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
I'm trying to learn the Struts2 framework.
I got the HelloWorld example form the site:
`www.vaannila.com/struts/struts-tutorial/struts-tutorial-using-eclipse-1.html
The highlighted code is shown as a warning:
<%#taglib uri="/struts-tags" prefix="s" %>
s:redirect forward="helloWorld"/>
Th warning is given below:
Multiple annotations found at this line:
- Unknown tag (bean:write).
- Unknown tag (bean:write).
I get the same warning in my index.jsp file for the code:
and when i run the tomcat, I get the following in my console. I know my tomcat is running but how do i rectify this?
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.AprLifecycleListener init
**INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32;**
**Jun 13, 2012 1:12:28 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:StrutsExample1' did not find a matching property.**
Jun 13, 2012 1:12:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jun 13, 2012 1:12:28 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jun 13, 2012 1:12:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 735 ms
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 13, 2012 1:12:28 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jun 13, 2012 1:12:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jun 13, 2012 1:12:31 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jun 13, 2012 1:12:31 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2586 ms
<bean:write> is struts 1.x you have to use <s:property> in struts 2.x.
See s:property documentation