Re: Post not supported by url

Your post has been killed.
          Please repost to:
          news://www4.weblogic.com/weblogic.developer.interest.servlet
          I will answer it there.
          Cheers
          Mark G
          Eugenie Wu wrote:
          > I installed an eval copy of Weblogic 4.0.3 and configured it to use
          the
          > Netscape Enterprise Server bridge by editing the obj.conf file as the
          > documentation states. I am able to invoke servlets if the GET request
          > method is used, but a POST request results in the error message "Post
          is
          > not supported by this URL". The servlets handle both GET and POST
          > requests in the service method. The same thing happens if I use the
          > Weblogic app server's own httpd, so I think that the NS bridge must be
          > ok. What do I need to do to be able to POST to servlets?
          

Your question about what is being passed from NES to WL caused me to
          re-examine what my servlets expect to receive. These servlets were originally
          written using a different servlet engine. I had been using the the URI header
          value (getHeader("URI") ) for the action value in html forms created by the
          servlets. I looked at the headers that WL returns from the getHeaderNames()
          method and URI is not one of them! So, of course, the action values the
          servlets created were null. The getRequestURI() method will return the info I
          want so I can use that instead. But how come many of the headers that I
          expect to see in a request are not returned by getHeaderNames()?
          Mark Griffith wrote:
          > Eugenie:
          >
          > See I told you I would answer. :)
          >
          > The error your getting happens when a Servlet only implements doGet, not
          > doPost or service. For example our FileServlet:
          >
          > javap -public weblogic.servlet.FileServlet
          > public synchronized class weblogic.servlet.FileServlet extends
          > javax.servlet.http.HttpServlet
          > /* ACC_SUPER bit set */
          > {
          > public void init(javax.servlet.ServletConfig);
          > public void doGet(javax.servlet.http.HttpServletRequest,
          > javax.servlet.http.HttpServletResponse);
          > public weblogic.servlet.FileServlet();
          > }
          >
          > So the first question is does the servlet getting invoked on WL implement
          > doPost or service?
          >
          > If you think it does then:
          >
          > What is the configuration in obj.conf?
          > That is are you proxying by path or extension? Can you include a snippet
          > from the obj.conf.
          >
          > Then can you send a snippet from your weblogic.properties file that shows
          > how your servlet is registered.
          >
          > Meaning I want to see what the URL that comes into NES is:
          >
          > http://www.foo.com/myservlets/phone
          >
          > goes out to WL as
          >
          > http://www.foo.com/myservlets/phone
          > or
          > http://www.foo.com/phone
          >
          > and then what is the servlet registration on WL that handles this?
          >
          > Cheers
          > Mark G.
          >
          > > Eugenie Wu wrote:
          > >
          > > > I installed an eval copy of Weblogic 4.0.3 and configured it to use
          > > the
          > > > Netscape Enterprise Server bridge by editing the obj.conf file as the
          > > > documentation states. I am able to invoke servlets if the GET request
          > >
          > > > method is used, but a POST request results in the error message "Post
          > > is
          > > > not supported by this URL". The servlets handle both GET and POST
          > > > requests in the service method. The same thing happens if I use the
          > > > Weblogic app server's own httpd, so I think that the NS bridge must be
          > >
          > > > ok. What do I need to do to be able to POST to servlets?
          >
          > --
          > =====================================================
          > Reply to the newsgroup. Don't reply to this mail
          > alias. This is used only for answering posts on
          > WebLogic Newsgroups.
          > =====================================================
          

