Myfaces+tomhalk with JRun4

We have used myface 1.1.5 and tomhalk 1.1.6 in our
application. We are
using tomcat as servlet container in development enviornment.
Our application is working fine with tomcat.
But we are using JRun4 on production enviorment. So I tried
to deploy our
application on JRun4 without any success.
So now as first step I am trying to deploy
myfaces-example-simple-1.1.7-SNAPSHOT.war in JRun4 .
(I have copied sample applications directory to JRuns
Servers/Myserver directory).
But this application is not working. I have made following
changes in the web.xml of sample application.
1. changed web app dtd from 2_4 to web-app_2_3.dtd.
2. Added listner entry
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
3. Changed *.jsf mapping for Faces Servlet, extensionsFilter
to *.jsp
By above steps, web.xml was read by container but when i
access any jsp
(eg.
http://localhost:8101/myfaces/home.jsp)
stackoverflow error is occuring.
Error log is as follows..
java.lang.StackOverflowError
at
jrun.servlet.ForwardRequest.getParameter(ForwardRequest.java:181)
Have anyone tried using myfaces with JRun4. Or can anyone
give some hint for debugging this error.
regards
prashant

Thank you for help.
I hope to be wrong, but the thread seems to be outdated and not useful today. It states that you can import a jar file from the component palette and that JSC will generate the missing elements for you. In the current version it's impossible to import something that doesn't have a 'comblib' extension (and, of course, selecting 'all files' doesn't solve this).
Is there any way to import them today ?

Similar Messages

  • IIS7 with jrun4 on windows server2008(64 bit)

    Hi,
    I have windows server 2008(64 bit) with jrun4 updater 7 installed. I want to use IIS 7 with these. when i launch webServer configuration to add iis,foll happens:
    1.i get a window with values:host:localhost , server:default , webserver:iis IIS website:greyed out. so i close this and again click on add.
    2.This time webserver is all so i click on ok. i get "ERROR CREATING IIS APPLICATION EXTENSIONS FOR WEBSITE ALL {0}"
    3.when i close the error window and again add the same server i get a new error: "C;\jrun4\lib\wsconfig\1\jrun_iis6_wildcard.dll(the system cannot find the path specified)"
    Please suggest a solution.
    P.S.
    1. i have tried manually configuring external web server by creating foler wsconfig\1 and adding dll/ini file. but it didn't help. Also, in doing this i'm not sure of the proxy ports to use. My jrun.xml says 51000 and i gave the same in bootstrap=127.0.0.1:51000
    2.I have 3 servers in jlauncher: admin,default and samples
    3.when i'm adding the iis server, if i go to advanced settings, there is only a "use application mapping" radio. There is no ISAPI radio.
    Please please help....

    The main difference between the 32-bit and 64-bit versions of ColdFusion is the amount of memory you can allocate to the JVM.  With the 32-bit version, the practical limit is usually somewhere between 1.3GB and 1.8 GB of memory (although getting it close to 1.8GB is usually difficult).  With a 64-bit version of ColdFusion, you can allocate a seemingly unlimited amount of memory to the JVM (although there can be performance issues with allocating too much memory to the JVM).
    -Carl V.

  • Resource Bundle with JRun4 and JDK 1.6

    Hi Everyone
    I have been using ResourceBundle with JDK 1.4 since quite a long. Following is the code snippet to show the way it was being used.
    ResourceBundle.getBundle("com.app.resources.sql\\entry_sql" + Locale.US);This code runs on JRun4 (updater 7). We recently migrated the code to JDK 1.6 with no change in above code. After this, the above code started throwing MissingResourceException.
    If I modify the code like below, it works fine.
    ResourceBundle.getBundle("com.app.resources.sql/entry_sql" + Locale.US);Interestingly, "\\" works well in a stand alone application and fails only when JRun is started as a service or from a command prompt using jrun -start.
    Can someone help me find out the cause? Is this somehow related to new caching technique introduced in JDK 1.6's ResourceBundle or this has to do with JRun4 and updater 7?
    Regards

    This is not related to line.separator. The resource itself does not get loaded if the file.separator used is "\\".
    Moreover, this issue (throwing missing resource exception) pops up only when I upgrade the application to JDK 1.6.
    If application compiled on JDK1.4 is used with JRun4 using JDK1.4, it works fine.

  • How to use MyFaces component with Java Creator 2

    Please advise for me the way to use Myfaces component with Java Creator 2. Thanks

    Apologies for the late reply, but currently what exists generally for MyFaces integration with Creator is on this blog:
    http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries
    You might also want to post the same question on the nbusers alias on netbeans.org, referencing Visual Web Pack
    Regards,
    -Brad Mayer

  • Log HTTP requrest with Jrun4 logs

    Hi,
    I am trying to capture HTTP request with Jrun4 logging. I was
    able to atleast write HTTP request to log file
    (default-access.log), but I am trying change the format of the
    logging. Currently it writes log in following format:
    2008-03-31 10:58:05 default 111.123.234.13 JWS GET
    /myapp/AddPackage HTTP/1.1 500 -1
    What I am trying to accomplish is change format so that JWS
    gets written before the IP addresss or get rid of JWS from above
    log line. Apparently it shows up for all the log entries. So
    basically way I want it to look like it:
    2008-03-31 10:58:05 default 111.123.234.13 GET
    /myapp/AddPackage HTTP/1.1 500 -1
    Any feedback or recommentation on accomplishing this would be
    appreciated.
    Thanks

    user12026694 wrote:
    Solved => typos in generalGood. Please close the topic by marking this question as answered.

  • MyFaces integration with Creator

    I�ve been trying to use MyFaces 1.09 with the last Java Studio Creator without success.
    I was unable to add them to the palette (mails in the MyFaces list state that Creator requires a special structure and descriptor) and unable to use them as libs in the WEB-INF/lib dir (it copies the Sun JSF RI when deploying the application, and that seems to cause problems with the MyFaces implementation. At the same time, as an extra JSC wants to modify my code in the JSP code editor, adding always a form).
    If I add only myfaces-extensions.jar, I get the exception pasted at the end of this email.
    Has anyone integrated MyFaces with JSC in any way? Any comment would be great.
    Thanks in advance,
    -     Juan
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: javax.faces.FacesException
    Assertion Error
    Possible Source of Error:
    Class Name: com.sun.faces.util.Util
    File Name: Util.java
    Method Name: doAssert
    Line Number: 1304
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.faces.util.Util.doAssert(Util.java:1304)com.sun.faces.taglib.jsf_core.ViewTag.getComponentType(ViewTag.java:241)javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1003)javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1026)javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:739)javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
    (and more..)

    Thank you for help.
    I hope to be wrong, but the thread seems to be outdated and not useful today. It states that you can import a jar file from the component palette and that JSC will generate the missing elements for you. In the current version it's impossible to import something that doesn't have a 'comblib' extension (and, of course, selecting 'all files' doesn't solve this).
    Is there any way to import them today ?

  • Problems with Jrun4 updater 6

    A little background to begin. I recommended Jrun to one of
    our clients, a large Jewish university in New York. The reason I
    recommended it was that Jrun has an easy to use utility to setup a
    connector with IIS, wheras other solutions like Tomcat make that
    difficult.
    All we are asking Jrun to do is run a single relatively
    simply Proxy Servlet. In production, we had a lot of problems,
    which at first appeared sort of random several times a day, problem
    being our whole application came to a screaching halt. Our product
    is used by hundreds of fortune 500 companies, and it is a rock
    solid product with 15 years behind it.
    It took us several days to figure out that Jrun was the
    bottle neck, and that Jrun could not handle much more than a couple
    people trying to login at roughly the same time.
    I tried running the Jrun updater 6, which would not run,
    despite following all the instructions in detail, shutting down
    every possibly related service, and running PortQryV2 to be sure
    nothing was running that could interfere. Nothing I could do would
    make the updater run, and worse than that it messed up our original
    installation and can not be rolled back. Apparently it makes some
    environment variable changes, or registry changes, and restoring
    those folders it changes doesn't help much. The error running the
    updater says to make sure the Jrun server is not running, which it
    is not. So, this updater code is very poorly written because it
    can't be rolled back, and it can't tell you what the real problem
    is inorder to get it working.
    Any help would be appreciated.

    The problem with running the Updater was a conflict with an
    Anti Virus program. There should be some instructions included with
    Jrun Updater saying this is a problem, or a specific error message
    when the updater runs indicating this could be a problem, rather
    than the incorrect error saying a Jrun server might be running when
    a Jrun server obviously was not running.
    Hopefully this post will save someone else the frustration.
    Sincerely,
    Joe Paladin

  • Problem with JRUN4 server

    Hi,
    I am trying to use Jrun4 as my app server, when I set everything and tries to go the JSP I wanted I am getting the following message....
    Oops! We couldn't find your document.
    The file that you requested could not be found on this server.
    Can some one help me out.....!!!

    maybe you type wrong thing in browser

  • Does Myfaces work with J2EE 8.1 ? How do i do ?

    Hello people!!
    Well I use J2EE 8.1 and deploytool to deploy and run my web aplications and I would like to make use of myfaces packages. I'm trying puting the ackages in the web-inf /lib but it isn't working.
    Some have any short description how to use it ? Thanks a lot!!!!

    Is Comcast constant guard really necessary? Ask Comcast support to update its products or find another application doing the same instead of downgrading your browser to a version which has known exploits and missing features. But FF8 is available on Mozilla's FTP: ftp://ftp.mozilla.org/pub/firefox/releases/ (turn off autoupdate)

  • Axis2.war not working with JRUN4

    i have deployed axis2.war from the nightly build into JRUN4. I got QName mismatch. I was able to resolve that. Then i get
    09/15 15:07:23 error Could not pre-load servlet: JSPServlet
    java.lang.NoClassDefFoundError
    at jrun.jsp.JSPEngine.initBuiltInTagLibrary(JSPEngine.java:183)
    at jrun.jsp.JSPEngine.<init>(JSPEngine.java:135)
    at jrun.jsp.JSPServlet.init(JSPServlet.java:62)
    at jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1242)
    Thanks

    Buzz BrainWave: Weblogic's StAX implementation is unsupported and some Axiom features will not work as expected!
    blog has solved the issue.
    I believe Apache Axis2 -        Application Server Specific Configuration Guide can also be referred. Anyway my problem is solved by setting
    System.setProperty("javax.xml.stream.XMLInputFactory",  "com.ctc.wstx.stax.WstxInputFactory"); 
    System.setProperty("javax.xml.stream.XMLOutputFactory",  "com.ctc.wstx.stax.WstxOutputFactory"); 
    System.setProperty("javax.xml.stream.XMLEventFactory",  "com.ctc.wstx.stax.WstxEventFactory"); 
    Thanks
    Sanjeev

  • Installing coldfusion with jrun4 and Apache2

    Hi everyone,
    I want to install Cold Fusion 7.02 within Jrun 4 (already
    installed) and with apache 2 (already installed)
    basically I want all my cold fusion files (like cfide and my
    websites) to be in the apache 2 htdocs folder (/opt/apache2/htdocs)
    I am using Solaris 10 (Sparc edition)
    I am unable to find any documentation on how to do this. the
    one good documentation I found places the htdocs somewhere that I
    do not want to use.
    Can anyone point me into the correct area?
    I have already installed cold fusion and created the WAR
    file.
    Thank you
    Luc

    Assume a website name Test1 that is on Apache2 and you want to run it with CF 10 standard and a website name Test2 that is present in IIS which you also want to run with this CF 10 standard.
    So yes, it is possible. Every website that you configure individually with IIS has  a unique folder name (say 1, 2, 3 and so on.)
    You need to run the Web Server Configuration Tool (wsconfig.exe) and add the IIS website/Websites one by one  that you want to add. Every website will run with it's connector files present in the number folder 1,2,3 and so on (C:\ColdFusion10\config\wsconfig)
    After 5th minute in this video the same is happening : https://www.youtube.com/watch?v=iHhSPTmRozM
    Now you will need to run the wsconfig.exe and this time choose Apache and add the connector. Follow this video : http://blogs.coldfusion.com/post.cfm/video-configuring-coldfusion-10-connector-with-apache -virtual-hosts
    HTH
    Thanks
    VJ

  • JRun4 updater 6 with JDK1.6

    When trying to compile a jsp page for the first time, the
    container creates only a .java and .ct file in the WEB-INF/jsp
    directory. Nothing out of the ordinary in the -err, -event, or -out
    logfile.
    This error occured when running JDK1.6.0, I changed to
    JDK1.5.0_11 and everything seems to work OK.
    I am running Windows Server 2003 with JRun4 updater 6 along
    with hotfix 61237 (JRun hanging if a servlet calls another servlet
    in init method) and hotfix 64008 (JSP compilation errors for
    depreciated methods with JDK 1.5)
    Can anybody else confirm this?
    Any ideas?

    JRun is not supported on jdk 1.6.
    Ted Zimmerman

  • Sun RI and MyFaces with JBoss AS

    Hi all,
    I am using JBoss AS and have a JSF application. By default, JBoss bundle MyFaces JSF with Jboss. I have everything working fine with MyFaces. However, I encounter problem when I tried to display the banding for dataTable using Oracle ADF. From my research, it seems ADF table's banding does not work with MyFaces so I want to test out using Sun RI JSF with Jboss. I remove MyFaces jar files and put Sun RI jar file in WEB_INF/lib directory and remove the line in web.xml
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    This is done following Jboss documentation. But when Tomcat starts up, it seems still look for org.apache.myfaces.webapp.StartupServletContextListener class and throw ClassNotFoundException (because I removed myfaces jars). Has anyone benn able switched to use Sun RI in JBoss AS version 4.0.5?
    Thanks a lot,
    LNgo

    Hello Raymond,
    I must say that I downloaded the JBoss Portal Binary and not the bundle JBoss AS + JBoss Portal, because I already had a JBoss AS working, so it was the best way to do it (as it is said in the JBossPortalReferenceGuide). I have both things (server and portal) in the same directory, but I don't know if maybe one of them should contain the other (I have seen that in the bundle, the portal directory contains the JBoss application server) When I downloaded the JBoss Portal and tried to deploy it by directing my web browser to http://localhost:8080/portal it did not work, so I decided to copy the jboss-portal.sar directory from the JBoss Portal to the deploy of my server. Maybe this was a mistake.
    But anyway I have seen that JBoss Portal 2.6 comes with the myfaces jars, and as JBoss AS 4.2 uses Sun RI by default, it is going to collapse anyway. Should I just remove these jars from the portal? As I told you before, I tried doing it and I got two errors of not found classes.
    Please, any help would be really appreciated, I am losing a lot of time with this bug, because the server keeps getting out of memory due to it.
    Thanks in advance.

  • MMS J2ee app made with JBOSS want to use it with JRUN

    Hello fellow developers,
    I am very interested in creating a small website for uploading photos from my cell phone to a j2ee app running on a JRUN 4 server.
    I've downloaded the J2, JSR-212 SAMS Messaging API EJB Reference Implementation, from the nokia site. II also down load an MMSC and SMSC simulator from NOkia, which I believe developers can use in conjunction with testing the above ejb web application.
    Briefly this is what I think is happening so far from reading tid bits here and there like the aritcle in Java Boutique.
    It seems todescribe the SAMS api as being generic enough to accept all clients that supply SPI, which I believe is the interface that verizon, cingular, or that some other cell phone service might provide. This interface allows the forwarding of a text message or media message to another operation ( like yahoo mobile). Thus, when I send my photo to a [email protected], it goes to the MMSC that communicates through SPI say a SAMS J2EE applicaiton running on yahoo, which presents my recently snapped cell phone photo in my yahoo phone album.
    I would like to test this J2ee app I download from nokia. However, in part of the instructions it claims that a person must down load JBOSS 4.0.
    Does any one know if this Nokia J2ee app for JBoss can be used on a JRUN 4?
    Can the NOKIA SMSC/MMSC simulator I downloaded work as well with JRUN4, as I notice the word JBOSS when I was installing this Simulator?
    Does anyone know where, I can get anymore information on SAMS and how to implement it in a simple J2ee app?
    When we can upload a cell phone photofrom the web browser of our phone than we will have arrived!.

    Hello fellow developers,
    I am very interested in creating a small website for uploading photos from my cell phone to a j2ee app running on a JRUN 4 server.
    I've downloaded the J2, JSR-212 SAMS Messaging API EJB Reference Implementation, from the nokia site. II also down load an MMSC and SMSC simulator from NOkia, which I believe developers can use in conjunction with testing the above ejb web application.
    Briefly this is what I think is happening so far from reading tid bits here and there like the aritcle in Java Boutique.
    It seems todescribe the SAMS api as being generic enough to accept all clients that supply SPI, which I believe is the interface that verizon, cingular, or that some other cell phone service might provide. This interface allows the forwarding of a text message or media message to another operation ( like yahoo mobile). Thus, when I send my photo to a myphone#@photo.yahoo.com, it goes to the MMSC that communicates through SPI say a SAMS J2EE applicaiton running on yahoo, which presents my recently snapped cell phone photo in my yahoo phone album.
    I would like to test this J2ee app I download from nokia. However, in part of the instructions it claims that a person must down load JBOSS 4.0.
    Does any one know if this Nokia J2ee app for JBoss can be used on a JRUN 4?
    Can the NOKIA SMSC/MMSC simulator I downloaded work as well with JRUN4, as I notice the word JBOSS when I was installing this Simulator?
    Does anyone know where, I can get anymore information on SAMS and how to implement it in a simple J2ee app?
    When we can upload a cell phone photofrom the web browser of our phone than we will have arrived!.

  • How to use  myfaces  TreeModel.

    I want to create a Tree view using tomhawk t:tree component.
    This component has a value attribute .
    I want to know
    1-How to use the TreeModel for value binding.
    2-Whether we have to use only TreeModel for value binding or any other wrapper class.
    Thanks Kishan Das.

    Apologies for the late reply, but currently what exists generally for MyFaces integration with Creator is on this blog:
    http://wiki.java.net/bin/view/Javatools/CustomComponentLibraries
    You might also want to post the same question on the nbusers alias on netbeans.org, referencing Visual Web Pack
    Regards,
    -Brad Mayer

Maybe you are looking for