Attempting to deploy an application on iAS 6.0 sp3 on solaris using the iASDT; CLASSPATH and GUID question.

When I attempted to use iasdeploy deploymodule, it copied the file to <iAS install>/ias/JAR directory. But if I try and jar tvf test.war, the jar throws an exception. It looks like the file gets corrupted. Any suggestions?
So a began to use the iASDT tool to assemble and deploy a webapp (war) on solaris. Everytime I add a jar it says that there are external dependencies. I think thier may be some type of name collision on the CLASSPATH. I am attempting to include:
jaxp.jar, xerces.jar, log4j.jar, jaxp.jar, jaas.jar, and some other jars. I think the classes in these files may be on the CLASSPATH already. Is there a way to see the classpath of the server? I have looked in the registry under ApplicationServer/6.0/...but there doesn't seem to be a java entry. I looked inside the kjs script and that really doesn't indicate anything either. I saw the directories /opt/iplanet/ias6/ias/classes/java and /opt/iplanet/ias6/ias/java/jars contain jar files. Are these on the classpath? Is there any documentation of the origins and versions of things that are on the classpath (xerces.jar, xalan.jar, ldapjdk.jar, etc.)
Additionally, I thought all I really needed was to get a guid to put it into the ias DD xml files, but when I launch ./kguidgen I get the following response:
guidgen: Could not get arp for <hostname>
guidgen: Could not get arp for <hostname>
Several attempts to create GUID failed
Any ideas on this one I am stumped?

Hi,
Please correct me if I'm wrong in understanding your problem. You have a test.war file and you are trying to add a .jar file to it and deploy the application (using command line & GUI tool), and this is where you have a trouble of external dependencies. So you think that this is a problem of GUID, so you are trying to obtain a GUID number manually, but the utility throws "Could not get arp..." error.
If this is the problem, then let us check first, if the application server is registered using the iASAT. Next, please give a try of deploying the .jar file initally & try to access it, then, undeploy the .jar file and deploy the .war file and access it. Next, remove the .war file and try to build a .ear file using both the .war & .ear files. Please let me know if this helps for me to investigate further on this.
Regards
Raj