Similar Messages

  • HTTP Method Post not supported by this URL

    We are running WL6.0sp1 on Win2000. When we try to open a JSP page which calls
    a servlet we get a "HTTP Method Post not supported by this URL". This same setup
    (WL 6.0sp1 on Win2000) on another machine works absolutely fine running from the
    same client. Is there any setup that needs to be done in Weblogic for this? Any
    pointers on this would be appreciated.
    Rgds

    Normally when you get this error, your username/password is not correct.
    It's not a clean way of errorhandling. I have had the same issue and after a while i noticed the password i entered was not correct.

  • MalformedURLException - Oracle not support?

    Dear all,
    I'm trying to use a standalone java client to talk to ALBPM via PAPI. I get it compiled (the Fuego55-APIsGuide is a bit out dated in terms of jar file list, btw). However, when I try to get it run, I got the following error:
    W:\savaria_1\server_1_0\src>java -Dfuego.je22.initialctx.file=C:\bea\TestApp\Properties\tomcatProperties.jndi -classpath . -Djava.ext.dirs=W:\savaria_1\server_1_0\lib com.tradebeam.workflow.gateway.WFRequestHandler
    fuego.papi.exception.ProtocolNotSupportedException: Protocol not supported for URL: 'oracle://grendel.sftech.corp.biz:1521/schema=beaaqualogic,sid=DEV'.
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:72)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:155)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:132)
    at fuego.papi.ProcessService.create(ProcessService.java:426)
    at com.tradebeam.workflow.gateway.WFRequestHandler.firstTest(WFRequestHandler.java:46)
    at com.tradebeam.workflow.gateway.WFRequestHandler.main(WFRequestHandler.java:94)
    Caused by: fuego.directory.exception.ProtocolNotSupportedException: Invalid URL: [oracle://grendel.sftech.corp.biz:1521/schema=beaaqualogic,sid=DEV].
    at fuego.directory.exception.ProtocolNotSupportedException.malformedUrlWithException(ProtocolNotSupportedException.java:45)
    at fuego.directory.provider.Factory.getFactoryFromPassport(Factory.java:209)
    at fuego.directory.Directory.startAnonymousSession(Directory.java:616)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:68)
    ... 5 more
    Caused by: fuego.directory.exception.MalformedURLException: Protocol [oracle] not supported.
    Technical detail:Verify that the needed plug-in supporting files are present in your system and that the provider name is not misspelled.
    at fuego.directory.exception.MalformedURLException.protocolNotSupported(MalformedURLException.java:64)
    at fuego.directory.URLParser.createStrategy(URLParser.java:202)
    at fuego.directory.URLParser.createURLParser(URLParser.java:79)
    at fuego.directory.provider.Factory.getFactoryFromPassport(Factory.java:205)
    ======================================
    In my directory.properties, I have:
    # Directory configuration
    # The following properties define the configuration for a directory provider.
    # Do not modify the prefix of the properties. Always leave "directory.default."
    directory.default.url=oracle://grendel.sftech.corp.biz:1521/schema=beaaqualogic,sid=DEV
    # Presets are used to provide properties to the directory with an specific name
    # If a preset is anonymous (no Fuego participant), then comment the participant line
    # nevertheless, connection properties can be defined
    directory.default.preset.xobjects.participant=beaaqualogic
    directory.default.preset.xobjects.participant_password=123456#
    directory.default.preset.portal-anonymous.participant=beaaqualogic
    directory.default.preset.portal-anonymous.participant_password=123456
    directory.default.preset.datawarehouse.participant=beaaqualogic
    directory.default.preset.datawarehouse.participant_password=123456
    directory.default.preset.engine.participant=beaaqualogic
    directory.default.preset.engine.participant_password=123456#
    # oracle FDI implementation
    # Single connection properties (used when FDI handles the authentication)
    directory.default.jdbc-user=beaaqualogic
    directory.default.jdbc-password=123456
    provider.oracle.anonymous-user=beaaqualogic
    provider.oracle.anonymous-password=123456
    =================================
    Finally, this is my TomcatProperties.jndi:
    #TOMCAT jndi config
    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
    java.naming.provider.url=localhost:1099
    Any idea what I've done wrong or missed? Thanks in advance!!
    Regards,
    Matthew

    I've found why - turns out it was mentioned in the older APIs guide (ver 5.1). I need fuegofdi-oracle.jar.
    Now I just hit another error - CachedRowSet NoClassDefFoundError. This is easy cause I just need to get rowset.jar from sun's j2ee library (or if I were using Java 1.5 it would have already bundled inside).
    Regards,
    Matthew

  • HTTP Status 405 - HTTP method POST is not supported by this URL

    dear all
    can u solve my problem.am getting the *"HTTP Status 405 - HTTP method POST is not supported by this URL"* msg from the browser when i press the search button in my form.plz suggest me the solution for my fault.these are the following html,xml,class files:
    search.html*
    <html>
    <head>
    <title>Search Page</title>
    </head>
    <body>
    <p align="center"><font size="6" color="#0000FF"><b>Search Module</b></font></p>
    <p align="center"> </p>
    <center>
    <form method="POST" action="./emp">
    <table border="1" width="43%">
    <tr>
    <td width="50%">
    <p align="right">Employee Name</td>
    <td width="50%"><input type="text" name="empname" size="36"></td>
    </tr>
    <tr>
    <td width="100%" colspan="2">
    <p align="center"><input type="submit" value="Search" name="B1"></td>
    </tr>
    </table>
    </form>
    </center>
    </body>
    </html>
    web.xml*
    <web-app>
    <servlet>
    <servlet-name>jdbc</servlet-name>
    <servlet-class>searchModule</servlet-class>
    <init-param>
    <param-name>driver</param-name>
    <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value>
    </init-param>
    <init-param>
    <param-name>url</param-name>
    <param-value>jdbc:odbc:first</param-value>
    </init-param>
    <init-param>
    <param-name>user</param-name>
    <param-value>scott</param-value>
    </init-param>
    <init-param>
    <param-name>pass</param-name>
    <param-value>tiger</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>jdbc</servlet-name>
    <url-pattern>/emp</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>search.html</welcome-file>
    </welcome-file-list>
    </web-app>
    SearchModule.java*
    import java.util.*;
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class searchModule extends HttpServlet
    Connection con;
    public void init() throws ServletException
    String d=getInitParameter("driver");
    String u=getInitParameter("url");
    String us=getInitParameter("user");
    String pwd=getInitParameter("pass");
    try
    Class.forName(d);
    con=DriverManager.getConnection(u,us,pwd);
    catch(ClassNotFoundException e)
    System.out.println(e);
    catch(SQLException e)
    System.out.println("Unable to establish the connection");
    }//init
    public void doGet(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException
    String empname=req.getParameter("empname");
    res.setContentType("text/html");
    PrintWriter pw=res.getWriter();
    try
    pw.println("<html><body><center>");
    Statement st=con.createStatement();
    String sql="select * from employee where empname="+empname;
    ResultSet rs=st.executeQuery(sql);
    if(rs.next())
    pw.println("<h2>Employee Details</h2>");
    pw.println("<table border=1>");
    pw.println("<tr><th>Employee No.</th>");
    pw.println("<th>Employee Name</th>");
    pw.println("<th>Designation</th>");
    pw.println("<th>Department</th>");
    pw.println("<th>Salary</th>");
    pw.println("</tr><tr>");
    pw.println("<td>"+rs.getInt(1)+"</td>");
    pw.println("<td>"+empname+"</td>");
    pw.println("<td>"+rs.getString(3)+"</td>");
    pw.println("<td>"+rs.getString(4)+"</td>");
    pw.println("<td>"+rs.getInt(5)+"</td>");
    pw.println("</tr></table>");
    else
    pw.println("<h2>Employee Record Not Found</h2>");
    pw.println("</center></body></html>");
    pw.close();
    rs.close();
    st.close();
    catch(SQLException e)
    System.out.println(e);
    }//doPost
    public void destroy()
    if(con!=null)
    try
    con.close();
    catch(Exception e)
    System.out.println("Connection Closed");
    }//destroy
    }//searchModule
    in control panel i selected System DNS and created the name as first and driver as Microsoft ODBC for Oracle
    plz suggest me the solution where i committed mistake.

    <form method="*POST*" action="./emp">
    public void doGet (HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException
    HTTP method POST is not supported by this URL

  • HTTP method POST is not supported by this URL

    Hi everyone,
    I'm having a problem in my application.
    I used the ADF Security Wizard to enable the ADF Security in my application. So, it created the pages login.html, error.html and welcome.jsp.
    The problem is when I try to sign in in my applicaton. On the page login.html I filled in the fields username and password and click on the button to post the form. But when the form is posted I get the message: "HTTP method POST is not supported by this URL".
    The form is posted to the bean j_security_check.
    Does anybody know why is it happening? What should I do to fix it?
    Thanks a lot
    Daniel
    Edited by: [email protected] on 23/02/2010 05:37

    Normally when you get this error, your username/password is not correct.
    It's not a clean way of errorhandling. I have had the same issue and after a while i noticed the password i entered was not correct.

  • 405 HTTP method POST is not supported by this URL

    When I use GET method to browse a servlet by using TOMCAT or Resin, receive the following message:
    405 HTTP method POST is not supported by this URL
    Thanks!

    Just post your question once and be patient:
    http://forum.java.sun.com/thread.jspa?threadID=573890
    %

  • POST method not supported by this URL

    Hello gentlemen,
              We are trying to migrate our servlets from another Web Application
              Server (IBM WebSphere 2.02) to Weblogic 4.5.1.
              A servlet that did work fine with WebSphere, now produces the "POST
              method not supported by this URL" error under Weblogic.
              Of course, we implement doPost method in our servlet.
              Any idea to fix this problem? thank you.
              emanuele
              

              Emanuele--
              In the ICSessionServlet file you are posting the data to ICIdentification servlet which is
              again a servlet
              So you need to register this servlet in weblogic.properties file before you post something to
              this servlet.
              Also the way you are calling the servlet is totally wrong from weblogic standpoint
              You don't need to specify the package name in weblogic(this is OK in java web server) for e.g.
              icdoor.myservlet.session.ICIdentificationServlet.
              Because we are registering the servlet with full package name in properties file so we don't
              need to mention the package
              name here..
              Call the servlet in the following way or whichever way is suitable for you.
              Here is how i'm calling ICIdentificationServlet
              http://localhost:7001/ICIdentificationServlet
              Here is the output i'm getting after entering user name/password
              "Welcome Startfighter"
              Requested URL
              http://localhost:7001/Stupida
              Hope this helps
              Kumar
              emanuele wrote:
              > Here's the source code for a servlet producing "HTTP method POST is not
              > supported by this URL".
              >
              > I have registered servlet Stupida in the file weblogic.properties. This
              > servlet subclass the ICSessionServlet.
              > The service() method of ICSessionServlet ask for a userid and a password
              > (user and password are not verified, anyway) and then calls the doPost()
              > method of ICIdentification servlet. This one displays a sort of "Welcome
              > page" and then the calling URL. (if it works fine...).
              >
              > On WebSphere, it works. On Weblogic, it doesn't.
              >
              > Any idea?
              >
              > emanuele
              >
              > "Kumaraswamy A." wrote:
              >
              > > can you post the stacktrace , also if possible send your java file
              > > too!..
              >
              >
              

  • Since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    since installing Lion I keep getting the error message 'there was a problem connecting to the server. URLs with the type 'file:" are not supported"' How can I fix this?

    A Davey1 wrote:
    Not a nice answer!
    Posting "Check the 'More like this'" area and not simply providing the answer is a great way to make these groups worthless.
    You're ignoring context.  On the old Apple Discussion Groups I never posted replies like that, instead giving people relatively detailed answers.  The new Apple Support Communities made things worse by introducing certain inefficiencies.  Then came Lion.  The flood of messages that came with Lion required a painful choice for any of the people who had been helping here: (1) Give quality responses to a few questions and ignore the rest.  (2) When applicable, give a brief answer such as the one that you found objectionable.  (3) Give up all the other normal activities of life and spend full time trying to answer questions here.
    People who needed help with Lion problems seemed to have trouble discovering existing message threads that described how to solve their problems.  I never posted the suggestion of "Check the 'More like this' area" without verifying that the help that the poster needed could be found there.  Even doing that, what I posted saved me time that I could use to help someone else.
    The people helping here are all volunteers.  None of them is being paid for the time they spend here.  They all have a life outside of Apple Support Communities.  It's arrogant of you to demand that people helping here spend more time than they already do.

  • I keep getting a pop up dialogue box telling me the URL is not supported and that it can't connect to the server, even though I am able to surf the net

    I keep getting a pop up dialogue box telling me the URL is not supported and that it can't connect to the server, even though I am able to surf the net

    Are you using OS X Server here, or is this a connection with some other server?  If this is OS X Server, what version is running?
    Please post a screen shot of the dialog box, and an example of a URL that's failing.  (You can use ⌘⬆4 (command shift 4) to activate the screen capture mechanism, and the camera icon here to upload the image.  Please make sure you don't include any sensitive information in what you're uploading.)

  • "URL's with the type "file." are not supported"

    "URL's with the type "file." are not supported" Can anyone tell me how to remove this message?
    I installed Lion and I see a lot of people have the same problem.
    Help

    Not a nice answer!
    Posting "Check the 'More like this' area" and not simply providing the answer is a great way to make these groups worthless. Hence, for a while, all I would get is versions of this same arrogant message.
    Here's the answer so someone else doesn't get locked into the same loop I did:
    I just solved my problem, which was the same perplexing message that kept popping up.  It happened to be a Time Machine issue.  When I installed Lion, apparently the Time Machine had been turned on by the installer because it kept searching for the Apple.com server, to which I'm not subscribed.  Prior to the installation I had always backed up to an external HD; not Apple's online service.  Searching Apple Support Forums, I found "Troubleshooting Time Machine' and followed the instructions to "reset Time Machine".  Now things are back to normal.  I hope this is of some help.

  • 405 HTTP method GET is not supported by this URL

    When I use GET method to browse a servlet by using TOMCAT or Resin, receive the following message:
    405 HTTP method POST is not supported by this URL
    Thanks!

    Just post your question once and be patient:
    http://forum.java.sun.com/thread.jspa?threadID=573890
    Go out and get a servlet book. Don't you know how to write servlets?
    %

  • When trying to play videos I get the message "requested URL is not supported on this network" how do I fix this?

    I receive the error "requested URL is not supported on this network" when trying to play videos on my iPhone. Can you please advise how to fix this problem?

    Hi,
    You will need to re-instal iCal as an optional install from your OSX installer DVDs. Then run the Mac OS X 10.5.8 Combo Update.
    Best wishes

  • TS1424 I bought a tv series but when I play it it says that my URL is not supported by server. All my movies and music plays, but not my tv shows.

    Bought tv show from iTunes but says URL not supported by server. What do I do?

    i'm having the same problem and I have verified all my information but still it keeps telling me to re verify it what do i do

  • "Browser is not supported" message accessing a URL to an Image

    Hi.
    I have a dynamically generated URL, which points to an image (GIF) created based on a BusinessGraphics chart.
    When I access this URL with Internet Explorer (6.0.2900), no problem at all. The image loads and is displayed on IE. But, when I set this URL to be called from other sources (like an Adobe Interactive Form image field, or creating a inputstream based on this URL), the below message is displayed:
    Sorry, your browser is not supported by Web Dynpro!
    Is there a way to solve it? I need to display the image associated to this URL in Adobe Interactive Form.
    Regards,
    Douglas Frankenberger

    Hi,
    What SP do you use?
    You have two options:
    1) Upgrade your portal to Support Package
    2) Implement note 991449
    Regards,
    Omri

  • "there was a problem connecting to the server. URLS with the type 'file' are not supported"

    i have a new macbook pro 13" and every 6 minutes or so it pops up a window that says "there was a problem connecting to the server. URLS with the type 'file' are not supported". it never seems to cause any problems but is supremely annoying. how can i make this come to an end?

    I tried someone's solution of taking another external disc and plugging it in, then when it showed up and time machine asked if I wanted to use it or that someone might be trying to trick me, I chose not use it.  Then I  shut down my computer, plugged in the original Lacie, and rebooted the computer and all seems to work fine now-- the Lacie appears on my desktop and all seeems to be in working order. Who knows why or anything else,- as weird as it gets- but for now things seemed fixed--- maybe others can try this too-- it worked for me so far.

