Debugger debug Remotelly WebLogic Web Service - cannot connect

I've been able to debug locally when I'm leaving debug IntegratedWebLogicServer,
but I was not able to debug sure although I have deploied successfully to WebLogic Server and I got the correct result when testing SoapUI.
For the purpose of debugging make sure the simple web service described below, I did these steps on my environment:

On WebLogic
(1) in the WebLogic console, are part of the definition of AdminServer, I traveled to the Protocol > HTTP Tunneling and I checked.

(2) to startWebLogic.cmd I added:
set JAVA_OPTIONS =-Xdebug - Xnoagent - Xrunjdwp: transport = dt_socket, address = 4000, server = y, suspend = n % SAVE_JAVA_OPTIONS %

(3) in the setDomainEnv.cmd, I changed to be:
Set debugFlag = true
...
If '% debugFlag % 'is' true')
Set JAVA_DEBUG =-Xdebug - Xnoagent - Xrunjdwp: transport = dt_socket, address = % DEBUG_PORT %, server is y, suspend = n - Djava.compiler = NONE
set JAVA_OPTIONS = % JAVA_OPTIONS % enableHotswapFlag %-ea-da: com.bea-da: Javelin--da: weblogic... - ea:com.bea.wli... - ea:com.bea.broker... - ea:com.bea.sbconsole...
)
After this, I restarted the weblogic.

About JDeveloper
(4) in the project properties page > Run/Debug/Profile > Default > Edit:
I wrote the path to the HelloWorld.java on the default execution target area.
I checked the remote debugging

(5) I have a right-click the project and click Start Remote Debugger.
Set this to the JDPA debugger window I wrote LocalHost on host and on Port 4000.
In the window of my newspaper, I received this message:
"Debugger tries to connect to a remote process to 4000 LocalHost.
... Unable to connect to the Remote Debugger process. »

I expect to be able to call the web service of SoapUI and then stops on my breakpopint. What should I do?

The only suggestion found online, I did not was
«In order for JDeveloper work with WebLogic he will need a copy of the weblogic.jar file which can be found at \weblogic1001\server\lib [WLS-root], copy this file into the \jdev\lib\ext [jdev-root] directory and restart JDeveloper.»
(http://www.oracle.com/technetwork/developer-tools/jdev/remotedebugwls-086628.html) I have not found the path [jdev-root] \jdev\lib\ext in my computer.


My Sources:

HelloWorld.java
package demo;
Import javax.jws.WebService;
Import javax.xml.ws.BindingType;
Import javax.xml.ws.soap.SOAPBinding;
@WebService (portName = "HelloWorldSoap12HttpPort")
@BindingType (SOAPBinding.SOAP12HTTP_BINDING)
public class HelloWorld {}
public String sayHello (String firstname, String lastname) {}
Return "Hello" + firstname + "" + lastname;
}
}

Web.Xml
<? XML version = "1.0" encoding = "windows-1252"? >
< web - app xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
xsi: schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd".
version = "2.5" xmlns = "http://java.sun.com/xml/ns/javaee" >
< servlet >
< name servlet - > HelloWorldSoap12HttpPort < / servlet-name >
< servlet-class > demo. HelloWorld < / servlet-class >
< load-on-startup > 1 < / load-on-startup >
< / servlet >
< servlet-mapping >
< name servlet - > HelloWorldSoap12HttpPort < / servlet-name >
<>url-pattern / HelloWorldSoap12HttpPort < / url-pattern >
< / servlet-mapping >
< / web - app >

Find out which port is actually used by your WLS for debug.
Some instructions here:
http://thirumalaisamyt.blogspot.com/2012/10/JDeveloper-remote-debugging.html

Tags: Java

