Servlet mapping problem in Resin, very weird!

ENV: resin 2.1.6 on windows 2000
1, I copied all the files and folders in $resin/doc/java_tut to $resin/webapps
2, I did a little change to $resin/conf/resin.conf
In the old resin.conf, there is a lot about the '/' webapp.
<web-app id='/'>
<classpath id='WEB-INF/classes'
source='WEB-INF/classes'
compile='true'/>
</web-app>
I replaced it just with
<web-app id='/'/>
3, I tested the 'java_tut' webapp
http://localhost:8080/java_tut/servlet/example.servlet.basic.MappingServlet
works well.
http://localhost:8080/java_tut/exact
works well, too.
4, Then I tested the '/' webapp
http://localhost:8080/servlet/example.servlet.basic.MappingServlet
works well.
but
http://localhost:8080/java_tut/exact
returns error code 404
what's the problem?

don't you need to get rid of the java_tut bit?

Similar Messages

  • Images Problem in Firefox -- very weird -- please help!

    Hi all, I need your help here with ideas...
    I have built a site that is 100% Flex, full size.  It uses images in two different ways: Image controls and HTML text.  Both are populated dynamiccally from XML resources.
    In IE, these all work perfectly.  But I get some very weird behavior in Firefox.
    I have a list with a custom item renderer using Images.  When the user clicks on the list, a pop-up Canvas is displayed with the same image and an Text area with htmlText in-line Images. In Firefox, these images do not populate -- neither the table nor inside the text -- but the text shows perfectly, even spaced around where the image would be.
    But elsewhere in the application, I have an Image control populated the same way, except driven by a datagrid selection, and that one WORKS FINE.  I also have other Text areas using htmlText, populated the same way, and the in-line Images work great there in Firefox. 
    What is going on???

    I think I figured it out.
    The slashes in the image paths went the wrong direction. \ in stead of /
    Apparently, this is no problem for IE, but chokes Firefox.  Keep an eye out.

  • Servlet Mapping problem

    hi
    I'm using JSWDK 2.1 and when I put the servlet in WEB_INF/servlets it is working fine..Then I created another subfolder MyServlets in the servlets directory and try to access the servlet by the url
    MyServlets/servlets/ServletDemo and the servlet is not getting mapped.
    Can somebody help me out in this problem..
    Sandeep

    thanx for the reply
    But I've not created that as a separate package..I've
    just created a new folder and put the servlet in to
    that..When I tried to acces that using the new URL it
    says cannot find ..
    Are u getting the problem...will of be great if u
    could help me out
    thanx
    SandeepEither one of two things:
    You created a new context, if your new folder is:
    webapps/MyFolder/
    Or you created a new package, if your new folder is:
    webapps/ROOT/WEB-INF/servlets/MyFolder
    in java, there is a correspondance between subfolders in packages. Learn about package, you'll need it.
    If it the second case, taking for granted that in your setup WEB-INF/servlets/ correspond to WEB-INF/classes/ in Tomcat, you need to put the line:
    package MyFolder; as the first line of code in your class. Then you should be able to access it with a url that looks like:
    /servlet/MyFolder.MyClass
    Hope this helps!
    Patrick

  • Servlets mapping problems

    hi I need help please.
    I've got problems in reaching servlets from a jsp page.
    Here are files:
    jsp1.jsp
    servlet1.java
    servle2.java
    1)I call servlet1 from jsp1 by <form method="post" action="./servlet1 path/servlet1"> (servlet1 is mapped in web.xml )
    then from Servlet1.java I send back the result in request doing:
    getServletConfig().getServletContext().getRequestDispatcher(pageToGo).forward(req,
    resp);(i send back a list of names..)
    everything woks fine.
    2)I need to sort this list of names then I call servlet2,
    <form method="post" action="./servlet2path../servlet2"> (servlet2 is mapped in web.xml )
    I get the result sorted into selvelt2 and send it back in request doing:
    getServletConfig().getServletContext().getRequestDispatcher(pageToGo).forward(req,resp);everything still works fine in the jsp page but at this point I cannot
    reach neither servlet1 nor servlet2 anymore !! Error 404!
    Can anybody help me please?
    many thanks,
    Marco.

    You haven't mapped the servlets properly.
    Looks like you're thinking too much about paths and not enough about URLs.
    The actions you've given will be URLs relative to the given context. Leave off the "./" from servlet1 and remove the "../" from the middle of servlet2. Those don't look right to me.
    These are just two servlets deployed in the same context. Should be easy to do. Just stop thinking about the underlying directory structure.
    %

  • HT4061 iPad app problem ... very weird!

    Recently sold my iPad, 3rd generation, after purchasing the new iPad Air. I did indeed do a reset on the ipad 3 before I sold it. The new owner contacted me and said that it's currently downloading apps and music automatically. These are apps and music that I had purchased. He hasn't downloaded anthing himself. I would have thought that doing a reset would have prevented this from happening. Any suggestions? Thank you!

    This is a known bug ("feature"?) where certain letter combinations are blocked. These blocked combinations are fixed and not related to the dictionary - no way to learn the desired spelling. There is hope that this will be fixed in the 3.0 firmware.

  • A problem with servlet  mapping , using a servlet to produce some chart in

    Hi
    Thank you for reading my post.
    My problem is about using a Chart library which works well in jsf application but it does not works in JSF portlets.
    I think i find the problem but i do not know the solution.
    to use this charting library we should add a servlet to web.xml
    something like :
    <servlet>
    <servlet-name>Jenia internal servlet</servlet-name>
    <servlet-class>org.jenia.faces.util.Servlet</servlet-class>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Jenia internal servlet</servlet-name>
    <url-pattern>/jenia4faces/*</url-pattern>
    </servlet-mapping>
    so , when we try to load a chart , it will make the chart image source
    something like
    http://localhost:28080/Adv/jenia4faces/chart/OAReport.jspBarChart3d_id0.png
    in the above sample , adv is the name of web application which is
    deployed in a servlet container.
    and filter applied to make the chart render-able.
    to use the chart library in jsf portlet , i add the servlet
    description as i did for web application , so i add
    <servlet>
    <servlet-name>Jenia internal servlet</servlet-name>
    <servlet-class>org.jenia.faces.util.Servlet</servlet-class>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Jenia internal servlet</servlet-name>
    <url-pattern>/jenia4faces/*</url-pattern>
    </servlet-mapping>
    to my portlet web.xml file.
    when we have portlet , the url to access that portlet (which indeed is a
    web application) changes
    for example
    url for a sample portlet with same web application name
    will be like
    http:// localhost:28080/pluto/portal/Adv/
    as you can see there are some prefix to web application name in the url
    , but when i use chart component to show
    same chart , it still look for the chart in url like :
    http://localhost:28080/Adv/jenia4faces/chart/OAReport.jspBarChart3d_id0.png
    As you may already sugest , the image will not render because browser is
    looking in wrong place.
    now i
    think if i find some way to map that servlet to correct url
    pattern it will works.
    my question is :
    1-what will be new servlet url pattern ?
    2-is my assumption correct ?
    Thank you very much for reading such a long post

    i wrote an app i.e servlet which would select the data from the database and retrive the data.but i want to send this data to normal java file(which is not a servlet) and i want to display results in the normal java file.
    can any body help this concept........
    send me mail:[email protected]

  • Apple Banned me, because of a very weird problem with my "Factory Unlocked"

    Hi Everybody! Im having a very weird problem with my unlocked iphone 4.
    First of all, i would like to apologize because of my english, is not very good. My native language is Spanish.
    Well.. Im from Mexico, and here we can buy the iphone Unlocked on the Apple Online Store.
    Here's my problem. Apple has exchanged my iphone 3 times.
    I returned the iphone the first time because the screen was totally yellowish, other than that everything was working great!, that was by the end of September.
    On October 20th, i recieved my second iphone, and then a bigger problem started .
    Before i continue, let me give you this information: here in Mexico we have basically 3 cell phone companies
    1.- Telcel
    2.- Movistar
    3.- Unefon
    OK, now on october 20th, i recieved my second iphone, and then procced to activate via itunes using my UNEFON sim card (microsim).
    And every time i tried to activate it, only got this message onscreen:
    http://i148.photobucket.com/albums/s2/jorgelomeli/Screenshot2010-10-29at24915PM. png
    I though something was wrong with my brand new factory unlocked iphone 4.
    I have 4 more simcards from my brothers (they all had iphone 4 too)
    I tried telcel sim card, and i could activate my iphone. Then i insterted the Movistar microsim, and it worked too!! But then when i put the Unefon sim, the itunes logo inmediatly appears on the screen asking to activate on itunes, and when i tried that, the only response i got was the image above saying " The Simcard inserted on this iphone does not appear to be supported"
    Weird thing here is, that, when i put my Unefon sim card on my brothers iphone 4, it worked great! on all of them, internet 3g, phone, wireless , evrything!
    I called apple support, and they exchange the iphone for another one.
    I recieved the third iphone on October 29. Last friday. and guess what? SAME PROBLEM! different serial number, same week production (week 42) but exactly the same message on itunes.
    Very, very frustrated, i called apple again, and after 1 hour with thechnical support, they told me " We are sorry, but we can only offer you, your money back, NO MORE EXCHANGES FOR YOU"
    I said why?... i dont want my money back! i want an UNLOCKED iphone!, but they refuse to give me another iphone.
    When i asked techincal support, why my unefon sim card worked great on all three of my brothers iphone but not on mine, he just told me, "I really dont know, i guess they just got lucky" ****, this answer put all my trust i had on apple products for years, right on the garbage.
    Since they refused to give me another iphone, i accepted my money back, and inmediatly after i finished the call, i asked my brother to buy me one more time an iphone 4 using his name, and his credit card. Now i have to wait until November 8-12 to recieve my new iphone, hoping this time i get a REAL UNLOCKED iphone, and not a partially unlocked iphone.
    btw. i even went to Unefon costumer service and bought a new prepiad line, with a new microsim, just to be 100% sure that this problem is not because of the sim. And again didnt worked on my iphone, but it worked on any of my brothers iphone4.
    Serial numbers of the 3 iphones:
    79039C0U* (this one worked great with Unefon, only problem was yellow screen)
    85042GR4*
    81042FJB*
    What do you suggest me? any info would be really aprecciated
    FYI i also restore 4 times the last iphone and nothing seemed to work, i use 3 different computers, Macbook Pro, iMac, and an Hp with Windows 7, and the same message on all three computers.
    Wierd thing also, one of my brothers bougth an iphone 4 this last week too, but he bought the 16Gb not the 32Gb. His iphone production week is 42 also! and when i put my Unefon sim in his iphone works great!
    I dont know what else i can do, I just need to have faith that my new iphone coming this november will be real unlocked, but what if i'll recieve an iphone and then the same problem?? time for android? just kidding really guys, what can i do? anyone with similar problem like me? i dont wanna use Telcel or Movistar, i wanna use Unefon, and thats why i bought an Unlocked iphone
    btw: jailbreak is not a solution for me, because i always like to use legal software on all my apple products, and because of the warranty.

    According to http://support.apple.com/kb/HT1937, there are two official carriers in Mexico (Movistar and Telcel) and neither carrier offers an unlocked phone.

  • Weird dreamweaver keyboard mapping problem

    weird dreamweaver keyboard mapping problem:
    Hope this solution helps someone out. If you have q's, ask
    and I will try to help.
    I was having a weird problem in dreamweaver... Whenever I was
    in code view and typed "shift+i" to make a capital "I", instead it
    would paste from the clipboard.
    I finally figured out what was happening. I compared the
    menu.xml in my app support folder in the user library to the
    original menu.xml file that was in the application folder. I went
    through until I came across the diff:
    menu.xml in my library/app support folder:
    <!-- Windows Navigation Shortcuts -->
    <shortcut key="Cmd+Ins" name="Copy2" platform=""
    command="if (dw.canClipCopy()) { dw.clipCopy() }"
    domRequired="FALSE" id="DWShortcuts_HTMLSource_Copy2" />
    <shortcut key="Shift+Ins" name="Paste2" platform=""
    command="if (dw.canClipPaste()) { dw.clipPaste() }"
    domRequired="FALSE" id="DWShortcuts_HTMLSource_Paste2" />
    <shortcut key="Shift+Del" name="Cut2" platform=""
    command="if (dw.canClipCut()) { dw.clipCut() }" domRequired="FALSE"
    id="DWShortcuts_HTMLSource_Cut2" />
    orig menu.xml file:
    <!-- Windows Navigation Shortcuts -->
    <shortcut key="Cmd+Ins" name="Copy2" platform=""
    command="if (dw.canClipCopy()) { dw.clipCopy() }"
    domRequired="FALSE" id="DWShortcuts_HTMLSource_Copy2" />
    <shortcut key="Shift+Ins" name="Paste2" platform=""
    command="if (dw.canClipPaste()) { dw.clipPaste() }"
    domRequired="FALSE" id="DWShortcuts_HTMLSource_Paste2" />
    <shortcut key="Shift+Del" name="Cut2" platform=""
    command="if (dw.canClipCut()) { dw.clipCut() }" domRequired="FALSE"
    id="DWShortcuts_HTMLSource_Cut2" />
    There was a diff in the "platform=" tags. The orig stated
    [platform="win"], my config stated [platform=""] (nothing in
    between the ""'s). So, I reset the platform tag to be
    [platform="win"] in my settings and then relaunched dreamweaver. It
    fixed the problem.
    Not sure how this occurred, but it works now.

  • Problems with servlet mapping in 10g AS

    Hi There,
    i have a web application consisting of 2 controller servlets and use url mapping to send requests to the appropriate servlet, but i have a strange issue with 10g where it seems to be alternating between serlvets when handling requests!!!!
    the web.xml is like as follows (with the app having the root context '/app'):
    <servlet>
    <servlet-name>control1</servlet-name>
    <servlet-class>com.package1.class.name</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>control2</servlet-name>
    <servlet-class>com.package2.class.name</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>control2</servlet-name>
    <url-pattern>/special/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>control1</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>
    therefore i'd expect a request like http://domain.name/app/special/content to be handled by the control2 servlet and http://domain.name/app/normal/content or http://domain.name/app/normal/special/content to be handled by the control1 servlet...
    but what seems to happen when requesting http://domain.name/app/special/content oc4j seems to alternate which servlet it passes it to...
    is there any reason why this might be happening (like some app server configuration), as i have other applications that are configured in the same way, and there's no problems with requests going to the wrong servlet.
    many thanks for your help,
    Andy

    In your integration process, define the import parameter under Configurable Parameters category.
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/1f1a5c932d0d19e10000000a114a6b/frameset.htm
    Regards,
    Prateek

  • Very weird problem - audio regions referencing elsewhere

    Hi there,
    One of my projects is behaving VERY weirdly.
    For example, some of my drum regions, in the middle of playing, suddenly click, drop out, and then play flute!
    This is happening to a few of my audio regions. It seems to have something with the fade files, because when I drag the region out or in it sorts the problem out but when I load the project again the problem is back. Also, all of my fades just don't work and whenever I reload the project I have to redo all of the fades?!
    Any ideas??

    It's odd that it only does this going from a video to an Audible.com audio book (Audible.com has it's own DRM which somehow integrates with iTunes, otherwise you have to use Audible's own software to load the audio books. I use iTunes for everything). Going from video to music, and audio podcast or another video seems to work okay. That's why I wondered if it was more of a bug than a physical problem.
    In any event, the store I bought it at has a 30-day no-questions return policy. I've got the 30-day point marked on my calendar just in case!
    I already returned an iPod nano under this policy to upgrade to the video iPod. The nano's battery completely failed on me after about 2 weeks. The store said they had a bunch of nanos with bad batteries.
    Mike

  • Very weird font problem

    I have a very weird and annoying font problem with the left menu bar of iTunes 8.2(23)
    Some but not all menu items are displayed like a mix of Hebrew and unprintable caracters.
    But once the menu item is selected, the font is back to normal !
    The weired thing is that TV Series and Shopping cart menu items are displayed (in French, because the interface is in French) as expected.
    I don't know if it is related, but I have Russian-PC keyboard installed too, Adobe CS4 (which installed Adobe fonts) and my OS interface is in French.

    How did you go about finding this Lucida Grande.ttf? I did a search and didn't find it. I have the same weird font thing in itunes. I recently installed a whack of fonts from another computer. Any help would be appreciated.

  • HELP ME! My computer is posessed! Very weird power problem!!!!

    I am using an iMac - first generation of intel-based iMacs - and I have a very weird powering-on and powering-off problem.
    When I plug my iMac into the wall socket, it starts up on it's own. When I shut it down (using BOTH the apple menu OR the power button), it starts itself right back up. When I put it to sleep, it goes to sleep and then wakes up immediately. It does restart normally, though, so it seems that my iMac simply has a problem with being OFF!
    Help meh! I'd like to save a trip to the Apple Store if I can help it!

    Hello DrackerDesign
    Welcome to Apple Discussions
    {quote:}I am using an iMac - first generation of intel-based iMacs - and I have a very weird powering-on and powering-off problem.{quote}
    Reset the SMC, as per > http://support.apple.com/kb/HT3964
    +1. Shut down the computer.+
    +2. Unplug the computer's power cord.+
    +3. Press and hold the power button for 5 seconds.+
    +4. Release the power button.+
    +5. Attach the computers power cable.+
    +6. Press the power button to turn on the computer.+
    {quote:}When I plug my iMac into the wall socket, it starts up on it's own.{quote}
    It will do that if the box *☐ Start automatically after a power failure* on the Energy Saver preference panel is checked.
    {quote:}When I shut it down (using BOTH the apple menu OR the power button), it starts itself right back up. When I put it to sleep, it goes to sleep and then wakes up immediately. It does restart normally, though, so it seems that my iMac simply has a problem with being OFF!{quote}
    If the SMC and Energy Saver Preference changes do not cure these problems, then you will need to seek service help.
    Dennis

  • Servlet Loading problem

    Hello!
    I have been working with servlets for about 2 years now and have never encountered such a nasty problem before. I just created a test hello.java servlet and I keep getting this error:
    avax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/hello
         org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:388)
         org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:169)
    root cause
    java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
         java.lang.ClassLoader.defineClass1(Native Method)
         java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         java.security.AccessController.doPrivileged(Native Method)
         java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1267)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
         org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:369)
         org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:169)
    1. I've uncommented web.xml in /conf for custom servlet invoker and servlet-mapping for /servlet
    2. I've added custom hello servlet configuration into web.xml in WEB-INF
    3. I've bee googling around and the setclasspath.sh looks fine
    4. when I type 'which java" I get: /usr/java/jdk1.5.0_11/
    5. when I run tomcat I get:
    Using CATALINA_BASE: /home/victor/liferay42
    Using CATALINA_HOME: /home/victor/liferay42
    Using CATALINA_TMPDIR: /home/victor/liferay42/temp
    Using JRE_HOME: /usr/java/jdk1.5.0_11/
    We use liferay4.2 portal but it's Tomcat-based so the same configurations apply.
    Please help, I did all the usual configurations but I still keep getting this error. Weird thing is that I have EXACTLY the same configuration in our production server and servlets get loaded fine there.
    Thank you,
    Victor.

    Problem solved.
    1. Added JAVA_HOME=/usr/java/jdk1.5.0_11/ into my startup.sh (just like on production server)
    2. Made my servlet class 'public' - now this one I should have gotten ... so embarassing :-(
    Victor.

  • A strang problem about Resin database connection pool

    I am a beginner&#65292;hope somebody can help me.
    my web site occured a strange problem after I used the Resin database connection pool instead of
    connecting directly
    the error message as follows:java.lang.IllegalArgumentException: Request cannot be null
    at javax.servlet.ServletRequestWrapper.<init>(ServletRequestWrapper.java:100)
    at javax.servlet.http.HttpServletRequestWrapper.<init>(HttpServletRequestWrapper.java:92)
    at com.caucho.server.connection.RequestAdapter.<init>(RequestAdapter.java:96)
    at com.caucho.server.webapp.DispatchRequest.<init>(DispatchRequest.java:97)
    at com.caucho.server.webapp.IncludeDispatchRequest.<init>(IncludeDispatchRequest.java:77)
    at com.caucho.server.webapp.IncludeDispatchRequest.createDispatch(IncludeDispatchRequest.java:87)
    at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:389)
    at com.caucho.server.webapp.RequestDispatcherImpl.include(RequestDispatcherImpl.java:345)
    at com.caucho.jsp.PageContextImpl.include(PageContextImpl.java:807)
    at _jsp._intro__jsp._jspService(/intro.jsp:60)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
    at com.caucho.jsp.Page.pageservice(Page.java:571)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:155)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:211)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:331)
    at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
    at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
    at java.lang.Thread.run(Thread.java:595)

    <!--
    - Resin 3.0 configuration file.
    -->
    <resin xmlns="http://caucho.com/ns/resin"
    xmlns:resin="http://caucho.com/ns/resin/core">
    <!--
    - Logging configuration for the JDK logging API.
    -->
    <log name='' level='info' path='stdout:' timestamp='[%H:%M:%S.%s] '/>
    <log name='com.caucho.java' level='config' path='stdout:'
    timestamp='[%H:%M:%S.%s] '/>
    <log name='com.caucho.loader' level='config' path='stdout:'
    timestamp='[%H:%M:%S.%s] '/>
    <!--
    - For production sites, change dependency-check-interval to something
    - like 600s, so it only checks for updates every 10 minutes.
    -->
    <dependency-check-interval>2s</dependency-check-interval>
    <!--
    - You can change the compiler to "javac" or jikes.
    - The default is "internal" only because it's the most
    - likely to be available.
    -->
    <javac compiler="internal" args=""/>
    <!-- Security providers.
    - <security-provider>
    - com.sun.net.ssl.internal.ssl.Provider
    - </security-provider>
    -->
    <!--
    - If starting bin/resin as root on Unix, specify the user name
    - and group name for the web server user.
    - <user-name>resin</user-name>
    - <group-name>resin</group-name>
    -->
    <!--
    - Configures threads shared among all HTTP and SRUN ports.
    -->
    <thread-pool>
    <!-- Maximum number of threads. -->
    <thread-max>128</thread-max>
    <!-- Minimum number of spare connection threads. -->
    <spare-thread-min>25</spare-thread-min>
    </thread-pool>
    <!--
    - Configures the minimum free memory allowed before Resin
    - will force a restart.
    -->
    <min-free-memory>1M</min-free-memory>
    <server>
    <!-- adds all .jar files under the resin/lib directory -->
    <class-loader>
    <tree-loader path="$resin-home/lib"/>
    </class-loader>
    <!-- Configures the keepalive -->
    <keepalive-max>500</keepalive-max>
    <keepalive-timeout>120s</keepalive-timeout>
    <!-- The http port -->
    <http server-id="" host="*" port="8080"/>
    <!--
    - SSL port configuration:
    - <http port="8443">
    - <openssl>
    - <certificate-file>keys/gryffindor.crt</certificate-file>
    - <certificate-key-file>keys/gryffindor.key</certificate-key-file>
    - <password>test123</password>
    - </openssl>
    - </http>
    -->
    <!--
    - The local cluster, used for load balancing and distributed
    - backup.
    -->
    <cluster>
    <srun server-id="" host="127.0.0.1" port="6802" index="1"/>
    </cluster>
    <!--
    - Enables/disables exceptions when the browser closes a connection.
    -->
    <ignore-client-disconnect>true</ignore-client-disconnect>
    <!--
    - Enables the cache
    -->
    <cache path="cache" memory-size="10M"/>
    <!--
    - Enables periodic checking of the server status.
    - With JDK 1.5, this will ask the JDK to check for deadlocks.
    - All servers can add <url>s to be checked.
    -->
    <ping>
    <!-- <url>http://localhost:8080/test-ping.jsp</url> -->
    </ping>
    <!--
    - Defaults applied to each web-app.
    -->
    <web-app-default>
    <!--
    - Sets timeout values for cacheable pages, e.g. static pages.
    -->
    <cache-mapping url-pattern="/" expires="5s"/>
    <cache-mapping url-pattern="*.gif" expires="60s"/>
    <cache-mapping url-pattern="*.jpg" expires="60s"/>
    <!--
    - Servlet to use for directory display.
    -->
    <servlet servlet-name="directory"
    servlet-class="com.caucho.servlets.DirectoryServlet"/>
    </web-app-default>
    <!--DataSource jndi configuration-->
    <database>
    <jndi-name>jdbc/artunion</jndi-name>
    <driver type="org.gjt.mm.mysql.Driver">
    <url>jdbc:mysql://localhost:3306/union</url>
    <user>as</user>
    <password>as</password>
    </driver>
    <prepared-statement-cache-size>8</prepared-statement-cache-size>
    <max-connections>20</max-connections>
    <max-idle-time>30s</max-idle-time>
    </database>
    <!--
    - Default host configuration applied to all virtual hosts.
    -->
    <host-default>
    <class-loader>
    <compiling-loader path='webapps/WEB-INF/classes'/>
    <library-loader path='webapps/WEB-INF/lib'/>
    </class-loader>
    <!--
    - With another web server, like Apache, this can be commented out
    - because the web server will log this information.
    -->
    <access-log path='logs/access.log'
    format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
    rollover-period='1W'/>
    <!-- creates the webapps directory for .war expansion -->
    <web-app-deploy path='webapps'/>
    <!-- creates the deploy directory for .ear expansion -->
    <ear-deploy path='deploy'>
    <ear-default>
    <!-- Configure this for the ejb server
    - <ejb-server>
    - <config-directory>WEB-INF</config-directory>
    - <data-source>jdbc/test</data-source>
    - </ejb-server>
    -->
    </ear-default>
    </ear-deploy>
    <!-- creates the deploy directory for .rar expansion -->
    <resource-deploy path='deploy'/>
    <!-- creates a second deploy directory for .war expansion -->
    <web-app-deploy path='deploy'/>
    </host-default>
    <!-- includes the web-app-default for default web-app behavior -->
    <resin:import path="${resinHome}/conf/app-default.xml"/>
    <!-- configures the default host, matching any host name -->
    <host id=''>
    <document-directory>D:/artunion</document-directory>
    <!-- configures the root web-app -->
    <web-app id='/'>
    <!-- adds xsl to the search path -->
    <class-loader>
    <simple-loader path="$host-root/xsl"/>
    </class-loader>
    <servlet-mapping url-pattern="/servlet/*" servlet-name="invoker"/>
    </web-app>
    </host>
    </server>
    </resin>
    Thank you!

  • Here are my Etrecheck results....can anyone help me get my computer faster?  Problem description: Computer very slow-.and unresponsive  EtreCheck version: 2.1.8 (121) Report generated April 16, 2015 at 10:19:42 AM EDT

    Problem description:
    Computer very slow….and unresponsive
    EtreCheck version: 2.1.8 (121)
    Report generated April 16, 2015 at 10:19:42 AM EDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,1
        1 2.3 GHz Intel Core i7 CPU: 4-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 412
    Video Information: ℹ️
        Intel HD Graphics 4000
        NVIDIA GeForce GT 650M - VRAM: 512 MB
            Color LCD 1440 x 900
    System Software: ℹ️
        OS X 10.10.2 (14C1514) - Time since boot: 7 days 18:4:45
    Disk Information: ℹ️
        APPLE HDD HTS547550A9E384 disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 498.88 GB (299.54 GB free)
                Core Storage: disk0s2 499.25 GB Online
        MATSHITADVD-R   UJ-8A8
    USB Information: ℹ️
        Western Digital My Passport 0748 500.07 GB
            EFI (disk3s1) <not mounted> : 210 MB
            My Passport (disk3s2) /Volumes/My Passport : 499.73 GB (126.16 GB free)
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.quark.driver.Tether (1.1.0d4 - SDK 10.4) [Click for support]
        [loaded]    com.quark.driver.Tether64 (1.1.0d3 - SDK 10.6) [Click for support]
        [not loaded]    com.wdc.driver.1394HP (1.0.11 - SDK 10.4) [Click for support]
        [not loaded]    com.wdc.driver.1394_64HP (1.0.1 - SDK 10.6) [Click for support]
        [not loaded]    com.wdc.driver.USBHP (1.0.11) [Click for support]
        [loaded]    com.wdc.driver.USB_64HP (1.0.0 - SDK 10.6) [Click for support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.gamed.plist
        [killed]    com.apple.Maps.pushdaemon.plist
        [killed]    com.apple.printtool.agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        6 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        6 processes killed due to memory pressure
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.coupons.coupond.plist [Click for support]
        [running]    com.mcafee.menulet.plist [Click for support]
        [running]    com.mcafee.reporter.plist [Click for support]
        [running]    com.oracle.java.Java-Updater.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [failed]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2.Agent.plist [Click for support]
        [unknown]    com.mcafee.ssm.ScanFactory.plist [Click for support]
        [unknown]    com.mcafee.ssm.ScanManager.plist [Click for support]
        [running]    com.mcafee.virusscan.fmpd.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.facebook.videochat.[redacted].plist [Click for support]
        [failed]    com.facebook.videochat.[redacted].plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        WDSecurityHelper    UNKNOWN  (missing value)
        WDSecurityHelper    Application  (/Applications/WD Security.app/Contents/WDSecurityHelper.app)
        WDDriveUtilityHelper    UNKNOWN  (missing value)
        WDDriveUtilityHelper    Application  (/Applications/WD Drive Utilities.app/Contents/WDDriveUtilityHelper.app)
    Internet Plug-ins: ℹ️
        SiteAdvisor: Version: 2.0 - SDK 10.1 [Click for support]
        FlashPlayer-10.6: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        CouponPrinter-FireFox_v2: Version: 5.0.3 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
    User internet Plug-ins: ℹ️
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
        Stamps.com: Version: 1.1.13 [Click for support]
        DISH Anywhere Player: Version: 2.7.2.0 [Click for support]
    Safari Extensions: ℹ️
        SiteAdvisor
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: ON
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 498.88 GB Disk used: 199.33 GB
        Destinations:
            My Passport [Local]
            Total size: 499.73 GB
            Total number of backups: 29
            Oldest backup: 2013-05-17 22:06:43 +0000
            Last backup: 2015-03-27 16:16:56 +0000
            Size of backup disk: Too small
                Backup size 499.73 GB < (Disk used 199.33 GB X 3)
    Top Processes by CPU: ℹ️
             6%    backupd
             5%    WindowServer
             1%    Google Chrome
             1%    loginwindow
             1%    mtmd
    Top Processes by Memory: ℹ️
        289 MB    Google Chrome Helper
        189 MB    Google Chrome
        84 MB    backupd
        78 MB    Mail
        77 MB    Finder
    Virtual Memory Information: ℹ️
        17 MB    Free RAM
        1.22 GB    Active RAM
        1.22 GB    Inactive RAM
        996 MB    Wired RAM
        54.55 GB    Page-ins
        1.93 GB    Page-outs
    Diagnostics Information: ℹ️
        Apr 14, 2015, 03:11:54 PM    /Library/Logs/DiagnosticReports/softwareupdated_2015-04-14-151154_[redacted].cp u_resource.diag [Click for details]

    When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.
    When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

Maybe you are looking for

  • "Add a dynamicall​y VI" in Applicatio​n Builder to prevent Error 1003 is no solution for a steadily rising amount of SubVIs.

    My VI calls SubVIs (all with the same connections) in a loop with one 'call by reference'. It works great in the VI but when I build an Application I receive Error 1003. After that I read in the KnowledgeBase when I build the Application I must add d

  • Rounding off on prompts

    I am facing a problem in the prompts on decimal fields. I have various fields for balances which store data in 2 decimal places in the database. I am overriding them to show 0 decimal places in the UI. When I put the values in prompt, some of the res

  • G550 - Problem installing sound driver - Windows XP

    i tried the following but didn't have any luck : ============================================== the way is: downoload http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-69852#audio install it next XP find audio hardware then use this

  • Material Transaction Window

    Hi all, In View Material Transactions window -> Location tab -> there are field names called Source Type, Source, Transaction Type. When i go and examine the fields, it shows LOC_TRX_SOURCE_TYPE_NAME, LOC_TRX_SOURCE_NAME, LOC_TRX_TYPE_NAME as field n

  • TAF application Failover is not happening

    Hi, I have installed and configured Oracle RAC. My Configurations are: OS: RHEL 5.5 64 bit (2 Servers) Database: Oracle 11g R2 Client: Oracle 11g R2 Database name:orcl Instances:orcl1,orcl2 TAF_service name: TAF_orcl I have configured TAF using the m