Maybe you are looking for

  • Cannot print with Canon MF4350D.

    After installing OS X Mountain Lion, I haven't been able to add my printer back into the queue or find the appropriate software. I downloaded all the appropriate drivers from the Canon website and still can't print. What is going on?

  • New windows open like Tabs but no address bar

    Hello, After upgrading to Firefox 4, when I open a new browser window, it displays as a new tab. But with the tab under all the toolbars, the address bar missing, and my bookmarks gone. Back, forward, and reload buttons are not functional. I have to

  • Vendor bank account number

    Hi All, How can i extend the length of Vendor Bank account number up to 20 Digits character over the SPRO.which max length in that field is 18 digit Could any one help me out in this case... Rgds, Hendro

  • Delcare Cursor using Dynamic SQL using PL/SQL in Oracle 7.3.4

    In Oracle 7.3.4, can I declare a cursor at run time using Dynamic SQL. From the sample code in this website, it seems that Oracle 8 support this function. Please help. Thanks a lot. If I can do this on Oracle 7.3.4, could you give me some sample code

  • Who is Who - dropdown list for fields in the advance search

    Hello: In the advance search of the Who is Who service, we have the Organization Unit and Cost Center as searching fields. We can't be able to see the dropdown list for these 2 fields from the Portal. Do anyone have any idea of what configuration is