Similar Messages

  • Problems deploying a war on iAS 6.0 sp3 on solaris.

    I have been trying to deploy a war file on iAS 6.0, but I just doesn't work. I wared the file up including a guid which I borrowed from an undeployed example. (because I had problems getting kgenguid to work.) Other examples deploy, but my war does not. Is there an example of a deployment of a module somewhere documented? The deployment copied the war file into the JAR directory, but the registry entries did not seem to happen. I attempted to enter in a bunch of registry entries manually to no avail. If anybody can give me a little insight in the requirements on how to deploy a war file on iAS 60 sp3 that would be greatly appreciated. I have been able to deploy my application on weblogic, websphere, jrun, jboss, etc. I don't think it's a problem with the application.

    I agree with the previous poster that you might want to try deploytool (so you avoid GUID conflicts) and reading the docs on deploying.
    You might also want to try:
    * Figuring out what is wrong with kguidgen. It's a very simple command line program. If it isn't working then you probably don't have a successful install. I'm guessing that your deployment problems might be related.
    * Checking out the samples. Lots of samples walk you through deployment. HelloWorld, for example, http://developer.iplanet.com/appserver/samples/helloworld/docs/index.html
    * Check kas.log

  • Deploying web applications - jsp generated servlet's may be written over the same file!

    Hi, I have made the following test:
    Created two simple web applications with one jsp page, and deployed it
    with different context names, in weblogic.properties I have:
    weblogic.httpd.webApp.weirdApp=\java\weblogic\myserver\weirdApp.war
    weblogic.httpd.webApp.weirdAppTwo=\java\weblogic\myserver\weirdAppTwo.war
    (Note: I have used two diferent war files, because I have a different
    implementation of the jsp page, I could have used the same warfile, and
    deployed it two times with the same different names I have used)
    These two applications have a jsp named myHomePage.jsp
    If I access the first application, like this:
    http://myServer:7001/weirdApp/myHomePage.jsp
    the servlet for myHomePage is created in
    /java/weblogic/myserver/WEB-INF/_tmp_war/jsp_servlet/_myhomepage.class
    If I access the second application, like this:
    http://myServer:7001/weirdAppTwo/myHomePage.jsp
    the servlet for myHomePage is created in
    /java/weblogic/myserver/WEB-INF/_tmp_war/jsp_servlet/_myhomepage.class
    It overrides the first one! Because the servlets are keeped in memory by
    a different class loader this seems to not affect the other servlet, but
    I am wondering what may happen with this strange beaver from weblogic!
    Bruno Antunes,
    Java Software Engineer
    email: mailto:[email protected]
    Phone: +351.21.7994200
    Fax : +351.21.7994242
    WhatEverSoft - Java Center
    Centro de Competencia Java
    Praca de Alvalade, 6 - Piso 4
    1700-036 Lisboa - Portugal
    URL: http://www.whatevernet.com
    ****************** Internet Mail Footer ****************************
    A presente mensagem pode conter Informação considerada Confidencial.
    Se o receptor desta mensagem não for o destinatário indicado, fica
    expressamente proibido de copiar ou endereçar a mensagem a terceiros.
    Em tal situação, o receptor deverá destruir a presente mensagem e
    por gentileza informar o emissor de tal facto.
    Privileged or Confidential Information may be contained in this
    message. If you are not the addressee indicated in this message,
    you may not copy or deliver this message to anyone. In such case,
    you should destroy this message and kindly notify the sender by
    reply email.

    I have a separate java class that gets my data and returns a Result object. Do you mean java.sql.ResultSet?
    In my main servlet I do the following:
    request.setAttribute("supporttracker",
    supporttracker.findsupporttracker(monthYear));
    and then in my JSP I can iterate through the Result
    like the following with no problems:
    <c:forEach var="supporttracker" begin="0"
    items="${supporttracker.rows}" varStatus="counter">
    My problem is that I can only iterate through this
    once in the page whereas I have no problem doing
    multiple forEach loops through other types of
    lists/collections such as an ArrayList. Right, because a ResultSet is a database cursor and doesn't act the same way that an ArrayList does. It's more like an InputStream - once you read it, you close it. If you want to re-read it, you have to re-initialize it again.
    Iterators behave that way, too. Once you walk through them, you have to re-initialize them.
    I've looked
    on the web and in a couple of books, I first thought
    it may be scope or some attribute in forEach that I
    was missing but I'm stumped. It seems like it's
    because the pointer to the result set is at the end
    of the result set when trying the second iteration,
    but I thought by using the begin="0" would put the
    pointer at the first row again, on my second
    iteration I'm getting no rows/data outputed.
    Please help and thanks in advance!The better thing to do is for your method to return a List of objects, one per row, that represent what the ResultSet returns. Have that method iterate through the ResultSet, loading the rows into the List, and close it before you leave in a finally block. A database cursor is a scarce resource, so it's a good idea to close it as soon as you can.
    %

  • Hello everyone. I have my itunes account for some years, and i've purchased far too many apps and music. Now the company i work for, has to change my account in the iphone, in order to use the corporate mails and calendar. How can i keep my applications?

    Hello everyone. I have my itunes account for some years, and i've purchased far too many apps and music. Now the company i work for, has to change my account in the iphone, in order to use the corporate mails and calendar. How can i keep my applications and music?

    Read here:
    http://support.apple.com/kb/ht5621
    Changing your Apple ID to your current, working email address will not create another Apple ID, it will only change it to your working email address.

  • I am trying to burn a music cd on iTunes, but I am getting an error that reads that the cd burner is being used by another application.  I know that I am not using the cd burner for anything else.  I have restarted the Mac and nothing.  Any ideas?

    I am trying to burn a music cd on iTunes, but I am getting an error that reads that the cd burner is being used by another application.  I know that I am not using the cd burner for anything else.  I have restarted the Mac and nothing.  Any ideas?

    One other thread said it was fixed by waiting till prompted by iTunes to insert the blank disk, instead of putting it in first. Does that work? Found a number of hits on this Googling.

  • Why do i get the following message when i attempt to open my backup file for lightroom cc?  "Lightroom cannot use the catalog named "Lightroom Catalog" because it is not writable and cannot be opened".  This message just started coming  up after downloadi

    why do i get the following message when i attempt to open my backup file for lightroom cc?  "Lightroom cannot use the catalog named "Lightroom Catalog" because it is not writable and cannot be opened".  This message just started coming  up after downloading lightroom cc (previously using lightroom 5)...am i backing up properly or not???

    Open Pictures folder and move the files named lrcat-journal and lrcat.lock to Desktop.
    Make sure that , they are not inside Pictures folder any more and try to open backup from Lighrtroom and check..
    Any LRcat file with .lock extension , move it to Desktop.

  • Windows vista system, continuously trying to download a DRM file in Adobe Digital Editions application shows "Error check activation". I have authorized the Fire Wall and still the same.

    windows vista system, continuously trying to download a DRM file in Adobe Digital Editions application shows "Error check activation". I have authorized the Fire Wall and still the same.

    Since Re-activation as suggested by the link above is not working for you, Can you please confirm the following:
    The OperatorURL is reachable. ( you can find the operatorURL from the acsm file by opening it in notepad,etc)
    And Book is still available on the book-store for purchase.
    (If any of first two are not available, you might have to talk to distributor for next action item to get the book. Since you will have record of purchasing the book, (in my opinion) they should provide you the new token for downloading the book)
    And please confirm this that you used the same userID for downloading that you used when you first fulfilled/downloaded the book.
    (If it is the case, then you have to use the correct userID)
    I hope it helps.

  • While partitioning in Lion 10.8, I get the following error message: I have been attempting to partition a 2 GB hard drive that I just formatted using the Disk Utilty in Mountain Lion (10.8) and get the following error message:  DiskManagementTool has died

    I have been attempting to partition a 2 GB hard drive that I just formatted using the Disk Utilty in Mountain Lion (10.8) and get the following error message:
    DiskManagementTool has died. Disk Utility will need to be restarted.  The log shows the following:
    2012-09-10 11:20:51 -0700: Preparing to partition disk: “HitachiG ST Media”
    2012-09-10 11:20:51 -0700:      Partition Scheme: GUID Partition Table
    2012-09-10 11:20:51 -0700:      2 partitions will be created
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700:      Partition 1
    2012-09-10 11:20:51 -0700:           Name          : “Alex's External Storage”
    2012-09-10 11:20:51 -0700:           Size          : 1.5 TB
    2012-09-10 11:20:51 -0700:           File system     : Mac OS Extended (Journaled)
    2012-09-10 11:20:51 -0700:           Do not erase contents
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700:      Partition 2
    2012-09-10 11:20:51 -0700:           Name          : “Alex's External Storage 2”
    2012-09-10 11:20:51 -0700:           Size          : 500.05 GB
    2012-09-10 11:20:51 -0700:           File system     : Mac OS Extended (Journaled)
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700: Beginning partition operations
    2012-09-10 11:20:51 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:55 -0700: Disk Utility started.
    Does anyone have any thoughts?  Cant find anything on the web with this

    I have been attempting to partition a 2 GB hard drive that I just formatted using the Disk Utilty in Mountain Lion (10.8) and get the following error message:
    DiskManagementTool has died. Disk Utility will need to be restarted.  The log shows the following:
    2012-09-10 11:20:51 -0700: Preparing to partition disk: “HitachiG ST Media”
    2012-09-10 11:20:51 -0700:      Partition Scheme: GUID Partition Table
    2012-09-10 11:20:51 -0700:      2 partitions will be created
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700:      Partition 1
    2012-09-10 11:20:51 -0700:           Name          : “Alex's External Storage”
    2012-09-10 11:20:51 -0700:           Size          : 1.5 TB
    2012-09-10 11:20:51 -0700:           File system     : Mac OS Extended (Journaled)
    2012-09-10 11:20:51 -0700:           Do not erase contents
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700:      Partition 2
    2012-09-10 11:20:51 -0700:           Name          : “Alex's External Storage 2”
    2012-09-10 11:20:51 -0700:           Size          : 500.05 GB
    2012-09-10 11:20:51 -0700:           File system     : Mac OS Extended (Journaled)
    2012-09-10 11:20:51 -0700:
    2012-09-10 11:20:51 -0700: Beginning partition operations
    2012-09-10 11:20:51 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:52 -0700: DiskManagementTool has died. Disk Utility will need to be restarted.
    2012-09-10 11:20:55 -0700: Disk Utility started.
    Does anyone have any thoughts?  Cant find anything on the web with this

  • On a rare happenstance, I was viewing my passwords, attempting to print them or copy. During cleaning of keys, I hit the delete key, and my passwords were all wiped out. Where did they go?

    On a rare happenstance, I was viewing my passwords, attempting to print them or copy. During cleaning of keys, I hit the delete key, and my passwords were all wiped out. Where did they go?

    one last thing: I'm also getting this problem here too:
    https://discussions.apple.com/thread/5324398?start=15&tstart=0

  • Any time I open a photo program the application freezes.  I want to reinstall OSX from the original disk and then restore my machine from time machine Will a restore from time machine only restore my Apps and data

    Tried to post a question about restoring my i mac from time machine, but this new format makes no sense to me.  I want to restore my i mac from time machine after I reinstall the OS from the original disk.  Will a time machine restore only restore the applications and data or will it restore the current state of the OS.  My machine will not let me open any photo applications (aperture, I photo, NX 2) I have to force quit them every time I try to get some work done.

    06-sep-2012 0:14 
    Me compre un ipod classic de 160gb cada vez que trato de ponerle musica de mi disco duro externo solo copia hasta 1500 canciones y luego me congela el Itune  y no lo puedo cerrar, me pide que restaure el ipod como de fabrica, lo hago y nada.  Trato de cerrar el programa de itune y no me deja, trato de apagar el computador y no lo puedo apagar,  he buscado para ver si tiene errores  el disco del Ipod y me dice que esta bien.  Lo he restaurado como 8 veces y le he puesto musica y videos pero siempre me borra todo.  He aplastado Menu y Seleccion para entrar al sistemade diagnostic o del ipod y le pongo el test manual donde entro al IO y me dice q todo esta bien.  Le he dado ya varios Format directamente desde el Windows 7 y nada tampoco, siempre me borra todo desde que pasan mas de 1300 canciones y me congeal todo el equipo.  Ya no se que pensar de esta compania Apple porque no da ninguna solucion ha este tema.
    I bought a 160gb iPod classic every time I try to put music on my external hard drive only copy up to 1500 songs and then freezes Itune me and I can not close, asks me to restore the ipod as factory, and do nothing . I try to close the program and itune will not let me, I try to turn off the computer and I can not shut, I looked to see if the iPod disk errors and says it's okay. I restored it about 8 times and I've put music and videos but I always delete everything. I crushed and Selection Menu to enter diagnostic sistemade or ipod and I put the manual test where I enter the IO and q tells me everything is fine. I have already given several Format directly from the Windows 7 and anything either, I always delete everything from passing over 1300 songs and I congeal whole team. No longer have to think of this company because Apple gives no solution has this issue.
    iPod classic, Windows 7, ME BORRA TODO Y SE CONGELA 

  • I-tunes won't download onto Windows XP.  Error message 'this application package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this a a valid window Installation package'.

    How do you download i-tunes onto Windows XP when error message occurs, 'This application pack could not be opened. Verify that hte package exists and that you can access it, or contact the application vendor to verify that this is a valid window installation package'.

    I wish I knew because i'm having the same problem. As soon as I find the answer I will post.

  • How can I interface a Java application which is not running under NetDynamics, to use the EJBs in a NetDynamics application?

    One of them uses Enterprise Java Beans implemented with a SUN NetDynamics application server. The other is a straight Java application. Ideally I want the second application to remotely invoke methods on the existing Java beans, so the existing business logic will not be duplicated.
    This would seem to be simple, but NetDynamics appears to substitute some proprietary code for part of the EJB interface, and it is not immediately obvious how to let "foreign" java programs access the beans.
    I would appreciate it if anyone is able to provide any information on how to achieve this. If you know of any sample code that I could look at, that would be a help too. This may (or may not) be known to SUN as a "stand alone java client".

    hi,
    can someone help me how to implement logging for method entry parameters and
    method exit return value.
    can someone help me how to use log4j and integrate it to the method entry
    logging and method exit logging.
    Here what i need is without writing the log statements for the method entry and
    method exit i need to log it to the file
    along with other log4j debug statements i provide in the file.I should be able
    to configure whether to enable/disable the logging
    for method entry and method exit. In method entry i should be able to log the
    parameters the method take and in method exit
    i should be able to log te return value to the log file, before the method is
    returned to the callee.
    i hope i am clear
    Thanks in advance.

  • [custom application] we did'nt use the register form, and it works anyway !!!!

    [custom application] we did'nt use the register form, works anyway ?
    Excuse my english:
    Our developper's have created the custom objects in a new oracle user.
    The have given all grants ans synonyms to APPS (by the hand with manuel scripts).
    They didn't use the 'Security\oracle\register' forms.
    They have just declared the application in 'security\oracle\data group' using APPS as oracle id.
    So they did not have to enter a password in AOL for the new custom oracle userneme.
    QUESTION ?
    Did we miss something ? What is wrong ?
    Are we qoing to face some issue (with standard AOL admin scripts for exemple ?)
    Does Always OA connect via APPS or did it sometimes need to connect
    with the real oracle usernam of the custom application ?
    Thanks in advance for your answers.
    Pierre from Paris.

    I believe you're probably okay, as long as you are only adding objects, not modifying existing ones. We have custom database accounts registered through the aforementioned forms, but as a rule-of-thumb we always grant all on any custom objects to APPS with grant option. All custom packages we create are also created under the APPS schema. The underlying user that is running for our custom forms & reports is still APPS. We just put tables, indexes, and similar objects under the custom accounts primarily so that we can clearly tell what objects are custom and which are not.
    Keep in mind that one risk you run with any customizations you make under APPS (or any other delivered database account) is that there is always a chance that Oracle could create an object with the exact same name in the future, potentially overwriting your customizations
    Hope this helps!
    Josh Wasser
    [email protected]

  • How to restrict "Open Applications" window from showing C drive? Or use the Windows Explorer "Open" Window?

    Hi, Im new to JDeveloper and I work in a school which requires restriction of the C: Drive. Does any one know how I can either stop the "Open Applications" dialog from showing this drive or Use the Windows Explorer "Open" dialog window to browse files, the drive has been hidden and restricted using GPO but JDeveloper shows the C: drive?
    Any help is much appreciated.

    Hi and thanks Timo. We are using 12c. On the Windows side of things, we are using Win7 and we have hidden the drives we don't want the user to see using GPO but obviously Jdev then shows these drives in its "Open Applications" Window and allows access. As far as the environmental variable is concerned this is something that I put in place.
    Many thanks for your reply and the link to the tech doc.
    Nigel

  • Error While Deploying MYDemo application in ias 10.1.2

    I deployed the MYDemo in iAS 10.1.2
    while calling URL
    (executing the app)
    http://xxx.abc.org:7777/HRDemo/pages/EmployeesTable.jspx I get the following error ? Any Clue?
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver     at java.lang.Class.getDeclaredMethods0(Native Method)     at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)     at java.lang.Class.getDeclaredMethod(Class.java:1262)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl._setupJboDomainStuff(AdfFacesFilterHelperImpl.java:187)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl.init(AdfFacesFilterHelperImpl.java:64)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.init(AdfFacesFilterImpl.java:96)     at oracle.adf.view.faces.webapp.AdfFacesFilter.init(AdfFacesFilter.java:56)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getFilterConfig(HttpApplication.java:7708)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:487)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)

    Can I ask, is it a JHeadstart 10.1.3 application that you deployed to your 10.1.2 server ? I've had no end of grief to doing this with conflicts in JDK, libraries etc. If this is your case would you mind sharing your experience ?!
    Cheers,
    Brent

Maybe you are looking for