How to use the classpath defined in a manifest file when debugging

Using Jdeveloper 10.1.3.3.0 (or any version)
I'd like to be able to debug using an executable jar which specifies my classpath and main class, without having to manually add all the jars to my debug configuration. Is there a way the debugger can extract that information from the manifest?
The set of jar files included in my classpath varies depending on which client configuration the client wants to run and we could potentially have a hundred different configurations so there isn't an easy way to manage static libraries. Currently I have to open the jar, extract the manifest and manually add the jars so I can debug. Which is really painful when the configuration can change each time I run. The manifest and jar file are created at runtime based on what client configuration the user is trying to run and there can be multiple versions of a jar file in the directory with mangled names - so I can't just include all the jars.
Any ideas?

Run the program from command line, this way you will see the errors, if any.
example.: java -jar theJarfile.jar
I was successful in creating a comm application. I placed the win32com.dll in the same directory of my application jar file and all worked.
I also extracted the comm.jar , and jar'd my app with the extracted comm files to make one jar.
I also had a fileWriter() to get the clients jre path and my app would write the javax.properties file to the correct place.
It took me severel weeks and late nights to accomplish this, but it was all necessary to be able to install only my app, and not a bunch of api's that were needed.

Similar Messages

  • How to use the same element in different photoshop files?

    It occurs to me often that I use the same element in different photoshop files, a header or footer shown in the example below. So when the footer changes in one document, I need to change this footer in every other single document.
    Is there a possibility to use some kind of template, one single document,  that can be placed in different files , which is still editable afterwards?
    Thanks in advance.
    I'm using Photoshop CS6

    In a single document you can have several pages and these pages may have headers and footers that share smart objects.  If you replace the contents of the an embedded smart object on one page page that is shared on an other page the pages you will see both pages contents are changed. For they share the common object.   It is also possibly to have independent smart object layers. It depends how you create the layers in the single document.
    Example one sharing a smart object hi-light a smart object layer and use menu layer>Duplicate Layer... This will create a second smart object layer that share a common smart object. Each layer has is own associated transform. Do it again and you will have three layers the share a common smart object. So you can use each layer associated transform to position and size the layers contents. Make a picture package for example. When you hi-light any of the three smart layers and you use menu Layer>Smart Objects>Replace Contents... all three layers contents will be replace with the new smart object.  Care must be taken to replace the smart object with an identical size object for only the object is replaced the three associated transform for the three layers are not replaced or changed.
    Example two independent smart objects  hi-light a smart object layer and use menu layer>Smart Objects>New Smart Object via Copy.  This will  create a second smart object layer that has it own embedded smart object copy.  Do it again and you will have three all have independent embedded smart object that are identical.  However they do not have to remain identical.  For example if the first smart object layer was created by using ACR to open a RAW file as a smart object layer the embedded object is a copy of the raw file and its associated RAW conversion settings.  Double clicking on one of the smart object layers and you will see ACR open on its embedded RAW file with the embedded RAW conversion setting.  Changing these settings will update the layer smart object content with new ACR setting and pixel when you click OK in ACR. Repeat for the third and you will find you have three different raw conversions in Photoshop you can mask and blend together to bring out detail.
    I think what your missing is that a smart object contains a copy of the original object.  Changing the original after creating a smart object layer in document will not effect the smart object layer at all. Its independant from the original having a copy of the original. Only changes to the smart object layer and its embedded smart object effect smart object layers.

  • How to use  the same channel to send a file and messages to the server

    I'm trying to develop a simple program that will send and receive files from the server and in the same time I need to communicate with the server through the messages
    I'm using TCP Socket
    my problem is
    I have only one channel
    so, I have no option, either I can use it for sending the file itself or sending the message .. but not both !
    my question is : How can I use the same channel for sending and receiving (file & message)
    I would appreciate for any clue or hint
    best

    kajbj wrote:
    kmarwani wrote:
    Thanks for reply
    yes, that what I'm thinking to do
    but, in case of sending binary file, if I attached a flag on its header, will it corrupt the file ?
    bestThe other end would of course need to decode the messages that you get, and only write the "data" part to the file.Thanks
    I'm gonna try to hard-code what you suggest and i will post what happen with me here
    even though I'm not sure how can I add header to a binary file and remove it from the file at other end. (coz I read it as stream and send as array without touching its contents)
    this how I'm sending the file
    ConnSocket = CSocket.accept();
    ToClient = new DataOutputStream(ConnSocket.getOutputStream());
    File myFile = new File("abc.jpg");
    FileInputStream myFileInStream = new FileInputStream(myFile);
    BufferedInputStream mybuffInStream = new BufferedInputStream(myFileInStream);
    myBytArray = new byte[(int) myFile.length()];
    mybuffInStream.read(myBytArray, 0, myBytArray.length);
    ToClient.write(myBytArray, 0, myBytArray.length);
    ToClient.flush();
    myFileInStream.close();best

  • How to use the COMM API in a JAR file

    I have developed an application, using the NetBeans IDE, to communicate with a modem over the COM1 serial port using the Java Comm API. The application works fine within the IDE, but when a JAR file is created and "double-clicked", the application launches correctly, but when the code is executed to "talk" over the COM1 serial port - nothing happens. No exceptions and no warnings are thrown. My environment is XP, SP1.
    The manifest file is as follows:
    Manifest-Version: 1.0
    Class-Path: ../j2sdk1.4.2/jre/lib/ext/TimerBean.jar ../j2sdk1.4.2/jre/
    lib/ext/AbsoluteLayout.jar ../j2sdk1.4.2/jre/lib/ext/comm.jar
    Created-By: NetBeans IDE
    Specified-By: Projects/TheApp/Files/TheApp.jarContent
    Main-Class: Main
    According to the Comm API installation instructions, the following files are copied:
    copy comm.jar \j2sdk1.4.2\jre\lib\ext
    copy wind32com.dll \j2sdk1.4.2\bin
    copy javax.comm.properties \j2sdk1.4.2\jre\lib
    I suspect it has something to do with the paths.
    Any help would be greatly appreciated. Thanks.

    Thanks for your input, but after trying what you suggested the problem still exists. I think your right to be suspicous of the javax.comm.properties file. The application, that worked in the IDE, exhibits the same behavoir as the JAR file if the javax.comm.properties file is removed from the ../jre/lib directory. In other words it compiles correctly in the IDE, but when executed, nothing happens when the code that "talks" to the serial port is run.
    I've tried moving the javax.comm.properties file into the working directory. Also, the CLASSPATH and PATH system variables were modified to include the path to javax.comm.properties.
    If you have anymore ideas, please let me know.
    Thanks.

  • How to indicate the Schema path for a XML file when parsing?

    I have to validate a XML file. At the header line of this file, I need to specificate only the name of the schema but not the full path:
    <DATAMODULES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Datamodules.xsd">
    When validating, there is any way to specify to the parser the correct location of the XSD file?
    I know I could copy the XSD file to the XML file directory or vice versa, but I cannot do that and I need a software solution.
    Could someone help me?

    An External Parsed Entity could be used to reference a schema.
    In your DTD:
    <!ENTITY datamodules SYSTEM "file:///c:/Datamodules/Datamodules.xsd">
    Refer the external entity in xml document:
    <datamodules>&datamodules;</datamodules>

  • How to use the structure in the EXIT_SAPMM06E_013 function module

    Hello Experts,
    Please guide me how to use the structure defined in function modules under  table tab in the driver program for smart form to fetch the data. Please post some sample code if available.
    Best Regards,
    Sandesh.Sreyamsh

    Can you please elaborate little bit more what is the actual requirement?

  • How to catch the user defined  exception in application service

    Hi All,
    How to catch the user defined  exception in application service  when it is throwed by the external service..
    Regards,
    Thirumurugan.

    Hi,
        Thanks for your reply,
            Actually I  am calling validate Login method of External service from the application service. When the login fails, my external service will throw user defined Exception.I want to catch the user defined Exception.
        But in the application service , validate Login method can catch  only Invocation Exception and Engine Exception.
       These two exception are present in the Application service remote interface.
      public com.sap.comptest.extsrv.accrjavawsvi__document.output.
    Ns1_validateLoginResponse validateLogin(com.sap.comptest.extsrv.accrjavawsvi__document.input.Ns1_validateLogin input) throws com.sap.caf.mp.base.exception.InvocationException, com.sap.caf.mp.base.exception.EngineException;
    User defined exception is not present there. When i include the webservice as external service in CAF, it suppossed to generate the java file for the custom exception of validate Login method and this generated file should be included in the application service remote interface..
    public com.sap.comptest.extsrv.accrjavawsvi__document.output.
    Ns1_validateLoginResponse validateLogin(com.sap.comptest.extsrv.accrjavawsvi__document.input.Ns1_validateLogin input) throws com.sap.caf.mp.base.exception.InvocationException, com.sap.caf.mp.base.exception.EngineException,
    (generated file name of user defined Excpetion.
      Then only  validate login method  of application service can catch  the user defined Exception which is thrown by the  external service.
    regards,
    Thirumurugan.p

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • I have been interested in how lightroom uses the catalog so was poking around a backup of the catalog. I found it rather concerning that although the database (catalog) is pretty well designed, there is no referential integrity defined or enforced.

    I have been interested in how lightroom uses the catalog so was poking around a backup of the catalog.  I am a database administrator and I found it rather concerning that although the database (catalog) is pretty well designed, there is no referential integrity defined or enforced. This is non-standard practice and could well be the source of corrupt catalogs I have seen many people complain about. I would strongly recommend the developers modify the catalog and adopt best practices if they want to improve the stability of Lightroom and the catalog.

    I would imagine that data integrity is not enforced for performance reasons. In a closed environment like LR where the application has complete control over the data, enforcing data integrity may not be worth the performance hit. Often what is done in an environment like this is to have data integrity on in test environments which would expose data integrity bugs but where the impact of performance is low. In "production" it is then turned off to get as much performance as possible. I would say there are many more complaints about performance than corrupt catalogs. And corrupt catalogs are more likely due to interruptions in writing to the catalog (like crashes, backups or dropbox activity while LR is running, etc). Data integrity would not help in these cases as they are outside the databases control.

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • HOW TO: Use the XML parser in Oracle 8.1.7

    I am trying to figure out how to use the xml parser provided in oracle 8.1.7. all i want to do is parse a xml report that is defined using a schema, and place the data into the proper tables. i am totally unfamiliar with the xml parser and how it works. i have done some reading on the subject, but seem to be getting some conflicting infromation about which utilites i need and how to invoke them. can someone please tell me what utilities i need, how to invoke them, and what i need to do to get a xml document to parse and insert to a table? I would greatly appreciate any help anybody could offer. thanks.

    You can parse the XML Document with XML Parser and place the data into database using XSU(XML SQL Utility).
    Both of these are included in XDK for Java at:
    http://otn.oracle.com/tech/xml/xdk_java
    The following document could also help:
    Oracle9i XML Developer's Guide--XDK [PDF] at http://otn.oracle.com/tech/xml/doc.html

  • How to use the change log in ODS to track Delta change?

    People say that historical data (like Delta change) in ODS can be tracked in the Change Log.  How to use the change log to track historic data?
    Thanks

    Kevin
    See if it helps
    Every ODS object is represented on the database by three transparent tables:
    Active data: A table containing the active data (A table)
    Activation queue: For saving ODS data records that are to be updated but that have not yet been activated. The data is deleted after the records have been activated.
    <b>Change log: Contains the change history for delta updating from the ODS Object into other data targets, such as ODS Objects or InfoCubes for example.</b>
    An exception is the transactional ODS object, which is only made up of the active data table.
    The tables containing active data are constructed according to the ODS object definition, meaning that key fields and data fields are specified when the ODS object is defined. Activation queue and change log are the same in the table’s structure. They have the request ID, package ID and the record number as a key.
    Data base structure changes
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/d53ec3efdc9b47a9502c3a4565320c/frameset.htm
    Hope this helps
    Thnaks
    Sat

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

  • How to use the static lib of berkeleydb in VC6?

    I know there is a libdb45s.lib. But when I try to link my project to it, VC6 reports many errors. Even the getting start examples cannot link correctly. The documents coming with berkeley db do not tell me how to link project to the lib, no matter static or dynamic.
    Could anyone tell me how to use the static lib libdb45s.lib and how to link it properly?
    OS: Windows XP pro SP2
    IDE: Virsual C++ 6.0 sp6
    BDB: 4.5.20
    Here is what I have done to link the libdb45s.lib:
    1.Add BDB related diretorys to VC6 link/lib dirs
    2.Add #include <db.c> to my .cpp file, I use the C API
    3.Change Project Options
    Link-> Libs/Objects-> add "libdb45s.lib"
    C/C++-> code generation-> Use Run Time Library-> MutiThreaded
    Link-> Ignore Library-> MSVCRT
    4.Build, here is the output, hope it would be some help:
    --------------------Configuration: wordseg - Win32
    Release--------------------
    Linking...
    LINK : warning LNK4049: locally defined symbol
    "_fflush" imported
    LINK : warning LNK4049: locally defined symbol "__iob"
    imported
    LINK : warning LNK4049: locally defined symbol
    "__errno" imported
    LINK : warning LNK4049: locally defined symbol
    "_malloc" imported
    LINK : warning LNK4049: locally defined symbol
    "_realloc" imported
    LINK : warning LNK4049: locally defined symbol "_free"
    imported
    LINK : warning LNK4049: locally defined symbol
    "_fclose" imported
    LINK : warning LNK4049: locally defined symbol
    "_fopen" imported
    LINK : warning LNK4049: locally defined symbol
    "__pctype" imported
    LINK : warning LNK4049: locally defined symbol
    "___mb_cur_max" imported
    LINK : warning LNK4049: locally defined symbol
    "__isctype" imported
    LINK : warning LNK4049: locally defined symbol
    "_strchr" imported
    LINK : warning LNK4049: locally defined symbol
    "_printf" imported
    LINK : warning LNK4049: locally defined symbol
    "_strncmp" imported
    LINK : warning LNK4049: locally defined symbol
    "_strncpy" imported
    LINK : warning LNK4049: locally defined symbol "_atol"
    imported
    LINK : warning LNK4049: locally defined symbol
    "_getenv" imported
    LINK : warning LNK4049: locally defined symbol
    "__open" imported
    LINK : warning LNK4049: locally defined symbol
    "__close" imported
    LINK : warning LNK4049: locally defined symbol
    "_strftime" imported
    LINK : warning LNK4049: locally defined symbol
    "_memmove" imported
    LINK : warning LNK4049: locally defined symbol
    "_strtoul" imported
    LINK : warning LNK4049: locally defined symbol
    "_fwrite" imported
    LINK : warning LNK4049: locally defined symbol
    "_fgetc" imported
    LINK : warning LNK4049: locally defined symbol
    "_strtol" imported
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved
    external symbol __imp__strerror
    libdb45s.lib(db_getlong.obj) : error LNK2001:
    unresolved external symbol __imp__strerror
    libdb45s.lib(qam_verify.obj) : error LNK2001:
    unresolved external symbol __imp___snprintf
    libdb45s.lib(mp_mvcc.obj) : error LNK2001: unresolved
    external symbol __imp___snprintf
    libdb45s.lib(repmgr_util.obj) : error LNK2001:
    unresolved external symbol __imp___snprintf
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp___snprintf
    libdb45s.lib(env_region.obj) : error LNK2001:
    unresolved external symbol __imp___snprintf
    libdb45s.lib(log_put.obj) : error LNK2001: unresolved
    external symbol __imp___snprintf
    libdb45s.lib(qam_files.obj) : error LNK2001:
    unresolved external symbol __imp___snprintf
    libdb45s.lib(db.obj) : error LNK2001: unresolved
    external symbol __imp___snprintf
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved
    external symbol __imp___snprintf
    libdb45s.lib(db_pr.obj) : error LNK2001: unresolved
    external symbol __imp___snprintf
    libdb45s.lib(env_failchk.obj) : error LNK2001:
    unresolved external symbol __imp___snprintf
    libdb45s.lib(env_register.obj) : error LNK2001:
    unresolved external symbol __imp___snprintf
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved
    external symbol __imp___vsnprintf
    libdb45s.lib(log_debug.obj) : error LNK2001:
    unresolved external symbol __imp___vsnprintf
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved
    external symbol __imp__vfprintf
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved
    external symbol __imp__fprintf
    libdb45s.lib(db_pr.obj) : error LNK2001: unresolved
    external symbol __imp__fprintf
    libdb45s.lib(db_getlong.obj) : error LNK2001:
    unresolved external symbol __imp__fprintf
    libdb45s.lib(os_errno.obj) : error LNK2001: unresolved
    external symbol __imp__WSASetLastError@4
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__WSAGetLastError@0
    libdb45s.lib(os_errno.obj) : error LNK2001: unresolved
    external symbol __imp__WSAGetLastError@0
    libdb45s.lib(repmgr_method.obj) : error LNK2001:
    unresolved external symbol __imp__WSAGetLastError@0
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol __imp__WSAGetLastError@0
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__WSAGetLastError@0
    libdb45s.lib(env_open.obj) : error LNK2001: unresolved
    external symbol __imp__strncat
    libdb45s.lib(mut_win32.obj) : error LNK2001:
    unresolved external symbol __imp___getpid
    libdb45s.lib(os_pid.obj) : error LNK2001: unresolved
    external symbol __imp___getpid
    libdb45s.lib(txn_chkpt.obj) : error LNK2001:
    unresolved external symbol __imp__time
    libdb45s.lib(env_stat.obj) : error LNK2001: unresolved
    external symbol __imp__time
    libdb45s.lib(rep_record.obj) : error LNK2001:
    unresolved external symbol __imp__time
    libdb45s.lib(rep_backup.obj) : error LNK2001:
    unresolved external symbol __imp__time
    libdb45s.lib(env_recover.obj) : error LNK2001:
    unresolved external symbol __imp__time
    libdb45s.lib(txn_region.obj) : error LNK2001:
    unresolved external symbol __imp__time
    libdb45s.lib(log.obj) : error LNK2001: unresolved
    external symbol __imp__time
    libdb45s.lib(rep_region.obj) : error LNK2001:
    unresolved external symbol __imp__time
    libdb45s.lib(db_stati.obj) : error LNK2001: unresolved
    external symbol __imp__time
    libdb45s.lib(rep_util.obj) : error LNK2001: unresolved
    external symbol __imp__time
    libdb45s.lib(env_region.obj) : error LNK2001:
    unresolved external symbol __imp__time
    libdb45s.lib(txn.obj) : error LNK2001: unresolved
    external symbol __imp__time
    libdb45s.lib(db_idspace.obj) : error LNK2001:
    unresolved external symbol __imp__qsort
    libdb45s.lib(log_archive.obj) : error LNK2001:
    unresolved external symbol __imp__qsort
    libdb45s.lib(db_join.obj) : error LNK2001: unresolved
    external symbol __imp__qsort
    libdb45s.lib(mp_mvcc.obj) : error LNK2001: unresolved
    external symbol __imp__qsort
    libdb45s.lib(db_meta.obj) : error LNK2001: unresolved
    external symbol __imp__qsort
    libdb45s.lib(lock_list.obj) : error LNK2001:
    unresolved external symbol __imp__qsort
    libdb45s.lib(mp_sync.obj) : error LNK2001: unresolved
    external symbol __imp__qsort
    libdb45s.lib(txn_stat.obj) : error LNK2001: unresolved
    external symbol __imp__qsort
    libdb45s.lib(rep_record.obj) : error LNK2001:
    unresolved external symbol __imp__qsort
    libdb45s.lib(os_config.obj) : error LNK2001:
    unresolved external symbol __imp__wcscmp
    libdb45s.lib(env_config.obj) : error LNK2001:
    unresolved external symbol __imp__fgets
    libdb45s.lib(repmgr_method.obj) : error LNK2001:
    unresolved external symbol __imp__gethostname@8
    libdb45s.lib(os_open.obj) : error LNK2001: unresolved
    external symbol __imp___snwprintf
    libdb45s.lib(os_map.obj) : error LNK2001: unresolved
    external symbol __imp___snwprintf
    libdb45s.lib(os_unlink.obj) : error LNK2001:
    unresolved external symbol __imp___snwprintf
    libdb45s.lib(os_dir.obj) : error LNK2001: unresolved
    external symbol __imp___snwprintf
    libdb45s.lib(os_map.obj) : error LNK2001: unresolved
    external symbol __imp__wcsrchr
    libdb45s.lib(log_archive.obj) : error LNK2001:
    unresolved external symbol __imp___getcwd
    libdb45s.lib(lock_stat.obj) : error LNK2001:
    unresolved external symbol __imp__localtime
    libdb45s.lib(qam_files.obj) : error LNK2001:
    unresolved external symbol __imp__strrchr
    libdb45s.lib(ctime.obj) : error LNK2001: unresolved
    external symbol __imp__ctime
    libdb45s.lib(os_clock.obj) : error LNK2001: unresolved
    external symbol __imp___ftime
    libdb45s.lib(os_uid.obj) : error LNK2001: unresolved
    external symbol __imp__rand
    libdb45s.lib(os_uid.obj) : error LNK2001: unresolved
    external symbol __imp__srand
    libdb45s.lib(repmgr_msg.obj) : error LNK2001:
    unresolved external symbol __imp__ntohs@4
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol __imp__ioctlsocket@12
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol __imp__WSACleanup@0
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__WSACleanup@0
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol __imp__WSAStartup@8
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol __imp__WSASend@28
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol __imp__WSARecv@28
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol
    __imp__WSAEnumNetworkEvents@12
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol
    __imp__WSAWaitForMultipleEvents@20
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol __imp__WSAEventSelect@12
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__WSAEventSelect@12
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__WSAEventSelect@12
    libdb45s.lib(repmgr_windows.obj) : error LNK2001:
    unresolved external symbol __imp__WSACreateEvent@0
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__WSACreateEvent@0
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__WSACloseEvent@4
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__WSACloseEvent@4
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__closesocket@4
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__closesocket@4
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__accept@12
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__connect@12
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__socket@12
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__socket@12
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__htonl@4
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__htonl@4
    libdb45s.lib(getaddrinfo.obj) : error LNK2001:
    unresolved external symbol __imp__htonl@4
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__ntohl@4
    libdb45s.lib(repmgr_sel.obj) : error LNK2001:
    unresolved external symbol __imp__send@16
    libdb45s.lib(repmgr_util.obj) : error LNK2001:
    unresolved external symbol __imp__htons@4
    libdb45s.lib(getaddrinfo.obj) : error LNK2001:
    unresolved external symbol __imp__htons@4
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__listen@8
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__bind@12
    libdb45s.lib(repmgr_net.obj) : error LNK2001:
    unresolved external symbol __imp__setsockopt@20
    libdb45s.lib(getaddrinfo.obj) : error LNK2001:
    unresolved external symbol __imp__gethostbyname@4
    libdb45s.lib(getaddrinfo.obj) : error LNK2001:
    unresolved external symbol __imp__inet_addr@4
    Release/wordseg.exe : fatal error LNK1120: 47
    unresolved externals
    Error executing link.exe.
    wordseg.exe - 100 error(s), 25 warning(s)

    After adding MsWSock.Lib, WSock32.Lib, build returns following errors:
    (error count reduced from 100 to 71)
    --------------------Configuration: wordsegzjp - Win32 Release--------------------
    Compiling...
    main.cpp
    Linking...
    LINK : warning LNK4049: locally defined symbol "_fflush" imported
    LINK : warning LNK4049: locally defined symbol "__iob" imported
    LINK : warning LNK4049: locally defined symbol "_malloc" imported
    LINK : warning LNK4049: locally defined symbol "_realloc" imported
    LINK : warning LNK4049: locally defined symbol "_free" imported
    LINK : warning LNK4049: locally defined symbol "_fclose" imported
    LINK : warning LNK4049: locally defined symbol "_fopen" imported
    LINK : warning LNK4049: locally defined symbol "__pctype" imported
    LINK : warning LNK4049: locally defined symbol "___mb_cur_max" imported
    LINK : warning LNK4049: locally defined symbol "__isctype" imported
    LINK : warning LNK4049: locally defined symbol "_strchr" imported
    LINK : warning LNK4049: locally defined symbol "_printf" imported
    LINK : warning LNK4049: locally defined symbol "_strncmp" imported
    LINK : warning LNK4049: locally defined symbol "_strncpy" imported
    LINK : warning LNK4049: locally defined symbol "_atol" imported
    LINK : warning LNK4049: locally defined symbol "_getenv" imported
    LINK : warning LNK4049: locally defined symbol "__open" imported
    LINK : warning LNK4049: locally defined symbol "__close" imported
    LINK : warning LNK4049: locally defined symbol "_strftime" imported
    LINK : warning LNK4049: locally defined symbol "_memmove" imported
    LINK : warning LNK4049: locally defined symbol "_strtoul" imported
    LINK : warning LNK4049: locally defined symbol "_fwrite" imported
    LINK : warning LNK4049: locally defined symbol "_fgetc" imported
    LINK : warning LNK4049: locally defined symbol "_strtol" imported
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp__strerror
    libdb45s.lib(db_getlong.obj) : error LNK2001: unresolved external symbol __imp__strerror
    libdb45s.lib(qam_verify.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(mp_mvcc.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(repmgr_util.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(repmgr_net.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(env_region.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(log_put.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(qam_files.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(db.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(db_pr.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(env_failchk.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(env_register.obj) : error LNK2001: unresolved external symbol __imp___snprintf
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp___vsnprintf
    libdb45s.lib(log_debug.obj) : error LNK2001: unresolved external symbol __imp___vsnprintf
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp__vfprintf
    libdb45s.lib(db_err.obj) : error LNK2001: unresolved external symbol __imp__fprintf
    libdb45s.lib(db_pr.obj) : error LNK2001: unresolved external symbol __imp__fprintf
    libdb45s.lib(db_getlong.obj) : error LNK2001: unresolved external symbol __imp__fprintf
    libdb45s.lib(os_errno.obj) : error LNK2001: unresolved external symbol __imp___errno
    libdb45s.lib(env_open.obj) : error LNK2001: unresolved external symbol __imp__strncat
    libdb45s.lib(mut_win32.obj) : error LNK2001: unresolved external symbol __imp___getpid
    libdb45s.lib(os_pid.obj) : error LNK2001: unresolved external symbol __imp___getpid
    libdb45s.lib(txn_chkpt.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(env_stat.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(rep_record.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(rep_backup.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(env_recover.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(txn_region.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(log.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(rep_region.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(db_stati.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(rep_util.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(env_region.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(txn.obj) : error LNK2001: unresolved external symbol __imp__time
    libdb45s.lib(db_idspace.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(log_archive.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(db_join.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(mp_mvcc.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(db_meta.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(lock_list.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(mp_sync.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(txn_stat.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(rep_record.obj) : error LNK2001: unresolved external symbol __imp__qsort
    libdb45s.lib(os_config.obj) : error LNK2001: unresolved external symbol __imp__wcscmp
    libdb45s.lib(env_config.obj) : error LNK2001: unresolved external symbol __imp__fgets
    libdb45s.lib(os_open.obj) : error LNK2001: unresolved external symbol __imp___snwprintf
    libdb45s.lib(os_map.obj) : error LNK2001: unresolved external symbol __imp___snwprintf
    libdb45s.lib(os_unlink.obj) : error LNK2001: unresolved external symbol __imp___snwprintf
    libdb45s.lib(os_dir.obj) : error LNK2001: unresolved external symbol __imp___snwprintf
    libdb45s.lib(os_map.obj) : error LNK2001: unresolved external symbol __imp__wcsrchr
    libdb45s.lib(log_archive.obj) : error LNK2001: unresolved external symbol __imp___getcwd
    libdb45s.lib(lock_stat.obj) : error LNK2001: unresolved external symbol __imp__localtime
    libdb45s.lib(qam_files.obj) : error LNK2001: unresolved external symbol __imp__strrchr
    libdb45s.lib(ctime.obj) : error LNK2001: unresolved external symbol __imp__ctime
    libdb45s.lib(os_clock.obj) : error LNK2001: unresolved external symbol __imp___ftime
    libdb45s.lib(os_uid.obj) : error LNK2001: unresolved external symbol __imp__rand
    libdb45s.lib(os_uid.obj) : error LNK2001: unresolved external symbol __imp__srand
    libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSASend@28
    libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSARecv@28
    libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSAEnumNetworkEvents@12
    libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSAWaitForMultipleEvents@20
    libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
    libdb45s.lib(repmgr_sel.obj) : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
    libdb45s.lib(repmgr_net.obj) : error LNK2001: unresolved external symbol __imp__WSAEventSelect@12
    libdb45s.lib(repmgr_windows.obj) : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
    libdb45s.lib(repmgr_sel.obj) : error LNK2001: unresolved external symbol __imp__WSACreateEvent@0
    libdb45s.lib(repmgr_sel.obj) : error LNK2001: unresolved external symbol __imp__WSACloseEvent@4
    libdb45s.lib(repmgr_net.obj) : error LNK2001: unresolved external symbol __imp__WSACloseEvent@4
    Release/wordsegzjp.exe : fatal error LNK1120: 28 unresolved externals
    Error executing link.exe.
    wordsegzjp.exe - 71 error(s), 24 warning(s)

  • How to set the CLASSPATH in Unix Server

    Hi, everyone~
    Do anyone noe how to set the CLASSPATH in the hp-ux server? I tried the setenv CLASSPATH, but not working.. I think should use export. But my jsp pages still cannot working, dunnoe y?
    I wonder is the hp-ux support jsp and servlet or not?
    In order to let the jsp and servlet to run properly in the unix server, what kinds of steps should taken ?
    Hope somemore who experience with this situation b4 can give me some guidance.. Thanks~~
    regards,
    tzeyik

    Tomcat ignores any and all CLASSPATH environment variables. Even if you could figure out how to set it, Tomcat wouldn't use it.
    Better to learn how Tomcat's CLASSPATH works and how to deploy Web apps properly. - MOD

Maybe you are looking for

  • Accounts Recievable - Installment Payment Terms

    Hello Experts, This question is regarding installment payment terms. Let's talk about a scenario with installment term with 3 installments... Standard SAP generates 1 invoice with 3 line items The question and the requirement is that we need to gener

  • Setting up CS6 to run

    Do I have to uninstall CS5 Extended to set CS6 up and running?

  • ASA5505 Loading a template config doesn't allow me to connect via ASDM & SSH

    Hi All, I have built a base template for the ASA5505, i login via the ASDM and backup the configuration. Once i have backed it up and got the next customer i configure the ASA so i can gain ASDM access then reload the config using "Merge". I then hav

  • TS1702 Camera not working on iphone4

    Camera appears not to recognise lens, app starts but gives a black view screen. Any ideas ?

  • Moving multiple objects in a Finder window

    Try a simple experiment in Tiger (10.4): in a Finder window with the icon view + snap to grid ON, select multiple grouped objects (e.g. 10-20) and move them to a different place in the same window. They will not stay grouped but be sometimes disperse