Similar Questions

  • Web service cannot connect

    Web service noconnection

    Web service have no connection

  • VSphere Web Client cannot connect to the server vCenter Single Sign On.

    I'm running the virtual appliance of the trial 5.5.0.20400 build 2442330 on ESXi 5.5.0, 2068190

    While I try to log on to the Web Client, I get this error.  VSphere Web Client cannot connect to the server vCenter Single Sign On.

    I put fallow the steps to disable SSO by changing the webclient.properties line add file and ad sso.enabled = false .    Then on the vCenter Server Appliance, restart the vSphere client service by typing service vsphere-client restart .

    I enclose the reference files.

    All ideas will be useful


    This answer was simple, all I had to do was remove the # in front of the statement in the file.   and SSO has been disabled after the restart of the service.

  • Weblogic Web service timeout

    Hello

    I have user JDev 11.1.2.4 with weblogic 10.3.6, I create the web service and deploy to weblogic server, how can I set expire for weblogic webservice? can I do this? If this is not the case, what is the code I have to add in the project?

    Hi channel with me work, I put the two parameters (Idle Connection Timeout, Connect Timeout) 10 10 seconds, but when I test web service some time take more than 10 seconds without stopping, and appear also to monitor the connection of channel 1, which means its still live after 10 seconds.

  • I can't activate web services after connecting my hp1415fnw? I am connected to a wired network

    I recently bought a hp CM1415fnw.  I am connected to a wired network, being able to print to the printer, can it ping, but when I go to the page to enable the Web Service I can't enable web services.

    smitty83hp,

    When you are on the web server for your printer:

    1. Click the Web Services tab.
    2. Click the Proxy settings
    3. Unless your Internet service provider has a Proxy Server, which you know, the box must be unchecked and server fields and the Port must be empty.
    4. Enable Web Services on the homepage of the Web Services tab.
  • weblogic Web services

    Hi all

    I'm on the development of an application j2EE, weblogic and Jboss servers and I intend to use web services to access the external data. So I had to search for web services implementations that fit well with my needs. I read that Rest and SOAP are the two main categories and I went to the rest, because it is no longer used those recently. for the category of rest, I read that JAX - RS are more complete implementation. the most used framework used and that implements JAX - RS is Apache CXF, Jersey, RESTEasy...

    I want to go for CXF, as it of an Apache software and supports SOAP as well (in case I need to return to the SOAP), but I had no idea if my choices will be good and practical web services in particular weblogic.

    Can you please give me your opinion on my selection and the framework that fits well with the weblogic service (10.3.6 and above)

    Thank you

    Best regards.

    Default WebLogic has a frame of webservice work services. It supports SOAP. It takes care of all the party webservices.jars 3rd, provided him clearly tell the server where to pick them of / use.

    Is this all you want?

    Kind regards

  • HP LaserJet Professional P1606: HP Web Services Installation - connection error. Check the Internet connection.

    I try to activate the Services Web of HP but connection error. Check the Internet connection. .

    I use the static ip address with the address of the preferred DNS: 8.8.8.8 and 8.8.4.4 and it does not work.

    I changed to DHCP as it does not work.

    I have a ZTE home modem router connected to the printer.

    The link below should help you.

    http://h30434.www3.HP.com/T5/user/viewprofilepage/user-ID/2585903

    Kind regards

    Oliver

  • Full service then no appeal abandoned service cannot connect to the Tower

    Posted to help others:

    I bought an iPhone 6 s it took 3 hours for Verizon connect my phone to my new Verizon account. The phone would display full service bars then, slide an or no service in bars. the phone was finally connected but may 2016 so far I sill experience the same problem of poor or no service call and dropped. Often the phone will not even scream or try to connect to the network.  Apple has replaced the phone 3 x but with no. change my service problems. Verizon and Apple senior level tech support spent to treat 30 + hours on the phone with me trying to solve this problem. We replaced the SIM cards without change. When I put the SIM card in my iPhone 6 it works fine. Full don't signal any calls interrupted and service when roaming. Back in the 6s and no service in the same place. Put the SIM card in the other Iphones not without problem.  If roaming is enabled, phone often it will not conbect to the tower at all. WiFi call is disabled and LTE voice data are on. I've disabled CDMA and data with little or no change with the problem. When iphone 6s loses the service and I toggle airport power phone it will display momentarily full service bars, then the bars one or not, while remaining connected to LTE. In some areas, I can receive calls but can not shout. Sometimes I can txt use data without showing on my plan as using FaceTime and can use the internet. The order indicated above of multiservices to no service happens within 10 seconds repeat throughout the day all areas companies Verizon towers and riaming towers. Verizon finally got the iPhone 6 s to work with full signal across remote I've ever had service, but continue to hamper the not being able to call in roaming. Shortly after that, the phone back to old habits after that they tried to solve the roaming problem.

    After 5 months of no stop calls to Verizon senior level tech supports on September 22, a high tech support tech senior level line finally came to the conclusion after 3 hours of troubleshooting determined it is a software problem Apple 100%. It determined that the phone for a month not was not connected totally to Verizon even if I used it. There to reset the SIM card and the network settings on the phone several times during this period to have the phone drop any connection after initial power that showed a full service then dropped the LTE then, he loses all the bars of service then shows no bar service then no service what so ever in 10 seconds. This was the problem with this phone on the first day.

    He explained that he has heard of what is happening and that Apple is currently working on a solution, but will not be out until possibly October 2016. He also said that this problen is happening now with new models Iphone 7.

    HE then stated that a specific sequence is usually not used must be used to reset the network settings by releasing the bug fix.

    How to restore your device
    1. First of all, back up your device using iTunes or iCloud so you don't lose any personal information.
    Note: If this is the first time that you have saved on iCloud, it may take time for several reasons (speed of Wi - Fi, amount of info on your device).
    2. Connect to iTunes to restore your device.
    3. Choose "Set Up as new".
    4. Make sure you that you connect to iCloud with your Apple ID so that only your contacts are re-added. Do not re - add photos, music or applications as they can be the source of your problem.
    5. Set up your email.
    6. Test for the next few days to determine if your problem has been resolved.
    7. Restore your backup from iTunes or iCloud.
    Note: If you have a food problem, try to use the recovery mode.

    I hope this helps someone it is to have the same problems. I'm waiting to see if the bug fix works otherwise I'm going to an android phone. It has been too long a process without having a phone that works.

    I have the same problem - it has taken far too much time out of my weekend to try to resolve this problem. In addition, the Apple support person I spoke on the phone was very condescending.

    I've read elsewhere that change the LTE cell Options > Data Only will not solve the problem. So far, this seems to have worked for me.

  • System Event Notification service - cannot connect to a Windows Service. Windows could not connect to the System Event Notification service

    I am unable to connect to my network wireless with my laptop Sony, (Vista home premium). This follows an infection in my desktop PC with a Trojan which did not stop, but slow internet browsing. I reinstalled vista windows on the pc and it works fine now bur my still gives mobile me this message. "Unable to connect to a Windows Service. Windows could not connect to the System Event Notification service. This problem prevents limited users to logon to the system. As an administrator, you can view the system event log to see why the service did not respond. "I am the administrator on my pc and laptop. I tried to change the user nothing helps. I use Vista Home Premium Service Pack 1. Intel Core 2Duo T7250 2 GHz. 2 GB of RAM. 32-bit. Sony Vaio FZ31M. If you can give me instructions on how to remedy the situation, it would be appreciated. Thank you, Tony

    Hi 1234Tony,

    First of all, I suggest you that you also scan your laptop for infection by the virus. Second, reset TCP/IP stack Winsock settings. This could correct mistakes involving internet connectivity as a result of problems of installation of network software, due to a virus, trojan or malware infection or even due to disinfection of spyware security software.

    To repair and put back the Windows Vista

    1. Click the Start button.
    2. Type Cmd in start it the search text box.
    3. Press Ctrl-Shift-Enter keyboard shortcut to run command as administrator prompt. Allow elevation request.
    4. Type netsh winsock reset in the command line shell, and then press the Enter key.
    5. Restart the computer

      If please reply and let us know if your problem is resolved or if you need further assistance

    David O
    Microsoft Answers Support Engineer
    Visit our and tell us what you think.

  • Vsphere web client cannot connect to the authentication unique vcenter server, how to solve this problem.

    After the upgrade to 5.1, I've been running into this error a lot.  For some reason, the SSO service appears to stop working after about a week and requires a restart to get it online.  Anyone know a way to keep this service and requires no weekly restart my server vcenter which SSO, inventory and vcenter installed on it?  Is there a service that I can restart or something like that?

    In my case, the VCVA began on a new host, and time has not been properly synchronized.  Set time, no more error.

  • The College I attend web services cannot be seen on Firefox 4. How can I download an older version?

    I spoke with tech support at school and they said that I can't look at their website with Firefox4 or Internet Explorer 9. Where can I get an older version of Firefox to. thanks

    You can get Firefox 3.6 http://www.mozilla.com/en-US/firefox/all-older.html

  • eFax already register, cannot connect to the internet.

    After tapping on the eFax print application, you receive error message "unable to connect to the internet, please activate the web services or connection eFax app."

    Steps below are ONLY if your eFax app had previously been setup.  A problem of synchronization as the eFax print requires HP Web Services to connect to the server.

    Note: eFax Soft printing is ONLY available pre-installed on select HP printers.

    1. press on the icon of web services in the upper left corner of your printer.

    For the brief moment the printer say loading its actually re-sync with the server ePrint to load the email address of the current x.     You should be able to press home, then press print eFax app for the previously saved eFax number.

    NOTE: ePrint service: STOP will cause the same error message as ePrint is required to connect to the internet.

    Press settings.

    Tap ePrint, then tap activate ePrint characteristic of service.

    Try tapping the Home button, then select eFax print app to see a previously saved eFax number.

    Note: If it does not, the selection to print the report in the web services menu above requires the printer to reconnect to the ePrint server and automatically resynchronize with eFax server.

    2. If the previous steps do not resolve the "cannot connect to internet" error message, you may need to adjust the network settings on the printer.   See post below.

    http://h30434.www3.HP.com/T5/printer-all-in-one-install-Setup/unable-to-connect-to-Internet-through-...

    ________________________________________________________
    Say 'Thank you' by clicking on the Blue Star of congratulations in the post helped you.
    Please indicate the position that solved your problem as "accepted Solution"; Therefore, it is easier for others to find.

    I am an employee of HP.

    Thank you!

  • How to configure a web service primavera to return the data in the second database?

    Hello world


    We have P6 with WS first deployment on a single weblogic domain server. The first WS returns the first instance of database data.

    Then deployed to the WS second tip on a weblogic domain server separated with a different port. Set up the second WS with < WS2_INSTALL_HOME > / bin/dbconfig.sh, creating a new branch a configuration that specifies one second instance of the database. However, this configuration is ignored, and the second web services return data from the database.

    We have a single domain, including notably the following servers:

    Name / host / Port / deployments

    P6 / localhost / 0001 / P6 (v8.3), p6ws1 (v8.3)

    p6ws2 / localhost / 0002 / p6ws2 (v8.3)

    We have now two different files BREBootstrap.xml.

    P6 BREBootstrap.xml:

    < database >

    < URL > JDBC:Oracle:thin:@db1:1521:db1 < / URL >

    < user name > pubuser < / name >

    password <>anycriptopass1 < / password >

    oracle.jdbc.OracleDriver < driver > < / driver >

    < PublicGroupId > 1 < / PublicGroupId >

    < / data >

    < CfgVersion > 8.330 < / CfgVersion >

    <>configurations

    < name BRE = 'P6 Config_DB1"instances ="1"logDir ="anydir, P6EPPM, p6, PrimaveraLogs"/ >

    < / configuration >

    p6ws2 BREBootstrap.xml:

    < database >

    < URL > JDBC:Oracle:thin:@DB2:1521:DB2 < / URL >

    < user name > pubuser < / name >

    password <>anycriptopass2 < / password >

    oracle.jdbc.OracleDriver < driver > < / driver >

    < PublicGroupId > 1 < / PublicGroupId >

    < / data >

    < CfgVersion > 8.330 < / CfgVersion >

    <>configurations

    < name BRE = 'P6 Config_DB2"instances ="1"logDir ="anydir, P6EPPM, ws2, PrimaveraLogs"/ >

    < / configuration >

    "P6 Config_DB1" and "P6 Config_DB2" including the property database for the database 1 and 2 respectively.

    How to set up a second web service to return the data to the second database?


    Thanks in advance!


    Kind regards

    Dmitry

    So, answer oracle support:

    Looks like it is in the documentation, Web Services cannot be configured in this way as the other modules. See the following topics:

    BUG 19516437 - Is it POSSIBLE TO hardcode a DEPLOYMENT of SERVICES WEB P6 to an INSTANCE of DATABASE? (ask if this is possible)

    BUG 19579735 - FOR BEING ABLE to hardcode A P6 WEB SERVICES DEPLOYMENT to A DATABASE INSTANCE (corresponding improvement because it can be done).

    The problem has been resolved by the following:

    1 create the WebLogic domain.

    2 P6 and p6ws deployed on managed servers.

    3 configuration P6 uses the second instance of database and P6 has not begun.

    4 result: the p6ws (from additional domain WebLogic) returns data for the second instance of the database.

    Kind regards

    Dmitry

  • Basic authentication with the RESTful WEb service and a Web Service reference

    Hi all

    We have made significant progress on getting an application to work with RESTful web services, but are now trying to understand how to lock a RESTful Web service while making it available for a particular application.

    We use one of the 'emp' table sample web services come with Apex 4.2 and are trying to apply the Basic Auth to the WEb Service using Weblogic filter defined in the web.xml file. Which works very well. I now get challenged when I try to go to:

    https://wlogic.edu/Apex/BNR/ACE/HR/empinfo/

    And when I authenticate this challenge, I am able to get the data. (we are usiing the Weblogic-level LDAP authentication)

    However, I'm not sure how to get even basic authentication to work with Web Service reference in my application. I see the error message in the application when I try to call this Web Service:

    401 Unauthorized <

    And I see:
    "The request requires user authentication. It MUST contain a header field WWW-Authenticate (section 14.46) containing a fault that is applicable to the requested resource. The client MAY repeat the request with a suitable authorization (section 14.8) header field. If the request already includes identification of the authorization information»

    How can I provide the credentials in the Web reference or provide credentials in the Application?
    Web service works fine if I remove the auth basic RESTful web service in the Web.xml file.

    We should NOT use basic auth and auth Weblogic web service definition basic RESTful Workspace use instead. If so, how would we implement THIS basic authentication in the definition of Web Service and the Web SErvice reference on the application?

    Thank you
    Pat

    Hello Scott,

    Thank you. There is a function for rest in the package:

    function make_rest_request(
    --
    -- This function invokes a RESTful Web service with the supplied name value pairs, body clob, or body blob
    -- the response as an clob.
    --
    -- Arguments:
    --   p_url                  The url endpoint of the Web service
    --   p_http_method          The HTTP Method to use, PUT, POST, GET, HEAD or DELETE
    --   p_username             The username if basic authentication is required for this service
    --   p_password             The password if basic authentication is required for this service
    --   p_proxy_override       The proxy to use for the request
    --   p_body                 The HTTP payload to be sent as clob
    --   p_body_blob            The HTTP payload to be sent as binary blob (ex., posting a file)
    --   p_parm_name            The name of the parameters to be used in name/value pairs
    --   p_parm_value           The value of the paramters to be used in name/value pairs
    --   p_wallet_path          The filesystem path to a wallet if request is https
    --                          ex., file:/usr/home/oracle/WALLETS
    --   p_wallet_pwd           The password to access the wallet
    --
        p_url               in varchar2,
        p_http_method       in varchar2,
        p_username          in varchar2 default null,
        p_password          in varchar2 default null,
        p_proxy_override    in varchar2 default null,
        p_transfer_timeout  in number default 180,
        p_body              in clob default empty_clob(),
        p_body_blob         in blob default empty_blob(),
        p_parm_name         in wwv_flow_global.vc_arr2 default empty_vc_arr,
        p_parm_value        in wwv_flow_global.vc_arr2 default empty_vc_arr,
        p_wallet_path       in varchar2 default null,
        p_wallet_pwd        in varchar2 default null ) return clob;
    

    My point was that using the API makes things easier if you have to look for a solution.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • HP 7520 cannot connect: scanner HP 7520 unable to connect to Web Services - by e-mail is no longer work

    Cannot connect my printer to web services. It only allows me to send to analyze more.

    I tried a number of things here. I'm about to throw the HP printer out the window at this point and NEVER buy another product from them again. Can anyone help?

    Hey @kevinbh,

    Welcome to the Forum from HP Support.

    I see you are having a problem connecting to the Web services with your Photosmart HP 7520 e-all-in-one printer. I want to help you with this. I have some suggestions that might help.

    I addressed this issue in another thread. Click here and proceed as described under the heading "common remedies. Please let me know the result of your troubleshooting by responding to this post.

    If I helped you to solve the problem and that you liked this post, feel free to express your thanks by clicking the "Thumbs Up" icon below by clicking on "Accept as Solution" (this will help others find the solution).

    Thanks for posting in the Forum from HP Support.

    Have a great day!

Maybe you are looking for