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.

Similar Messages

  • 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

  • Link to Url properties problem

    Hello all,
    i am working on link to url UI element.
    the url that i have is larger than that i can put in reference property of link to url UI Element.
    How may i put whole of the url in reference properties of  link to url UI Element without length problem.
    Thanks & Regards.
    Vikash

    workaround:
    create an action and open the link via WINDOW API or with an exit plug
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/1bc575ba064574e10000000a114a6b/content.htm
    regards
    stefan

  • DW CS3 Page Properties problem - I don't have font, repeat  options

    I have been following some online tutorials and they are also in CS3, DW but my page properties layout and options are different within the program.
    Is there something that needs updating/ downloading turning on in an advanced option? I have looked over the web and can find others with the same problem but not a solution.
    Hope you can help.
    The link below at the bottom of the page on the left has a thumb nail of the properties page which matches mine, note no repeat, font and other options are missing compared to others and I imagine yours.
    http://forums.macrumors.com/showthread.php?t=361918
    thanks

    I had the same problem although it was a previous update rather than this one that caused the problem. Just hadn't got round to doing something about it - was using Bing images instead.
    I searched for some answers this morning and seemed like most suggestions were a nuisance to try. Couldn't find 'Preferences button of HTTPS-Everywhere' as suggested above. Decided to check if No Script was blocking it. Sure enough. So problem is solved.
    Thought I'd put it out there in case it helps someone else. Appreciate that people are so helpful on here.

  • 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

  • 10g Struts/ADF: Problem with updating a DataAction

    We have a web application (JSP/Struts/ADF) that we developed using the 10g (build 1542) Struts Page Flow designer. It is a great tool for building the application the first time but when we go to change something, DataActions end up being ignored when the application is run.
    Here is the scenario:
    We have SQL-based VOs which require a paramter at run-time. We use a Struts DataAction to bind the VO SQL query through a custom method in the App Module (AM). This works fine the first time that we create it and run it.
    The problem comes when we want to change the custom method (which was already associated with a DataAction) in the AM and then rebuild and run the app, it looks like the DataAction is not there and we get an error on the DataPage (that the DataAction forwards to) which says that "not all variables bound". We have printlns in the custom method so we know when it is accessed and in the scenario that I pose here, the custom method is not called.
    This has also occurred when we had a DataPage forward to another DataPage and then later we added a DataAction in between. The application continued to forward from the DataPage to the DataPage completely ignoring the DataAction that we added and that can be seen on the Struts diagram.
    The only way that we have been able to work around this issue is to delete the Data Action and the DataPage from the struts diagram and then recreate them under a different name. This seems like it is a bug and I wonder if anyone else has experienced this?
    Is this a known bug which will be fixed in the production release?
    Thanks, Les

    This seems to be related to Bug# 3537056.
    Please contact Worldwide Support and register that you are running into this bug. Unfortunately, the bug doesn't list a workaround at present.
    Once you have correctly set SelectMethod=Cursor and passed the -Djbo.sql92.locktrailer=null runtime parameter to avoid using the FOR UPDATE clause, you hit an issue when the UPDATE statement is issued that our developers are looking into.

  • Struts tag problem when migrating to 7.0 from 5.1

              We currently have an application using struts running on WLS 5.1. When we use the
              application
              on WLS 7.0 and WLE 7.0 we get errors for the tag properties that are not defined
              in the tag
              library. In 5.1 WLS seemed to just ignore them and rewrite them but in 7.0 it
              seems to validate them so we can't actually include regular HTML tags.
              The JSP is:
              ', 'Terms', 600, 800 );">
              <html:img page="/jsp/images/viewbill.gif" width="78" height="19"
              border="0" target="_blank"/>
              </a>
              and the error message we are getting is:
              Parsing of JSP File '/jsp/pages/ViewMyBill.jsp' failed:
              /jsp/pages/ViewMyBill.jsp(40): for tag 'img' handler type 'org.apache.struts.taglib.html.ImgTag'
              has no property 'target'
              probably occurred due to an error in /jsp/pages/ViewMyBill.jsp line 40:
              </a>
              Wed Oct 29 11:21:50 GMT 2003 [Exception in:/jsp/pages/ViewMyBill.jsp] (line 40):
              for
              tag 'img' handler type 'org.apache.struts.taglib.html.ImgTag' has no property
              'target'
              weblogic.servlet.jsp.JspException: (line 40): for tag 'img' handler type 'org.apache.struts.taglib.html.ImgTag'
              has no property 'target' at
              weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:1087) at
              weblogic.servlet.jsp.StandardTagLib.addAllSetters(StandardTagLib.java:960) at
              weblogic.servlet.jsp.StandardTagLib.genericStartBegin(StandardTagLib.java:716)
              at
              weblogic.servlet.jsp.StandardTagLib.processStartTag(StandardTagLib.java:813) at
              weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(JspLexer.java:2652) at
              weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:2013) at
              weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1892) at
              <snip>
              In 5.1 this would result in the following HTML tag:
              <a href="javascript:openBareScrollableWindow( '/selfcare/GoViewMyBill.do',
              'Terms', 600, 800 );">
              <img src="/selfcare/jsp/images/viewbill.gif" height="19"
              width="78" border="0">
              </a>
              The struts.jar is located correctly in the WEB-INF/lib folder as are the tag libraries
              - it's the
              same folder structure for 5.1 and 7.0.
              Any ideas on what's wrong here appreciated.
              Thanks in advance,
              Brian Flannagan
              BT

              In the tld file include 'target' attribute for tag ImgTag.
              thanks,
              Deepak
              "Brian Flannagan" <[email protected]> wrote:
              >
              >We currently have an application using struts running on WLS 5.1. When
              >we use the
              >application
              >on WLS 7.0 and WLE 7.0 we get errors for the tag properties that are
              >not defined
              >in the tag
              >library. In 5.1 WLS seemed to just ignore them and rewrite them but in
              >7.0 it
              >seems to validate them so we can't actually include regular HTML tags.
              >
              >The JSP is:
              > ', 'Terms', 600, 800 );">
              > <html:img page="/jsp/images/viewbill.gif" width="78"
              >height="19"
              >border="0" target="_blank"/>
              > </a>
              >
              >and the error message we are getting is:
              >Parsing of JSP File '/jsp/pages/ViewMyBill.jsp' failed:
              >--------------------------------------------------------------------------------
              > /jsp/pages/ViewMyBill.jsp(40): for tag 'img' handler type 'org.apache.struts.taglib.html.ImgTag'
              >has no property 'target'
              >probably occurred due to an error in /jsp/pages/ViewMyBill.jsp line 40:
              ></a>
              >--------------------------------------------------------------------------------
              >
              >Wed Oct 29 11:21:50 GMT 2003 [Exception in:/jsp/pages/ViewMyBill.jsp]
              >(line 40):
              >for
              >tag 'img' handler type 'org.apache.struts.taglib.html.ImgTag' has no
              >property
              >'target'
              >weblogic.servlet.jsp.JspException: (line 40): for tag 'img' handler type
              >'org.apache.struts.taglib.html.ImgTag'
              >has no property 'target' at
              >weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:1087)
              >at
              >
              >weblogic.servlet.jsp.StandardTagLib.addAllSetters(StandardTagLib.java:960)
              >at
              >
              >weblogic.servlet.jsp.StandardTagLib.genericStartBegin(StandardTagLib.java:716)
              >at
              >weblogic.servlet.jsp.StandardTagLib.processStartTag(StandardTagLib.java:813)
              >at
              >
              >weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(JspLexer.java:2652)
              >at
              >weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:2013) at
              >weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1892) at
              >
              ><snip>
              >
              >
              >In 5.1 this would result in the following HTML tag:
              >
              > <a href="javascript:openBareScrollableWindow( '/selfcare/GoViewMyBill.do',
              >'Terms', 600, 800 );">
              > <img src="/selfcare/jsp/images/viewbill.gif" height="19"
              >width="78" border="0">
              >
              > </a>
              >
              >
              >The struts.jar is located correctly in the WEB-INF/lib folder as are
              >the tag libraries
              >- it's the
              >same folder structure for 5.1 and 7.0.
              >
              >Any ideas on what's wrong here appreciated.
              >
              >Thanks in advance,
              >
              >Brian Flannagan
              >BT
              >

  • Properties problems

    Hi,
    I have a properties file inside my project (within the jar file).
    I can read the properties from this file without problem. However, when I try to write the changed properties, my application will create a new properties file in the same folder as the jar file (outside of the jar-file).
    I use the         props.store(new FileOutputStream("app.properties"),"someheader");Apparently this is not the way to go. Could anyone tell me what ?s the way to go?

    vampke wrote:
    Thank you Chicon. This is what I fearedNothing to fear. A common situation is to have a default properties file in the JAR, but allow it to be superceded by a properties file in the file system.
    Reading from the JAR is easy:
    public Properties load(String path) throws IOException {
        ClassLoader loader = Thread.currentThread().getContextClassLoader();
        InputStream in = loader.getResourceAsStream(path);
        try {
            Properties p = new Properties();
            p.load(in);
            return p;
        } finally {
            in.close();
    }

  • Struts Portlet problem

    Hello,
    I am developing a Struts Portlet, using JDev 10.1.2, and I'm deploying my app to Oracle Enterprise Manager.
    I have a DB Schema from which I created the Business Components for my Portlet.
    In the portlet, I need to display a tree-like Page Menu (pages have sub-pages and so on) in a single JSP that I have already working perfectly (outside Oracle Portal).
    This JSP consists of a series of "a href" links, each link representing a Menu Page, so that when I click on that link, the other portlets (content portlets) would show the selected page's contents.
    The idea here would be to, when I click a link, raise a struts event so that I can set my ViewObject's current row, and then get Portal to refresh the whole page passing the Page_Id as a parameter, so that both the menu portlet and the content portlet would be synchronized.
    The problem is that inside Portal, I can't seem to get the struts app to work:
    It renders the page just fine, but when I click on a link it obviously sets the browser's URL to one that is not relative to the portal - I suppose because i'm setting the URL mannualy on the "a href".
    (Note that I don't have a Form component in my JSP, just a number of links)
    What I need is to find a way to raise a Struts event so that the current row will be set. I'm trying to do it like this:
    < a href="/portal/menuPage.do?&id=<c:out value="${node2.IdPagina}"/>&event=Select">
    The event is raised and the row is set but I'm (obviously) forwarded to
    http://myServer:myPort/portal/menuPage.do?&id=28&event=Select
    Portal doesn't recognize this address and displays a "404 Not Found" message.
    Is there any other way to raise a struts action with links, or at least, without forms and submit buttons? Because raising it like I'm doing forwards me to a wrong URL.
    I read everything I found on Struts Portlets but still haven't found an answer to my problem.
    Any help?
    Rui Leitão

    When constructing links, you have to use the pdk-specific struts tags, for example:
    <pdk-struts-html:link href="/portal/menuPage.do">Also, you need to use the pdk struts tag library:
    <%@ taglib uri="/WEB-INF/pdk-struts-html.tld" prefix="pdk-struts-html" %>Peter

  • Struts: Odd problem with ActionErrors and NullPointerException

    Hello,
    I'm fairly new to Struts, and I'm trying to set up a relatively simple application. I've been running into this problem when trying to validate an ActionForm through the validate() method.
    The validate method call is very simple:
    public ActionErrors validate(
              ActionMapping mapping,
              HttpServletRequest request) {
              ActionErrors errors = super.validate(mapping, request);
              if (!firstName.equals("foo")) {
                   errors.add("firstName", new ActionError("error.firstName"));
              return errors;
         }My problem is that whenever the if-statement evaluates to true, a NullPointerException is thrown when the errors.add() call is excecuted. It seems to me that the problem must somehow be related to the ActionErrors object being null and the add() call failing. However, I have a hard time seeing how this could be the case. Other examples I have looked at seem set up the validate method in the exact same way.
    Now, I have verified and tested the following:
    * the if-statement evaluates properly, meaning that the firstName field is not null
    * the message resource bundle is available, so it couldn't be that it's related to the property not being found in the bundle
    This might be something simple, but I am a bit stumped here, so any help would be greatly appreciated.
    Thanks,
    Morten

    Well, never mind. I just replaced the call to the super constructor with a plain ActionErrors constructor, and then everything worked. Hmmm... so much for blindly copying code you're not entirely sure you understand :)

  • Struts-Config Problem

    An error message told me to post to the forum (I do what I'm told). Mmmmkay - background on what probably caused it - I manually added multiple instances of the same action (with slightly different attributes) and had the forward loop back to the instantiating(?) uix. Figured even if I pulled this off it would be a bad way to do what I was trying to do. I deleted all but one instance of that action in the struts-config, so the xml is again in a valid state. The struts-config diagram still had forwards looping back to the data page so I tried to delete them and I get the error below. n e ways here it goes JDev developers:
    BME-99003: An error occurred, so processing could not continue.
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.bm.diagrammer.track.MoveTracker.addEdgesToImpliedList(MoveTracker.java:372)
         at oracle.bm.diagrammer.track.MoveTracker.<init>(MoveTracker.java:198)
         at oracle.bm.diagrammer.track.SelectionTracker.mousePressed(SelectionTracker.java:788)
         at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:215)
         at oracle.bm.diagrammer.track.SelectionTracker.processEvent(SelectionTracker.java:163)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:349)
         at oracle.bm.diagrammer.BaseDiagramView$2.processEvent(BaseDiagramView.java:689)
         at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2569)
         at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:2734)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3195)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    If further errors occur, you should restart the application.
    Yes I keep getting this error after restart of JDev
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.

    Brian - I think the simplest way to recover from this will be to go to the ViewController/model directory and delete (or rename) the StrutsPageflow.oxd_struts file.
    This will blow away the diagram and a new one will be created when you next open the struts-config.
    You'll loose the diagram layout but the metadata will all be intact

  • Netbeans .properties problem

    Hi, like many users on this forum i see i am having a problem with Netbeans 6.8 and .properties files. All the solutions i have seen posted on this forum and others don't work when i try them i have the culprit file in the Source packages category and i have tried placing it in many categories in Netbeans and directories on my windows 7 computer and have no luck here is the code i have for this
    public static InputStream in;
    public static String servername;
    public static Connection con = null;
    public static String fullname1;
    public String setserver(){
    servername = server_entry.getText();
    String servername2 = servername;
    try {
         Properties prop = new Properties();
    in.getClass().getResourceAsStream("servernames.properties");
    prop.load(in);
    prop.put("database",servername2);
    in.close();
    any help would be appreciated and if you don't want to help or are going to say "figure it out your self" or "do a search someone already found a fix" Don't i searched high and low and found nothing that worked, thanks

    Having never had the problem you express nor seen before in the years I've been on the forum, all I can tell you is the general procedure I go through when I suspect an install problem, and I would definetely suspect an install problem in your case:
    1 - check your logs to see if there are any needed services that are not starting and resolve the problems to enable their loading
    2 - uninstall your software (IDE and Java)
    3 - delete the root folder of each
    4 - edit my environment variables to remove any mention of it or prior versions in my path
    5 - edit my environment variables remove my classpath entry alltogether.
    6 - run a regitry cleaner like CCleaner until no registry errors persist. you'll probably need to run this multiple times.
    (this is not an endorsement for that free product, but I do use it and it does work and it is free.)
    7 - reboot (cold boot)
    8 - download fresh copies of the software (IDE and Java)
    9 - install Java
    10 - reboot
    11 - install IDE
    12 - reboot
    13 - check path environment variable and make any nessisary changes
    14 - check path environment variable and make any nessisary changes
    I have to think your system is messed up some place and your install did not complete or register correctly.

  • Automatic Update - deployment.properties problems with JRE 1.6.0_05

    Hi!
    This is a Automatic Updated daisable problem.
    I have change the update policy values in the registry but still have one more problem:
    I want to deploy JRE 1.6.0_05, in earlier versions ie 1.4 there has been a windows\sun\java\deployment where the initian deployment.properties file is located. But in the 1.6.X ther is no such folder and the deployment.properies file is still "copied" when you start ie "javacpl.exe" . I would like to disable the
    choice "Download JRE automatically" in the javacpl.exe to "Never download..." but the initial choice when the file deployment.properties is created is "alway download..." .
    Am I still save only with the registry key changes, or do I have to change the value in the deployment.properies and if so, where is the "original" copy that copies the file into C:\Document and Settings\[user]\Application data\Sun\Java\Deployment\
    kindly,
    manekin...

    Hey lynchmob,
    Try these steps to correct the problem, you need to be logged in as an administrator:
    1. Go to the group policy editor. You can get they by typing gpedit.msc into the Run dialog.
    2. Navigate to computer configuration->administrative templates->windows components->internet explorer.
    3. Disable "make proxy settings per-machine (rather than per-user)".
    4. Login with the user account and go to Internet Options.
    5. Go to the Connection tab.
    6. Click on the Lan Settings button.
    7. You may notice that the proxy settings are not correct. Change the proxy settings to be whatever is required for your proxy.
    8. Configure Java to use browser proxy settings.
    9. Open the java console.
    10. Set debug level to 5.
    11. Press 'p' to reload proxy settings. Use the trace messages to verify correct proxy settings were loaded.

  • Struts - redirect problem

    I get an error on logon for a web application. I recently switched from 1.0 to 1.1 Struts. The error is illegalStateException: Configuration is frozen. at org.apache.struts.config.ForwardConfig.setRedirect(...). Is there anything special to do in configuration of struts 1.1? Any ideas?
    Thanks.

    usually this error will occur when you are trying to change one action forward's properties thru code whereas it is defined thru struts.config.
    for example if you are defining a action forward named success in struts.config for your logon action bean and you are trying to use like this means you may get that exception.
    forward = mapping.findforward("success");
    forward.setRedirect(true);
    return (forward);
    you cannot programatically change any cofiguration of the things which is defined in struts.config.

  • Struts taglibs problems

    When I try to use an html:link tag (html:link action="/display.do") I get the following error
    java.lang.NoSuchMethodError: oracle.webdb.provider.v2.struts.StrutsUtils.isPortalRequest
    if I look in the pdkjava.jar and pdkstruts.jar I see StrutsUtils but isPortalRequest() is only in the pdkstruts.jar file not pdkjava.jar file. How can I fix this?
    It seems to be a classloader problem loading the wrong class do I need to use a different version of the PDK?
    Message was edited by:
    jgardner16

    Found the problem different pdk versions of the jar files.

Maybe you are looking for

  • Function to fade audio smoothly from one level to another in AS2

    Greetings all. I'm a newcomer to Actionscript programming and trying to modify a Flash site template downloaded from TemplateMonster.com (which is an AS2 template).  I've almost succeeded at what I need to do but have run into a couple of brick walls

  • How do I Re-order photos within Pictures

    I've loaded a lot of photos into a file within Pictures but the photos are.not in the order I wish them to be. I need to able to see the photos to reorder them correctly so I highlight all the photo titles (e.g. image001.jpg, image002,jpeg ...to imag

  • Is it possible to make a Final Cut Template?

    The idea in my head is a little vague right now so suggestions are appreciated. My church is looking to post our sermons online. My goal is to make the workflow process as seemsless and simple (read: volunteer friendly) as possible. The editing will

  • Regarding jdbc data store

    Hi everyone, I created one filestore for storing jms queues , now i want to change that filestore to jdbc store. i configured jdbc store . i have a question we should run any script to create tables in the database, or database admin will takecare of

  • Motion how to create 3d effect with a background and one primary object

    motion how to create 3d effect with a background and one primary object