Xalan.jar can't ever be deployed in a .war?

          I'm using WLS 6.1 SP3.
          Even when xalan.jar is bundled in a .war at /WEB-INF/lib, trying to use the Xalan
          classes results in the following exception:
          javax.xml.transform.TransformerFactoryConfigurationError: java.lang.ClassNotFoundException:
          org.apache.xalan.processor.TransformerFactoryImpl
          at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:121)
          The most commonly recommended solution is to add xalan.jar to the system classpath
          prior to starting WLS. And xalan.jar should come before weblogic.jar in the classpath.
          I see this workaround commonly recommended, but I've yet to see an explanation
          as to why it's neccesary. Given that I'd rather not have libs in the system classpath
          unless it's absolutely necessary (since they can't be dynamically redeployed),
          I want to make sure I understand the reasons behind adding xalan.jar to the system
          classpath. Here's my understanding. Let me know how mistaken I am. :-)
          Even though xalan.jar isn't needed at startup, xalan.jar needs to be in the system
          classpath instead of just contained within the .war. This is because weblogic.jar
          contains the javax.xml.transform.TransformerFactory class. And even though the
          system property "javax.xml.transform.TransformerFactory" is set to "org.apache.xalan.processor.TransformerFactoryImpl"
          by default, the parent classloader (i.e. the system classloader which has loaded
          TransformerFactory from weblogic.jar) can't see the Xalan classes it needs from
          the child classloader (i.e. a .war classloader that would contain xalan.jar.)
          Is this assertion correct? Classloader hierarchy issues?
          Thanks,
          Matt
          

Assuming you can't use the weblogic-application semantics in a WAR, you might consider using a servlet context listener. I don't know exactly what context you need to have available for this task, but when the context is about to be destroyed, the "contextDestroyed()" method of the context listener will be called, which might be sufficient for your needs.

