Apache Roller (or mayb Struts 2) problem on Tomcat 5.5.20 on Debian Etch

Firstly I'm not at all sure whether this is the right forum for asking for help on this issue. People here have been very helpful in the past. If this post is in the wrong place, my apologies and please feel free to move it.
I am trying to install Apache Roller 4.0 on a Debian Etch system that has the Apache Tomcat 5.5 package installed. I am using the Sun Java package as well. You might think the solution to this problem might be better sought in the Apache Roller community or the Debian community. However the problem I am experiencing is a far more general Java problem (I think).
h1. Software versions
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)Tomcat 5.5.20 (Debian Etch package)
Apache Roller 4.0
h1. The error
When I load up the application for the first time, following the Apacher Roller instructions for installation I get a bunch of IllegalAccessExceptions that AFAIK should not happen. An example is in the exception trail below.
h2. Exception trail.
ERROR 2007-12-30 11:31:25,476 StandardWrapperValve:invoke - Servlet.service() for servlet jsp threw exception
Caught OgnlException while setting property 'location' on type 'org.apache.struts2.views.tiles.TilesResult'. - action - file:/vhost/beanlogic.co.uk/roller/WE
B-INF/classes/struts.xml:129:77
        at com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:199)
        at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:342)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:253)
        at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
        at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
        at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
        at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
        at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
        at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
//(there is a large stack trace here which probably not relevant so I cut it out. The caused by is next)
Caused by: Caught OgnlException while setting property 'location' on type 'org.apache.struts2.views.tiles.TilesResult'. - Class: ognl.OgnlRuntime
File: OgnlRuntime.java
Method: invokeMethod
Line: 508 - ognl/OgnlRuntime.java:508:-1
        at com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty(OgnlUtil.java:367)
        at com.opensymphony.xwork2.util.OgnlUtil.setProperties(OgnlUtil.java:76)
        at com.opensymphony.xwork2.ObjectFactory.buildResult(ObjectFactory.java:222)
        at com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:195)
        ... 287 more
Caused by: java.lang.IllegalAccessException: Method [public void org.apache.struts2.dispatcher.StrutsResultSupport.setLocation(java.lang.String)] cannot be a
ccessed.
        at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:508)
        at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:812)
        at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:964)
        at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:75)
        at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:131)
        at com.opensymphony.xwork2.util.OgnlValueStack$ObjectAccessor.setProperty(OgnlValueStack.java:68)
        at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
        at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
        at ognl.SimpleNode.setValue(SimpleNode.java:246)
        at ognl.Ognl.setValue(Ognl.java:476)
        at com.opensymphony.xwork2.util.OgnlUtil.setValue(OgnlUtil.java:186)
        at com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty(OgnlUtil.java:360)
        ... 290 moreAny help would be great.
Cheers
Elwyn

Have you resolved your problem? I am running into the SAME EXACT issues with my application. The only difference is I'm not deploying to webapps/ROOT/; I'm deploying to my own directory based on my WAR file name (webapps/<web_application_name>/WEB-INF....blah blah). If you figured out your problem (believe me, I wish I could be of some help) I would LOVE to hear what you did/figured out.
-C

