Newbie question about deployment URL

I created a web service using Web Logic 9's service gen. I then successfully deployed it. When I tried calling it, I get a 404. I'm not sure I'm calling the correct URL and failing, or if I'm not even calling the correct URL.
My URL is
localhost:7001/<contextURI>/<serviceURI>?WSDL (values in angle brackets taken from the service gen).
I always seem to have this trouble when deploying... knowing what the URL should be.
Any suggestions?

Answering my own question... whilst I deployed the web service, I had not deployed the context. Doing so sorted out my problem.

Similar Messages

  • Newbie question about loading servlets on tomcat

    I have what is probably a very basic question about loading simple servlets on to tomcat to test its installation. I have followed instructions from numerous tutorials to the letter but still I can't get it to work.
    I have installed tomcat on win2k in c:\tomcat. I set up the jdk, environment vars (JAVA_HOME, CATALINA_HOME, TOMCAT_HOME) which all point at the correct dirs. I can compile a servlet without errors. I can also place a test jsp and html file into the root directory and they both work fine.
    However, now I am trying a test servlet and no matter what I do it gives me a 404. I have a servlet class file called "HelloServlet.class" which I placed into the %install_dir%\webapps\ROOT\WEB-INF\classes directory. I try to reference it using this url:
    http://localhost/servlet/HelloServlet
    Tomcat is configured to use port 80 and has been restarted after adding the servlet class file. Does anyone have a clue why this is not working for me?
    Many thanks
    Marc

    You have to add in the web.xml file that it is in the WEB-INF dir, the information about your servlet. An example:
    <web-app>
    <servlet>
    <servlet-name>HelloServlet</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloServlet</servlet-name>
    <url-pattern>/HelloServlet</url-pattern>
    </servlet-mapping>
    </web-app>

  • Question about (HttpURLConnection)url.openConnection();

    Greetings Java Experts.
    I have a question about the following code snippet.
    As you can see below this snippet will establish a connection.
    Question how long will it allow for the connection to be established - for example if the web traffic is taking an unusually long period of time can I set it to a higher value ?
    connection = (HttpURLConnection)url.openConnection();
         HttpURLConnection.setFollowRedirects(true);
         connection.setInstanceFollowRedirects(true);
         connection.setUseCaches(false);
    stev

    forever, unless you set SO_TIMEOUT

  • Question about mangled URLs

    Hello,
    I have a load testing app that I'm adapting to work with BSPs and I have a question about the mangled URLs that are used.
    If I record a URL that is mangled, can I save that URL and reuse it during the playback of a session?  From what I understand it includes things like theme, language and such.  But obviously if it includes a session  ID, it won't work.
    Session ID seems to be stored in a cookie.  Can it also be stored in a mangled URL and if so, why the duplication?
    Any help greatly appreciated!
    Thanks!!!

    Those parameters are there for a reason; to pass along information to the page so that the dynamic content can be manipulated based on them. So your question really is: "Can I pass along this information to the page in another way than URL parameters?"
    There are always options, but most of them require work. For example:
    1) use a POST to generate the page
    In a POST request the parameters are part of the request body, so you don't see them. The trouble is that a POST request cannot be created just like that; it requires some sort of form submission behind it. This can be facilitated with javascript (output a form and let the link submit it through an onclick handler), but it is far from a clean solution.
    Added pain: form submits behave badly in combination with the browser back/forward buttons. Also, bookmarking cannot work like this.
    2) "web 2.0". Using Ajax it is possible to do page updates in the background, so you could do the request (with parameters) asynchronously and update the page accordingly.
    Added pain: again back/forward buttons and bookmarking will be broken unless you take very specific steps (that I don't know of myself).
    3) conversation scope technology. Some APIs provide a so called "conversation" scope, which allows you to hold on to certain values across requests until you end the conversation. You could use this to push certain values into the conversation and reuse them in different pages without having to pass along the values as request parameters or in a form. Even without a conversation scope, you could simply abuse the session for this purpose.
    I hope this has given you some idea how to go about implementing your requirement.

  • Newbie Question about FM 8 and Acrobat Pro 9

    Hello:
    I have some dcouments that I've written in FM v8.0p277. I print them to PDF so that I can have a copy to include on a CD and I also print some hard copies.
    My newbie question is whether there is a way to create a  PDF for hard copy where I mainitain the colors in photos and figures but that the text that is hyperlinked doesn't appear as blue. I want to keep the links live within the soft copy. Is there something I can change within Frame or with Acrobat?
    TIA,
    Kimberly

    Kimberly,
    How comes the text is blue in the first place? I guess the cross-reference formats use some character format which makes them blue? There are many options:
    Temporarily change the color definition for the color used in the cross-reference format to black.
    Temporarily change the character format to not use that color.
    Temporarily change the cross-reference definition to not used that character format.
    Whichever method you choose, I would create a separate document with the changed format setting and import those format into your book, create the PDF and then import the same format from the official template.
    - Michael

  • Newbie question about saving files

    Hi all,
    A newbie question here, and maybe it is a dumb question, but I can't get my head around this and sofar found no answer in the forums here.
    When I save a file on my macbook, I can only save it to "top" folders.
    What I mean is I try to save a file for instance to documents/worddocs/lyrics just to say something, then I have to save the file first to documents, and the move it to the lyrics folder via finder or move it to :worddocs folder and then move it again to the lyrics folder. Hope you still get my drift here
    Is there a way to just save it to the subfolders without going through all this moving around?
    Thanks in advance for any advice
    Peter

    When you click File>Save As, you will see the Save As window pop up. At the top, you will see a box entitled Save As, which has a space for your to enter the file name. To the right of this box is an arrow pointing down. Click it. The full file hierarchy will be seen. Then you can save directly to the file you want.
    Hope this helps.
    Don

  • 2 newbies question about diskgroups

    Hi gurus,
    I have 2 newbies question:
    Im working in a RAC Database (11.2.0.3) on Redhat 5.3 with some disk groups. One of this groups have 6 disks on it with different space (134, 236G, 236G, 185G, 185G and 185G).
    My questions are:
    1) What would be happend when the lower space disk will be full?
    2) At this moment the diskgroups are at 45% so i was thinking to change their spaces to have all with the same space (around 193G each), it would create any problem? i should restart database or can do it with database up?
    Thanks

    if a disk is filled, what would happen? could i resize the disks with same size without stop database and without affecting the data stored within each disc?
    By the word 'disk' I assume you mean LUN . When a LUN in a disk group is filled, ASM will use the remaining LUNs to store the data. You should always use LUNs of uniform size to avoid uneven I/O .
    could i resize the disks with same size without stop database and without affecting the data stored within each disc
    You can get the Unix/Storage team to allocate more LUNs for this Server. Once these LUNs are added , check if the following pre-reqs are met for the LUN which is yet to be added to the disk group
    v$asm_disk.HEADER_STATUS = 'CANDIDATE'
    v$asm_disk.PATH = /dev/rdsk/youLUNname
    v$asm_disk.NAME will be NULL
    Now you can add the LUNs using
    alter diskgroup DATA_DG01 add disk '/dev/rdsk/youLUNname' rebalance power 4 ; wait for rebalance to finish (check status in V$ASM_OPERATION)
    Yes. The above can be done without stopping the DB. It won't affect the stored data either.

  • Two (too much?) newbies questions about KT3 Ultra 2

    Goodmorning all.
    I've bought a KT3 Ultra2 (MS-6380E) motherboard and i've two questions about it.
    First of all I need to buy the optional S-Bracket to use my SPDif sound sistem... where can i buy it in Italy or in Internet?
    In second i've to know the highest processor my MB support becouse i have to upgrade my PC.
    Can U help me?
    Tha a lot and sorry for disturb.
    Hallo.

    Hello,
    question 2, not sure about question 1,
    http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_cpu_support_detail.php?UID=341&kind=1
    You may need this BIOS update too.
    http://www.msi.com.tw/program/support/bios/bos/spt_bos_detail.php?UID=341&kind=1

  • Questions about deploying compressed WAR

    I've been having issues when trying to deploy a compressed
    Flex application into my Weblogic Server. I read in the
    Installation Guide (
    http://www.adobe.com/support/documentation/en/flex/2/install.html)
    that you need to some "hacking" to make it work but i have a big
    question:
    The guide says:
    Locate the servlet definition for MessageBrokerServlet, and
    update the flex.write.path init-param element to specify an
    existing, writeable, directory path:
    <init-param>
    <param-name>flex.write.path</param-name>
    <param-value>C:/bea/flex</param-value>
    </init-param>
    I have no clue about this, i mean what is supposed to be in
    the path C:/bea/flex??? Can anyone explain what the
    "flex.write.path" means or referrers to?
    Diego

    I tried setting the write path to any folder like the example
    and i got this during the server startup:
    [Flex] [WARN] The watch-file,
    /WEB-INF/flex/services-config.xml, could not be resolved to a path
    and will be ignored.
    [Flex] [WARN] The watch-file, /WEB-INF/flex/proxy-config.xml,
    could not be resolved to a path and will be ignored.
    [Flex] [WARN] The watch-file,
    /WEB-INF/flex/remoting-config.xml, could not be resolved to a path
    and will be ignored.
    [Flex] [WARN] The watch-file,
    /WEB-INF/flex/messaging-config.xml, could not be resolved to a path
    and will be ignored.
    [Flex] [WARN] The watch-file,
    /WEB-INF/flex/data-management-config.xml, could not be resolved to
    a path and will be ignored.
    [Flex] [WARN] The touch-file, /WEB-INF/web.xml, could not be
    resolved to a path and will be ignored.
    And then when i tried to run the sample application CRM
    (which is included in the samples war when you install flex 2) i
    get this error:
    java.sql.SQLException: The url cannot be null
    so what's wrong?

  • Newbie question about livecycle data services es

    Hi all.
    i've downloaded the LiveCycle ES2 VMware virtual appliance, setup it up on a esxi server, workspace, content space, all are up and running, but here comes my question, how do i install livecycle data services in there?how do i set it up to start working with the rest?
    i've read the documentation on how to install, but i'm a bit confused.
    can anyone give me any pointers about this?
    help would be appreciated
    thanks in advance

    1) In Workbench ES2 create a process to create a new user. If you need to create a group there is also a service to create group. Create a short-lived process using the Avoka service > Create User operation. The Create User operation has the inputs depicted below.
    2) Create a process variable called 'newUserXml' of type 'xml' and declare the variable as input. Ideally, create a schema for the xml.
    3) The Create User operation has a single output, a string containing the user ID. Create a process variable called 'userID' of type 'string' and declare the variable as output.
    3) Save, check-in, and deploy the process.
    4) To test the process, invoke the process from the Workbench. For the input variable, plug data into an xml structure such as this...
    <NewUser>
    <Login/>
    <Password/>
    <CommonName/>
    <CanonicalName/>
    <Description/>
    <Email/>
    <Initials/>
    <OrgName/>
    <Address/>
    <Telephone/>
    </NewUser>
    5) If the test succeeds, you are ready to create the Flex application. If not, figure out why.
    6) Build a Flex app. Once you deployed the process, the remoting endpoint is automatically created and can be accessed by Flex. Here is a stub.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initChannelSet()">
    <mx:Script>
    <![CDATA[
    import mx.messaging.channels.AMFChannel;
    import mx.messaging.ChannelSet;
    import mx.rpc.events.ResultEvent;
    import mx.rpc.events.FaultEvent;
    private function initChannelSet():void {
    var cs:ChannelSet= new ChannelSet();
    cs.addChannel(new AMFChannel("my-amf","http://localhost:8080/remoting/messagebroker/amf"));
    ro.channelSet = cs;
    private function submitRequest():void {
    var newUser:XML = new XML(getXmlData());
    ro.setCredentials("administrator","password");
    ro.invoke({newUserXml:newUser});
    private function remotingResultHandler(event:ResultEvent):void {
    var userID:String = event.result.userID;
    private function remotingFaultHandler(event:FaultEvent):void {
    Alert.show(event.fault.faultDetail.toString());
    private function getXmlData():String {
    var xmlStr:String = "<NewUser>"
      + "<Login>" + login.text + "</Login>"
      + "<Password>" + password.text + "</Password>"
      + "<CommonName>" + commonName.text + "</CommonName>"
      + "</NewUser>>";
      return (xmlStr);
    ]]>
    </mx:Script>
    <mx:RemoteObject id="ro" destination="MyApplication/processes/CreateNewUser"
       result="remotingResultHandler(event)" fault="remotingFaultHandler(event)"/>
    <mx:VBox>
       UI goes here...
       <mx:Button label="Submit" click="submitRequest()"/>
    </mx:VBox>
    </mx:Application>
    Steve

  • Newbie question about Java Studio Creator 2.

    HI all,
    I'm new to JSF and JSC.
    Below are some question which I hope those who has been working on JSF especially those that use JSC to provide me some advice.
    1. Can JSF application developed using JSC be changed or modified using other IDE in the market? Reason being I saw JSC include the position using style in the page. So, I wonder if I use JSC for JSF, will it contraint the future development or not, cos i don't want to be bound by one tool forever.
    2. Is the JSF component (eg. com.sun.rave.web...) provided by SUN are open source?
    3. What is the roadmap for JSC2? Will they continue its development?
    4. JSC2 is free, how about JSC3? Any idea whether it will be free?
    5. Do you think using JSC2 alone is not enough? where to build EJB or web services, we still need to use other tools like NetBeans? What do you use in combination with JSC2? Would like to know your experience.
    6. Can application developed using JSC be deployed to JBOSS?
    7. JSC uses JSF components from SUN (com.sun.rave.web...). So, when we deploy JSF application developed using JSC to tomcat or JBOss, do we need to purchase any license?
    8. I find JSC2 is quite resource hungry, sometimes thing reflect quite slowly. What is your experience using JSC2?
    Thank you.

    Can anyone advise me on my question?
    Thank you.

  • Newbie question about component and UDF usage.

    This will be the 1st time I'm coding a component and UDF. I
    kind of understand the concept but not sure about how to write it
    in detail.Such as passing the parameter, etc.
    I'm starting to write a user login, verifying users before
    allowing them to enter into the app.
    So I have 2 fields in my login form, Login and password.
    Upon submitting this form, on the actionpage.cfm I'm calling
    a component. This is how I call the component:
    <CFINVOKE Component="cfc/loginaction"
    Method="AuthentiCateUser" ReturnVariable="UserInfo">
    Then in my Component I have the following:
    <CFCOMPONENT>
    <CFFUNCTION Name="AuthentiCateUser" RETURNTYPE="Query"
    hint="Use for user login">
    <CFARGUMENT Name="login" Type="Structure"
    Required="true">
    <CFARGUMENT Name="password" Type="Structure"
    Required="true">
    <!--- checking user authentication --->
    <CFQUERY NAME="Authenticate" DATASOURCE="sendfast">
    SELECT * FROM tblcustomer WHERE Login = '#Login#' AND
    Password = '#Password#'
    </CFQUERY>
    <CFRETURN AuthentiCateUser>
    </CFFUNCTION>
    </CFCOMPONENT>
    When I run this code, I got error, it said :
    The parameter LOGIN to function AuthentiCateUser is required
    but was not passed in.
    The error occurred in
    C:\CFusionMX\wwwroot\KDt_Mod\userloginaction.cfm: line 18
    16 : <CFSET
    UserLoginInfo["Password"]="#Form.Password#"> 17 : 18 :
    <CFINVOKE Component="cfc/loginaction" Method="AuthentiCateUser"
    ReturnVariable="UserInfo">
    19 :
    My question is:
    What should I do in order to pass #Form.Login# and
    #Form.Password# to my UDF within my component?
    I'm using CFMX 6 and Micrisift SQL 8

    I've applied cfinvokeargument and my login and password were
    passed to my component.
    But I'm facing new problem: Where should I write my
    authentication? should I write user authentication within my
    component or
    loginaction.cfm (the calling template)
    What I mean by authentication is something like this:
    <CFIF #Authenticate.RecordCount# IS NOT 0>
    <cfset session.CustomerID
    ="#Authenticate.customerid#">
    <cfset session.Name ="#Authenticate.Name#">
    <CFCOOKIE NAME="UserLoginIn"
    VALUE="12345_pn#Authenticate.customerid#">
    <cflocation url="index.cfm?loc=home">
    <CFELSE>
    <script language="JavaScript">
    alert("Username/password is not found, plese try again");
    history.go(-1);
    </script>
    <cfabort>
    </CFIF>
    If I keep this code in my loginaction.cfm what is returned
    from my function is not recognized by the component, the error said
    Authenticate.RecordCount is not recognized.
    Also I'm still confuse with what should I put in the
    RETURNTYPE. If I put query, it gave me error, also, what is
    returned by CFRETURN.
    This is my component:
    <CFCOMPONENT>
    <CFFUNCTION Name="AuthentiCateUser" RETURNTYPE="Query"
    hint="Use for user login">
    <CFARGUMENT Name="login" Type="Structure"
    Required="true">
    <CFARGUMENT Name="password" Type="Structure"
    Required="true">
    <!--- checking user authentication --->
    <CFQUERY NAME="Authenticate" DATASOURCE="sendfast">
    SELECT * FROM tblcustomer WHERE Login = '#Login#' AND
    Password = '#Password#'
    </CFQUERY>
    <CFRETURN AuthentiCateUser>
    </CFFUNCTION>
    </CFCOMPONENT>

  • Question about Facebook URL

    Hey everyone, new here so Im probably doing this completely wrong but please bare with me! I was randomly directed here whilst trying to find out if theres a way of changing my Facebook URL (its already been changed once - not by me)
    I have no idea why the adobe forum section would be interested in that, but the link provided sent me here. I also had no idea what thread to post this in either, so I apologise in advance for probably making a mistake.
    Any help would be greatly appreciated. Thanks guys

    As has been mentioned, this forum is for discussion of the Adobe fora.
    However, very near-by, the Lounge might get some comments on your question. It's for broad-source discussions, not about things Adobe-specific. Lot of people there know FB, so might have some useful thoughts for you.
    Good luck,
    Hunt

  • Newbie question about Premiere Elements Organizer

    This is a pre-newbie – let’s say “virgin” question. If there is an answer already posted elsewhere, please send me a link.
    I’m about to install Premiere Elements 9 to do some clip editing and animation from still images.  This would be my first attempt to edit clip or do some animation from still images, besides using Windows Media Maker with my HS students. However, I have been a pretty serious photographer for 20+ years with 1,000’s of images which I now work on in PS CS5 Extended and Lightroom 3. I use Adobe Bridge and LR library to catalogue and organize my images. I’d like to continue to use AB / LR Library to organize my new clips and projects. From reading Bill’s posts, it seems I can use Adobe Bridge, copy my original file, resize in Photoshop, and save in a new folder to use for a Premiere project. This would seem to be most intuitive way for me to work. I already have keywords, metadata, actions in PS… etc. But I think Bill is using Premiere Pro, while I’ll be installing Premiere Elements, which comes bundled with Elements Organizer. Do I need to install or use Elements Organizer? What are the advantages/disadvantages or EO?  I guess I’m a little worried about installing the programs and having EO automatically acquire images using presets/defaults that I don’t want to use as well as issues with subfolders, etc. I'm running Windows 7.
    Thanks
    FYI- this is a great animation project
    http://www.thejohnnycashproject.com/#/explore/TopRated

    ziggycat4 wrote:
    I guess I’m a little worried about installing the programs and having EO automatically acquire images using presets/defaults that I don’t want to use as well as issues with subfolders,
    EO doesn't do much with the files themselves, just maintains links to the sources.
    For folders you are best to use the folder view in EO to move them as it doesn't keep track of folder locations when changed in Windows Explorer. From the File options in Bridge I think that is pretty much the same.
    ziggycat4 wrote:
    I would like to get as much input as possible on the advantages/disadvantages of using EO vs say Adobe Bride from others who use Elements Organizer.
    Any insights would be appreciated.
    Can anyone who has used both EO and AB comment on how EO handles missing (hidden) files, syncing issues, computer hanging up or crashing....etc?
    I've only messed around a little with Bridge. But to me it seems lightening fast by comparison to EO. The features Albums and Tags in EO seem much the same as Collections and Keywords in Bridge.
    EO has Face Recognition abilities - getting more sophisticated in each version. I've not seen this feature in Bridge.
    By default EO allows you to open a file in any of:
    Photoshop
    Photoshop Elements
    Premiere Elements
    A single used-defined application (I have mine set to ColorPilot).
    Bridge only seems to link to Photoshop.
    Missing files can be located manually or by allowing EO to search for them.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • Question about friendly urls?

    greetings all
    i want to ask about if the following is possible:
    i have a link that look like this:
    http://somewebsite.com/page?param1=value1&param2=value2&param3=value3
    is it possible to make the link that appears in the browser like
    http://something.com/page ,and the parameter values is still there in the browser
    something like the urlrewrite or a filter or somehow i don't know?
    any ideas if it's possible?

    Those parameters are there for a reason; to pass along information to the page so that the dynamic content can be manipulated based on them. So your question really is: "Can I pass along this information to the page in another way than URL parameters?"
    There are always options, but most of them require work. For example:
    1) use a POST to generate the page
    In a POST request the parameters are part of the request body, so you don't see them. The trouble is that a POST request cannot be created just like that; it requires some sort of form submission behind it. This can be facilitated with javascript (output a form and let the link submit it through an onclick handler), but it is far from a clean solution.
    Added pain: form submits behave badly in combination with the browser back/forward buttons. Also, bookmarking cannot work like this.
    2) "web 2.0". Using Ajax it is possible to do page updates in the background, so you could do the request (with parameters) asynchronously and update the page accordingly.
    Added pain: again back/forward buttons and bookmarking will be broken unless you take very specific steps (that I don't know of myself).
    3) conversation scope technology. Some APIs provide a so called "conversation" scope, which allows you to hold on to certain values across requests until you end the conversation. You could use this to push certain values into the conversation and reuse them in different pages without having to pass along the values as request parameters or in a form. Even without a conversation scope, you could simply abuse the session for this purpose.
    I hope this has given you some idea how to go about implementing your requirement.

Maybe you are looking for

  • Error when using FPM_GAF_Component.

    Hi ,       I did FPM application configuration and component configuration.  When I test from Application configuration it works perfectly. But when I run it from SE80 application->test it dumps. Below is the dump. Can some one help me please. The fo

  • How to block planned order when there is a credit block in sales order

    Hi Experts, Planned order should not be created when there is a credit block at sales order level. Can someone help me in solving this? Expecting for your valuable comments. Regards, JANA

  • Vendor Changes.

    Hi All... When we run MK04 we get all the Field Changes Occured in the vendor Master. But if we notice it , we can see whenever we create initially ( very First Time) it shows eg Address data Created, but it doesnt show data in it ( what was created)

  • Encoding for FLV results in 10x larger file CS5 vs CS4

    I've recently upgraded to CS5 and the Media Encoder creates incredibly HUGE files compared to the CS4 media encoder. For example, I can convert a 15MB mpg file to a 12 MB flv file in CS4 using the preset  "FLV same as source" I do not find a matching

  • Do bugs in premiere demage projects in memory and/or on disk?

    Above this is clearly a bug and I've submitted a bug report already. Being a C programmer by myself I know very well what this can cause for havoc. My question is: has anybody noticed that their premiere project has become unusable through a crash/bu