Similar Messages

  • Edit : LC Update 1, Task Manager, xalan.jar

    Hi, <br /><br />When I try to update from Lc 8.0.1 SP3 to 8.2, I have this warning in the Configuration Manager log.<br /><br />WARNING, AWT-EventQueue-0, com.adobe.livecycle.upgrade.UpgradePluginBootstrapper, PathElement entry [./LiveCycle_ES_SDK/client-libs/common/adobe-taskmanager-client-sdk.jar] of type [common] cannot be found.<br /><br />So When he try to deploy the service in the component deploy state, he can't deploy the jar file.<br /><br />Is it normal the jar is missing in my installation folder ?<br /><br />Edit : He is in the deploy folder and can be deploy with a workaround.<br /><br />But I have this INFO at the jboss start : <br /><br />INFO  [STDOUT] **** MessageBrokerServlet failed to initialize due to runtime exception: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault<br />     at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:135)<br />     at org.apache.xpath.XPathContext.<init>(XPathContext.java:100)<br />     at org.apache.xpath.CachedXPathAPI.<init>(CachedXPathAPI.java:73)<br /><br />and when I try to connect to workspace this error <br /><br />008-11-21 18:24:14,570 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/workspace-server].[Mess ageBrokerServlet]] Servlet MessageBrokerServlet is currently unavailable<br /><br />It seems to be link to the xalan library. I use hte Jboss 4.0.3 SP1 preconfig by adobe. And the xalan librairy is the 2.7.0.<br /><br />I try to replace it by the xalan.jar and serializer.jar in \Livecycle8.2\third_party\jboss\lib\endorsed without effects.<br /><br />Any help would be appreciated.

    No, I don't know much about that, but I found a couple links for you..
    "service host: Local system (network restricted)(11)" eating virtual memory
    http://www.reddit.com/r/techsupport/comments/1b496x/windows_8_high_disk_usage_usually_arou nd_100_and/

  • Can't access EJB deployed on remote OC4J - what am I doing wrong?

    I'm unable to access an EJB deployed on a remote OC4J instance (ie, part of a 9iAS installation on another machine vs local in JDeveloper).
    I've reverted to a stupid-simple EJB in hopes of getting it going prior to trying my actual code. The EJB works fine in JDev (9.0.3) - I 'run' the EJB to start the local OC4J instance, run my client code (generated via the "New Sample Java Client..." option in the Navigator context popup) and all is well.
    I then create an EAR file via the the "Create EJB Jar Deployment Profile..." context popup of the ejb-jar.xml node, followed by "Deploy to EAR file" from the context popup of the resulting ejb1.deploy node. I next "Deploy EAR File" via the "Oracle Enterprise Manager" that comes with 9iAS (the :1810 port). After successfully deploying, I modify my client code in JDeveloper, specifying the new connection information for the remote machine via the Hashtable constructor of InitialContext and attempt to run it. I've tried a number of Context.PROVIDER_URL forms, including: ormi://registered_pingable_host_name:23791/deployed_application_name
    ormi://registered_pingable_host_name:23791/session_deployment_name (from the <enterprise-beans><session-deployment name="xxx"/></enterprise-beans> section of my orion-ejb-jar.xml file, as per a tip in this forum)
    I've tried prefixing ormi:// with http:, but get no response whatesoever in this case.
    I've also tried it without the port number (this port number matches that in my remote OC4J's <oc4j_instance_home>/config/rmi.xml file).
    On the Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS settings, I've tried various values, generally using the 'admin' user, with passwords taken from:
    <oc4j_instance_home>/principals.xml
    <oc4j_instance_home>/application-deployments/application_name/principals.xml
    I've also tried matching the password in the jazn-data.xml, to no avail - this password appears encrypted anyway, but thought I'd give it a try on the off-chance that it was just a randomly-generated password - no go.
    I've also tried SCOTT/TIGER, anonymous, etc. Incidentally, the 'deactivated' attribute of the <user> tag is set to "false" in my principals.xml files.
    No matter what I do, I always get back "javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect"
    Additionally, I get this same message when I try to establish an Application Server Connection via JDev.
    Clearly, I'm missing something critical (and probably simple), but I can't for the life of me figure it out.
    Any help would be much appreciated!
    Thanks,
    Jim Stoll

    Ok, well this is a bit strange...
    3103 - 3103 also fails, and some experimentation has led me to find that any time that I specify a range smaller than 6 (3101 - 3106 works, 3101 - 3105, 3101-3101, 3103-3103, etc does not), the OC4J instance will not restart. I get "An error occurred while starting. The opmn request has failed. From opmn: HTTP/1.1 204 No Content Content-Length: 0 Content-Type: text/html Response: 0 of 1 processes started. Check opmn log files such as ipm.log and ons.log for detailed." in the OEM window (I specify the RMI port range, hit Apply, go to the OC4J instance home page, see that the Status is 'Down', hit Start, and get that message.) <ORACLE_HOME>/product/iasinfra/opmn/logs/ipm.log tells me:
    02/12/03 09:41:12 There is no rmi port left for starting an OC4J process. Please check oc4j's port property in OPMN's configuration file.
    02/12/03 09:41:12 start_proc: UID 3719788: failed to build args
    02/12/03 09:41:12 start_proc_req: failed to start a process in GID OC4JJim2, type: 2
    If I bump it up to 3101 - 3106 or higher, it starts right up. Running opmnadmin debug, as suggested by Venky (thanks Venky!), yields:
    PROCESS TABLE
    UID PID FLAGS TYPE STATUS REF HTTP AJP RMI JMS
    3654011 84 00000040 OC4J Alive 1 0 3005 3106 3206
    424987 604 00000000 Apache Alive 1 7777 0 0 0
    2932088 14849 00000000 OC4J Alive 1 0 3003 3103 3203
    3063160 14878 00000000 OC4J Alive 1 0 3001 3101 3201
    3194232 14906 00000000 OC4J Alive 1 0 3000 3105 3205
    3325304 14936 00000000 OC4J Alive 1 0 3002 3102 3202
    3456376 14964 00000000 OC4J Alive 1 0 3004 3104 3204
    Which is what I would expect, given the specified range of 3101-3106. Trying each of these ports in turn, I've found that I can hit the EJB successfully on 3106, but 3101 - 3105 all fail with:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: Project7_2; nested exception is:
         javax.naming.AuthenticationException: No such domain/application: Project7_2
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
              RMIContext.java:134
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
              InitialContext.java:350
         void Samplemypackage9.MySessionEJBClient1.main(java.lang.String[])
              MySessionEJBClient1.java:15
    I'm a little concerned about assuming the high-end of the range to be the active port on a regular basis (though thus far, among about 20 - 30 tries spaced over 20 - 30 minutes, it has been...) - I guess I can have my code loop through the range until it finds a good port or exhausts the list, but that seems a bit excessive.
    Can you think of a reason that my OC4J instance won't start with a range size of less than 6? I'm on 9iAS 9.0.2, if that makes any difference.
    Thanks,
    Jim

  • How does xalan.jar work with jdk1.3.1 and not work with jdk1.4.1

    Hi,
    i am using java, xalan, xerces for web development. The environment is jdk1.4.1, xerces.jar, xalan.jar. i am facing problem while transforming xml, xsl. Its giving the following error
    java.lang.NoSuchMethodError: org.apache.xalan.xslt.Process.getDefaultLiaison()Ljava/lang/String;
         at org.apache.xalan.xslt.XSLTEngineImpl.(XSLTEngineImpl.java:367)
         at org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor(XSLTProcessorFactory.java:79)
    I tried with jdk1.3.1, xalan.jar, xerces.jar. Its working fine. Can anyone tell me what is the problem with jdk1.4.1 ?
    Regards
    Ashok

    I have the same problem, but the version within SUN seems imcomplete,what version is ?
    For example I am using the xsl tag library provided by Apache (I know this now deprecated). In its ApplyTag.java it uses XSLTDataSource this is not in the SUN 1.4 distribution so it falls over. If I add XALAN 1.0.1 it falls over because it on getDefaultLiason() because it starts loading somne classes from rt.jar and some from xalan.jar, how are you meant to override this.

  • Is there any way I can recover deleted pictures from Camera Roll and iCloud? Please please help me. All of my precious pictures are gone that I can never EVER get back. I dont have any iCloud or Camera Roll backup; and my PC can't download more software.

    Hi everyone! I'm in need of extreme help. You see, today, two months ago I went out of the country from the United States of America. I took about 1500 pictures ONLY on my iPod touch. When I returned to the United States to my home, I accidentally deleted a little more than 100 pictures. Then, thinking I could get ALL of the pictures back at once, I restored my iPod touch from an iCloud backup I had a couple of days before. Instead of getting all of my pics back, they all got erased. The pictures that I did delete were deleted from Camera Roll AND Photo Stream (iCloud). Then, I was only able to get about 500 pictures back from iCloud. So about 1000 are still gone. When i did the restore, I thought all my pictures would be there, but they weren't and I couldn't possibly figure out why; because a restore from iTunes or iCloud is supposed to restore your device to the settings of the time you backed up your device. All of my other settings were just the way they were supposed tone for the time being, all except my pictures, which contained not one picture in any folder. So EVERYTHING from Cameta Roll was gone, and only about 500 pictures survived. I kept retoring and restoring, hoping they would come back but unfortunately they didn't. Then one time a restored again, I saw all of them back!! But then, within a blink of an eye, they disappeared as soon as I tapped on one picture. Then, I knew they were still in reach, but I just had to find them. Where could those 1000 pictures go? I looked up how to recover deleted photos, but I have to install a software. My computer CANNOT possibly take anymore software on it, my PC is very sensitive and I cannot delete anything off of it. Please please help me. What can I do to get my pictures back? They are memories that I can never EVER EVER get back. Thank you so much.

    Please please help me, if you know how.

  • How do I delete my old iPhone backup since I can not back up my new phone.  Will I lose any pictures?  Can you ever see what is actually on the cloud? Last, how do I delete the old iPhone back up.  Thanks, been trying to do this for a long time.

    I want to delete my old iPhone backup since I can not back up my new phone.  Will I lose any pictures?  Can you ever see what is actually on the cloud? Last, how do I delete the old iPhone back up.  Thanks, been trying to do this for a long time.

    Deleting the backup only permanently deletes the backup from iCloud.  It doesn't do anything to the data currently in your account or on your devices.  To delete it, go to Settings>iCloud>Storage & Backup>Manage Storage, tap the name of the device that you want to delete the backup for, then tap Delete Backup.
    You can't see anything in an iCloud backup, if that's want you're asking.  You can only restore it to your device.  You can, of course, see your other iCloud data.

  • Can you customize your deployment based on VM name

    I know it is possible to customize your deployment by mapping your PC based on MAC or serial number using the MDT database.  However, is it possible to do this by just the VM name alone? (I would think the same challenge apply to both ESX or HyperV). 
    If I could go ahead and create a serial of VM call VM01 to VM10, how can I have MDT deploy Task Sequence 1 to VM01 to VM05, while deploy Task Seq 2 to VM06 to VM10?  As the VM doesn't have any netbios name of predefine MAC address yet ?  Any idea
    would be appreicated

    Hi,
    The answer is no, you couldn't customize deployment based on VM name. 
    Customize deployment by mapping PC based on MAC or serial number using MDT database is completely different with mapping PC name. The first one is based on hardware query, seconde one is based on software level.
     As we know, WMI command can be used to obtain information of Computer Hardware, software, etc. While in WinPE phase, it only could be used to obtain hardware information, the command like
    Get -WmiObject win32_computersystem should be works properly, but it won't be work if you try to obtain VM name by using WMI command, WinPE doesn't support these command to obtain VM name, it only works at host system. That's
    to say, we didn't have method to obtain host VM name in guest machine. Therefore, if you try to mapping your PC based on VM name, it would be failed.
    For more information about WMI, you can refer to the link below for more details:
    http://msdn.microsoft.com/en-us/library/aa394585(v=vs.85).aspx
    Roger Lu
    TechNet Community Support

  • BPM Enterprise - Can's see the Deploy

    Hello all
    I am new to BPM and i am trying to deploy into bpm enterprise and i hope somebody could help me
    I have installed and configured everything needed (weblogic server, bpm enterprise, bpm studio) and i configured and i have created a bpm directory service, bpm domain, etc (using the configuration wizard)
    I am trying to deploy a sample proyect. I followed the admin guid and i deployed using Process Administrator --> Proyects, deploy etc (i used the option smart publish)
    How can i access my deployed application???
    I accessed to workspace application (using the admin account so that i have admin privileges and i can see all the deployments) and i don't see my deploy :(
    Am I missing or doing something wrong?
    Thanks in advance to all :)

    Hi,
    In the web based Process Administration tool, add a 'test' participant. Assign this participant all the roles inside your process.
    Log into the Workspace using this new participant. If this doesn't work try starting and stopping the Engine from the Process Administration tool.
    Hope this helps,
    Dan

  • Where can I find the deployed EJB files in Oracle 10g AS(904)

    Hello All,
    Where can I find the deployed ejb files, stubs and skels in the Oracle 10g (904)
    When I try to run my ejb application I m getting following exception:
    com.evermind.server.rmi.OrionRemoteException: Error (de-)serializing object: org.apache.log4j.Logger
    I am not sure what is causing this error. I am not using any logging in my EJB. But the logging framework is configured in the application server.
    Your input would be a great help to me
    Thank you

    Thanks Carty,
    I am not creating Connection from EJB. I have a POJO called DBManager that looks for the DB Connection and return that to either EJB or other POJO that requests for Connection.
    I am having a private method that get the connection from the DBManager because while writing UnitTest cases I can mockup getting Connection as my Unit test case will be a POJO again..
    I have a question here regarding making DBManager as Singleton class. In my current project, I have configured my database in the application server as getting the connection by lookup for datasource through JNDI. It internally maintains all logical connection and always have one physical connection. In such scenario how implementing singleton will be beneficial?
    Thank you for answering all my questions.

  • I got an Ipod shuffle because I have two cars with USB port for mp3. It doesn't work. Can it ever?

    I got an Ipod shuffle because I have two cars with USB port for mp3. It doesn't work. Can it ever?

    im not shure but if you get an 3.5 mm sterio headphone jack and plug that in your car and shuffle it should work just as good

  • Can i ever get my photos back if i have deleted them and then emptied the trash?

    can i ever get my photos back if i have deleted them and then emptied the trash?

    Yes — just restore them from your backup.
    No backup? This is why you need one. Now you know.
    You may be able to recover some or all of your pictures, but not the structure of your iPhoto Library, using one of these data recovery utilities:
    Data Rescue 3: http://www.prosofteng.com/products/data_rescue.php
    FileSalvage 7: http://subrosasoft.com/OSXSoftware/index.php?main_page=product_info&products_id= 1
    Both are offered in demo versions that will show you what the full version could recover before you have to pay for anything.

  • Loaded iPhoto 9.2, my 7200 photos grew to 113,000 files with screen shots, duplicates, ,5-10copies of faces and apple has no way to eliminate this. How can I ever retrieve the original 7200 from this mess?

    Loaded iPhoto 9.2, my 7200 photos grew to 113,000 files with screen shots, duplicates, ,5-10copies of faces and apple has no way to eliminate this. How can I ever retrieve the original 7200 from this mess?

    This can happen if the HD icon is inadvertently dragged to the iPhoto Window.
    Easiest solution: restore from your back up.
    Regards
    TD

  • Can not install web deployment 3.5 nor can deploy web on azure

    Hello,
    I can not install web deployment 3.5 for some reason ?
    It say that product that it depends on did not install correctly.

    how are you installing it? from web PI or from microsoft download center? 
    which OS version are you trying to install it on? and can you dig in event viewer application logs to see which dependency is missing? 
    Thanks, Hosam

  • My iPhone 5 can't ever find my wifi in my house unless I'm like 5-10 feet from it. I bought the iPhone 5 from Apple's site and my carrier is AT

    My iPhone 5 can't ever find my wifi in my house unless I'm like 5-10 feet from it. I bought the iPhone 5 from Apple's site and my carrier is AT&amp;T? My iPhone 3G's wifi was hands down better than the 5's. Apple needs to get their customers the solution ASAP because everyone will blow through their data plans.

    Lawrence, I wish it were so simple.  Many of us have tried everything you have suggested and much more.  I have even tried two other routers at home.  My phone connects to public wifi fine - have tried 3 so far with no problems.  Even on my home router, if I remove security, no good.  I read that ipv6 is necessary, and one of my routers does support that, but still no luck.  The phone started out OK, with a small glitch that I though iOS 6.0.2 would fix.  The glitch was slow throughput and failure to connect automatically to known networks, along with dropping the wifi connection when charging and sleeping.  My big problems started after connecting through a range extender at home, but I've chased enough coincindental red herrings to feel that is not the issue.  If it were, then changing my home router would have fixed it, or there is a serious software bug in the OS.  I'm just not going to waste any more time on it.  Hoping a replacement will do the trick, but I've also read that many replacements fail.  Somewhere, I saw that up to 60% of iPhone 5's are having wifi issues.  Can't remember where, but am looking for it.  Meanwhile, ZD Net is reporting on it too.  The scariest symptom I've encountered is that a few times, after resetting network settings, the "Join" button was disabled.  Go figure. 

  • How many files that JAR can bundle into a single file?

    How many files that JAR can bundle into a single file?

    The are no limitations inherent in the ZIP file format (jar files are basically just zip files).
    The only limitations I can think of are;
    available disk space
    maximum file size (for some filesystems)

Maybe you are looking for