Similar Messages

  • Apache Process Runner has encountered a problem and needs to close.

    I found a problem in tomcat server
    Apache Process Runner has encountered a problem and needs to close. We are sorry for the inconvenience.
    how can i remove this problem?

    Jim,
    Thanks for all your help.  Sure enough, an MOV file works just fine and I may have tracked down the problem: the video, I'm sure caused from the source tape, lags towards the end-it seemed like every time I scrolled towards the end of the AVI it would crash.  Still seems mighty peculiar that it would crash the system each time.
    Thanks,
    Tim S.

  • Struts tag problems in weblogic 5.1 sp12

              Hello,
              I am deploying a struts application in weblogic 5.1 sp 12. When I load any jsp
              page with a struts tag, e.g. <html:html>, it will throw exceptions as follows:
              Parsing of JSP File '/Feedback.jsp' failed:
              /Feedback.jsp(-1): Error in tag library at: 'bean': error introspecting class:
              'org.apache.struts.taglib.bean.CookieTag': weblogic.servlet.jsp.JspException:
              (line -1): Error in tag library at: 'bean': class org.apache.struts.taglib.bean.CookieTag
              doesn't implement javax.servlet.jsp.tagext.Tag
              probably occurred due to an error in /Feedback.jsp line -1:
              any comment is highly appreciated! I am following the directions posted on apache
              website about instaling struts with weblogic 5.1.
              

              Hello,
              I am deploying a struts application in weblogic 5.1 sp 12. When I load any jsp
              page with a struts tag, e.g. <html:html>, it will throw exceptions as follows:
              Parsing of JSP File '/Feedback.jsp' failed:
              /Feedback.jsp(-1): Error in tag library at: 'bean': error introspecting class:
              'org.apache.struts.taglib.bean.CookieTag': weblogic.servlet.jsp.JspException:
              (line -1): Error in tag library at: 'bean': class org.apache.struts.taglib.bean.CookieTag
              doesn't implement javax.servlet.jsp.tagext.Tag
              probably occurred due to an error in /Feedback.jsp line -1:
              any comment is highly appreciated! I am following the directions posted on apache
              website about instaling struts with weblogic 5.1.
              

  • Hi!pls tell me how can I cancel the files that download,but they can not be downloaded,there maybe a. Problem.

    hi!pls tell me how can I cancel the files that download,but they can not be downloaded,there maybe a. Problem.

    What files, and downloaded from where and by what app?

  • Apache Roller and OC4J

    Hi,
    Has anyone managed to successfully deploy Apache Roller on Oracle Application Server ?
    Thanks,

    Hi,
    Try to start OC4J with the following options:
    java -Djava.ext.dirs=d:\your-axis-libraries\ -jar oc4j.jar

  • Can't print- 27" 2013 iMac-my epson stylus 3800 pro will not print-i updated driver n added printer in syst prefs-When i print the printer queue opens and shows the job as "stopped"-Supply level "information is not available"-maybe part of problem...thx

    I can't print from my  27" late 2013 iMac.  I am using an epson stylus 3800 pro.  I updated driver and added printer in system preferences. When i print the printer queue opens and shows the job as "stopped".  Supply level shows  "information is not available which maybe part of problem...thank you

    The first thing you could try is a reset of the printing system. Please note that this action will remove all printers and scanners from the Printers & Scanners preference pane.
    With the reset complete, unplug the Epson USB cable from the Mac for a minute and then reconnect it. This action should result in the printer being added again to the Mac automatically. If this does happen, then see if you can print again.
    If the printer is not added again automatically, open Printers & Scanners and click the plus button to add the Epson. Once this is done, then see if you can print again.

  • Struts-infoview file for Tomcat

    I'm currently running XIR2SP3 on a Windows server, Tomcat 5.0.27. My Performance Mgmt link thru Infoview was working fine up until today when I received this error in the Tomcat logs:
    Parse Error at line 2 column 16: Document root element "struts-config", must match DOCTYPE root "null".
    I did a little research in the forumtopics and it seems i'm missing a !DOCTYPE parameter in the Struts-InfoView.xml file, but I'm not sure what the entire path should be. My other environments are behaving the same way so any help would be appreciated.
    Thanks, Leah

    Also, when I add the following DOCTYPE to the .xml file:
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
    I then receive this error:
    Parse Error at line 985 column 17: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)".
    Could anyone send me what doctype path they have in their file, if you are running the same setup?  I'm wondering if installing SP4 would correct this as well.  Any thoughts would be appreciated.
    Thanks, Leah

  • Session problems in tomcat 5.0.28

    Even I shutdown the tomcat 5.0.28 server the session variable is still existing and it is showing the old values. What I have to do to disable the old values? Is it the problem with tomcat 5.0.28 or with JSP coding!

    Tomcat serializes sessions to the hard drive when it shutsdown. If you don't want this you have three choices:
    1: you can disable this functionality in the server.xml. Check the documentation.
    2: you could just delete the session.ser file when you shut down tomcat. This file is under work/standalone/{webapp name}
    3: you could close and re-open the browser so that the old jsessionid will not be sent and a new session will be created. The old session will eventually time out.
    The third option is probably the easiest.

  • Problem of Tomcat 4.0

    I'm using Linux with Tomcat 4.0. I found that the counter of session has something wrong. The time counter is not reset when the user access the session.
    I try to use Tomcat 3.2.3 and my programs work fine. Is this the problem of Tomcat 4.0 ? anyone have the same problem ?
    plse, help.

    I'm using Tomcat 4.0 and Linux.
    I have a problem about the session.
    timeout = 600;
    session.setMaxInactiveInterval(timeout);
    ...When the user active the session, the "timeout" should be reset to 600. In fact, the session is still die even the user active the session.
    And this problem does not occurred in Tomcat 3.2.3.
    I guess is the bug of Tomcat 4.0.
    Is anyone use Tomcat 4.0 and Linux. Can anyone help me to check the timer of session is correct or not ?
    Thank you !
    Tomcat 3.2.3 is ok.
    The problem occurred in Tomcat 4.0.1 and 4.0.2.
    Please help !

  • Problems with Tomcat & Eclipse on MacOSX

    Hi everybody. I have a problem with Tomcat and Eclipse. I must make an application with JSF for my dissertation and i even become a new Mac user so i have some problems. I have installed Eclipse 3,3 Europe on Mac OSX 10,4, also I have installed Tomcat 5,5 setting up environment variable and users of Tomcat. Well, when I try to connect them creating a new server in Eclipse and select Tomcat as server and relative folder of origin, the problems begin. When I try to run on server a JSF project(naturally I have imported all the necessary libraries) it give this error to me: Could not load the Tomcat incomplete serveur configuration at /Servers/Tomcat v5.5 serveur at localhost-config.The configurator mau be corrupt or. Reason: Could not load the Tomcat incomplete serveur configuration at /Servers/Tomcat v5.5 serveur at localhost-config.The configurator mau be corrupt or incomplete. On what it can depend? It is possible that is a JRE problem? I do not find the folder jre on my file system(are novice with the mac). Thanks to all.

    This seems like a question that would be better put to an Eclipse forum.

  • Problem in  tomcat. 4.1

    Hi all,
    I have a problem in tomcat.
    I have a Bank a folder in Webapp .
    When i hit url
    http://localhost:8080/bank/index.jsp
    then index page displays.
    When i coped and pasted the Bank folder and renamed it as Bank1 .then when i hit url
    http://localhost:8080/bank1/index.jsp
    I m getting this error .Even though i have made entry in the server.xml.Restarted the server but no luck.
    type Status report
    message /Bank1/index.jsp
    description The requested resource (/Bank1/index.jsp) is not available.
    --------------------------------------------------------------------------------

    looks like t is a java.lang.Throwable and pageContext.handlePageException is expecting a java.lang.Exception
    try
    pageContext.handlePageException(new Exception("myException", t));

  • 6.0sp5 Struts properties problem

    Testing with struts-blank - NO mods.
    ===== SUMMARY
    Struts demos will work with 6.0sp5 - but ONLY if you move message properties
    under the server config/ directory.
    6.0sp5 is prefixing the message resource with SERVER_ROOT/SERVER_ID/config/
    And, it does NOT search the classes directory.
    I've searched EVERYWHERE to try to find where to configure this path prefix.
    It looks like it picks it up from the command line start:
    ./$PRODUCT_BIN -d $PRODUCT_SUBDIR/config
    (obviously can't change that ;-)
    Please note, this is not a permissions problem, checked that already.
    ===== DETAILS
    Solaris 8 Unix, with 12/02 jumbo patch
    Installed from scratch just for testing Struts:
    - 6.0sp5
    - Struts 1.1-b3
    - J2SE 1.4.1.01
    NO errors upon itialization of the struts-config.xml, works fine.
    Getting error:
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunne
    r.java:981) , root cause: javax.servlet.jsp.JspException
    at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:298)
    at jsps.pages._Welcome_jsp._jspService(_Welcome_jsp.java:142)
    deployed (correctly) in directory:
    /web/server/vs2/doc/struts-blank/
    message resource file as deployed:
    /web/server/vs2/doc/struts-blank/WEB-INF/classes/resources/application.propertie
    s
    ran truss on ns-httpd process:
    *** FAILS ***
    1531: stat64("/usr/iplanet/servers_tst/https-www/config/resources/application.
    properties", 0xFB8EDA10) Err#2 ENOENT
    (searches all language/country varients for local - failing)
    moved resource file to:
    /usr/iplanet/servers_tst/https-www/config/resources/application.properties
    ran truss on ns-httpd process:
    *** WORKS ***
    1623: open("/usr/iplanet/servers_tst/https-www/config/resources/application.pr
    operties", O_RDONLY|O_LARGEFILE) = 22
    Happy Struts WORKS! But, would prefer to handle message properties in
    the correct app directories. Is there a way to correct the path?
    Thanks,
    Dan

    Don't do so!
    Just add the path /web/server/vs2/doc/struts-blank/WEB-INF/classes/ to your IWS6 JVM classpath, it is OK forever!!
    As follow:
    Start administer web server-->Select a Server: your server, click manager-->Java-->Configure JVM Attributes-->Add your specifically path(such as ...../WEB-INF/classes/) to the Classpath-->Click OK-->restart webserver.

  • Configure Apache httpd.conf for struts requests

    Hi everyone,
    I am not sure if this is the correct place to ask this question, but I have been struggeling with this for a number of hours over the past few days and can't get it to work. I have a standard Apache2-Tomcat installation on a solaris machine. I have apache configured to talk to Tomcat to mod_jk.so and it wokrs fine for servlets and jsp. Now I have introduced struts to the picture and Apache does not seem to know what to do with the .do requests. I have configured httpd.conf according to a bunch of articles/posts that I have found on the Internet. Here is what a snippet of it looks like:
    # Load mod_jk module
    # Update this patch to match your modules location
    LoadModule   jk_module   libexec/mod_jk.so
    # Declare the module for <IfModule directive>
    #AddModule    mod_jk.c
    # Where to find workers.properties
    # Update this path to match your conf directory locaton (put workers.properties
    next to httpd.conf)
    JkWorkersFile /usr/local/apache2/conf/workers.properties
    # Where to put jk logs
    # Update this path to match your logs directory location (put mod_jk.log next to
    access_log)
    JkLogFile     /usr/local/apache2/logs/mod_jk.log
    # Set the jk log level [debug/error/info]
    JkLogLevel    info
    # Select the log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    # JkOptions indicate to send SSL KEY SIZE,
    JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
    # JkRequestLogFormat set the request format
    JkRequestLogFormat     "%w %V %T"
    # Send everything for context /examples to worker named worker1 (ajp13)
    #JkMount     /examples/* worker1
    JkMount     /*.jsp worker1
    JkMount     /*.do worker1
    JkMount     /ValidationManagement/* worker1
    JkMount     /ActivityTracker/* worker1
    JkMount     /Bars01/* worker1
    JkMount     /Bars02/* worker1
    JkMount         /RMIS/* worker1
    JkMount         /Fars/* worker1
    JkMount         /Training/* worker1
    JkMount         /CoreDBSAP/* worker1
    JkMount         /iul/* worker1
    JkMount         /iul/*.do worker1
    JkMount         /PIForm/* worker1Here is the contents of the workers file:
    # Define 1 real worker using ajp13
    worker.list=worker1
    # Set properties for worker1 (ajp13)
    worker.worker1.type=ajp13
    worker.worker1.host=localhost
    #worker.worker1.host=10.221.13.50
    worker.worker1.port=8009
    worker.worker1.lbfactor=50
    worker.worker1.cachesize=10
    worker.worker1.cache_timeout=600
    worker.worker1.socket_keepalive=1
    worker.worker1.recycle_timeout=300I have also tried thigns like AddHandler jserv-servlet .do which I know shouldn't work since I am using mod_js.so.
    Can anyone help? I am in a crunch as I have to get this out to a client today. Thanks all!
    =======
    Found this in the mod_jk log. So, it looks like it is trying to map to the right JkMount. WTF?
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_jk_uri_worker_map_t::map_uri_to_worker, done without a match
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (459)]: Attempting to map URI '/iul/'
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (483)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 -> /iul/
    [Wed Nov 14 09:34:17 2007]  [mod_jk.c (1689)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet r->notes=2670448 worker=worker1
    [Wed Nov 14 09:34:17 2007]  [jk_worker.c (90)]: Into wc_get_worker_for_name worker1
    [Wed Nov 14 09:34:17 2007]  [jk_worker.c (94)]: wc_get_worker_for_name, done found a worker
    [Wed Nov 14 09:34:17 2007]  [mod_jk.c (472)]: agsp=80 agsn=gwdevweb.amgen.com hostn=gwdevweb.amgen.com shostn=gwdevweb.amgen.com cbsport=0 sport=0
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1741)]: Into jk_worker_t::get_endpoint
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1367)]: Into jk_endpoint_t::service
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (257)]: Into ajp_marshal_into_msgb
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (425)]: ajp_marshal_into_msgb - Done
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (136)]: Into jk_open_socket
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (143)]: jk_open_socket, try to connect socket = 25 to 127.0.0.1:8009
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (159)]: jk_open_socket, after connect ret = 0
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (168)]: jk_open_socket, set TCP_NODELAY to on
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (177)]: jk_open_socket, set SO_KEEPALIVE to on
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (185)]: jk_open_socket, return, sd = 25
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (701)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 25 to 127.0.0.1:8009
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (737)]: sending to ajp13 #3903
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1035)]: ajp_send_request 2: request body to send 0 - request body to resend 0
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (851)]: received from ajp13 #150
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (477)]: ajp_unmarshal_response: status = 302
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (483)]: ajp_unmarshal_response: Number of headers is = 3
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[0] [Location] = [http://gwdevweb.amgen.com/iul/home.do?dept=biofit]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[1] [Content-Type] = [text/html;charset=UTF-8]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[2] [Content-Length] = [0]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (851)]: received from ajp13 #2
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1716)]: Into jk_endpoint_t::done, recycling connection
    [Wed Nov 14 09:34:17 2007] worker1 gwdevweb.amgen.com 0.023557
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (459)]: Attempting to map URI '/iul/home.do'
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (539)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match worker1 -> *.do
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (483)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 -> /iul/
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (539)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match worker1 -> *.doEdited by: nwahlberg on Nov 14, 2007 6:37 AM

    Ok, thanks for clarifying that. But, the poroblem still lies with Apache since that has to handle the incoming HTTP request and then forward that onto something that can handle the processing (in this case the servlet container Tomcat). Just like you have to tell Apache where to send requests to .jsp files, the same has to happen with .do. This piece seems to be working, but after it finds the worker it then doesn't know what to do. Clearly I am missing some setting that I have yet to find.
    Thanks,
    Nik

  • Bug in full screen slide show: Speed-values under 1.0 don't work, they will be zero. Maybe a german problem because of ","?

    I wan't to do a full screen slide show with changing images under one second. But this doesn't work because every value under 1 will be 0. Maybe this is a german problem because we use "," instead of a ".". But I can't use ".", the field doesn't allow this. Is there a workaround or a bugfix?
    Thanks

    With any SSD, step #1: make sure the firmware is current.
    How you clone or install the OS also can differ.
    Linc has a 2008 and 10.8.2 but then I would expect his system to be rock solid. Same cannot be said for more than a few 3,1 owners that... all the issues with power management and panics vanish if they go back or dual boot and keep both, when they use 10.6.8 instead. And of course ML and Lion dropped support for PowerPC code, drivers - a good reason to do a clean install and not carry any older apps, drivers and plugins with the new system.

  • html:select Struts tag problems

    hello
    I've a bean "Profile" in my sessionScope under name "myProfile"
    This bean is defined as
    public class Profile implements java.io.Serializable  {
         private User user;
         private List<Groups> groups;
         private List<Function> function;
         private List<Services> services;
         etc. .-.... getter and setter.....
    }the "services list" is full of data
    now in my jsp I want to print all the services in a select box. I'm using struts so I do
    <html:select property="serviceId">
          <html:options collection="${myProfile.services}" property="idSoc" labelProperty="descrizione" />
                        </html:select>it doesn't works..the console says
    Cannot find bean under name [it.object.Services@16b5518, it.object.Services@19fdafc]
    I've read the documentation.. but I don't understand if in the collection attribute I can put only the name of a bean that identify a collection...
    I can't use EL?
    I try do use a bean:define and to put its name in the collection attribute
    <bean:define id="myBean" value="${myProfile.services}"/>
                   <html:select property="societaId" >
                             <html:options collection="myBean" property="idSoc" labelProperty="descrizione" />
                        </html:select>but it still doesn't work.. it says
    Cannot create iterator for [it.object.Services@16b5518, it.object.Services@19fdafc]
    what the way to solve this problem
    thanks
    martina

    <html:select>
    <html:optionsCollection name = "myProfile"
    property = "services" value ="idSoc" label =
    "descrizione"/>
    /html:select>yes evnafets
    you're right
    this code works!
    but there's a problem. To simplify this post I say I've a bean with a Collection inside that I want to iterate.
    In my real application I've a session bean with another bean inside that contains the Collection. I've one more level (3 levels instead 2)
    whit the code you suggest I can't search inside it...
    I mean over myProfile I've onother bean that contains it and it's in the session
    bean1 -> myProfile -> List of Services
    from the session I can take by name only the "bean1"
    do you know what's the solution in this case?
    I've used some code like this
    <bean:define id="myBean" name="bean1" property="profilo"></bean:define>
    <html:select>
            <html:optionsCollection name = "myBean" property = "services" value ="idSoc" label = "descrizione"/>
    </html:select>it works..as you suggest I can specify only attribute names so I think this is the right way... or?!
    thanks a lot for yor help
    martina

Maybe you are looking for

  • Uploading Excel to Internal Table

    Hi,   Can anyone please look into the code and suggest me the changes in uploading Excel to Internal Table. Code is as below in OnInputProcessing. DATA: event TYPE REF TO CL_HTMLB_EVENT. event = CL_HTMLB_MANAGER=>get_event( runtime->server->request )

  • Horizontal DIV Scroll: Safari vs iPhone

    I need some help ASAP! I coded a very basic website with a horizontal scroll. It works beautifully on Safari, Chrome, Firefox, etc. But for some reason, I can't scroll past about 1400px on any give page in the site with my iPhone, at which point, the

  • Trying to use the fillInStackTrace method

    Hello, The following code generates an error when I try to compile it.   private void divide() throws Exception     try       double a = 50/0;     catch (Exception error)       throw error.fillInStackTrace(); And it's called from:   void jButton1_act

  • TS1388 Garageband has several intermitent problems

    1.  I sometimes can not play many tracks.  Either I can play six tracks (maybe more), or I am just limited to one track.  For  the time being this problem seems to have cleared up. 2.  This morning when starting a new file, when I selected a loop to

  • Issues with Illustrator CS6 and Intuos5

    Hello, I'm fairly new to Adobe CS and I've been running into a few issues. I've used it fairly consistently at work, but I want to branch out and do some graphic design on my own, so I bought a student license and set about teaching myself! Anyway, I