Can I get a weblogic Initial context without importing all weblogic classes ?

can I get a weblogic Initial context (with weblogic.jndi.WLInitialContextFactory)
without importing all weblogic classes ?

I ran my client through all its functions.
I then took the access.log file and parsed out a list of all the class
files that were downloaded and built a script to create my
weblogiclient.jar file.
Before running the client we had to:
With WL5.1 I think we had to unjar the weblogicaux.jar file into the
serverclasses directory so the client could load them all individually.
Make sure you clean up after you are done with this.
With WL 6 we did not have to do that.
The access.log file is the key to building your own client jar file.
We also require the use of the Java 1.3 plug-in by our clients (for
Applets) so we can do multiple Jar caching.
Tom
Dominique Jean-Prost wrote:
Hello tom
What do you mean by "use the Weblogic class loader" ?
Could you explain whath you exactly did to find all the classes you need ?
regards.
dom
<nospam@nospam> a écrit dans le message news: 3ABF3EC2.9010200@nospam...
You need the classes one way or another. BUT you do not have to
redistribute the whole Weblogic.jar file. Use the Weblogic class
loader then run your program. The weblogic access.log should have a
listing of all the classes you need to use and you can build your own
sub-jar. My experience is that this new jar is significantly smaller.
Ours is around 600K instead of 15MB.
Tom
Dimitri Rakitine wrote:
Yes, if, for example, you can network classload from WebLogic. Talking
to a WebLogic
server means WebLogic RMI (unless you use RMI/IIOP in which case youdont need any
WebLogic classes) which needs WebLogic-specific classes, so you clientapplication needs
to get them from somewhere - local classpath or remote WebLogic server.
David Dahan <[email protected]> wrote:
I mean without a classpath to all weblogic classes.
can I get a weblogic Initial context (with
weblogic.jndi.WLInitialContextFactory)
without importing all weblogic classes ?

Similar Messages

  • Can't get definitions factory from context in struts tiles in weblogic 10

    I have exception trace which only happens whenever i recompiling my java file while running my web application in weblogic 10
    javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't get definitions factory from context.
    *     at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)*
    *     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)*
    *     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)*
    Caused by: javax.servlet.jsp.JspException: Can't get definitions factory from context.
    *     at org.apache.struts.tiles.taglib.InsertTag.processDefinitionName(InsertTag.java:580)*
    *     at org.apache.struts.tiles.taglib.InsertTag.createTagHandler(InsertTag.java:479)*
    *     at org.apache.struts.tiles.taglib.InsertTag.doStartTag(InsertTag.java:441)*
    Anybody has any idea how to fix this?
    It seems the error happen because weblogic trying to reload the context after i recompiling java file
    How do i turn off / workaround on this?
    By the way i m using struts tiles
    Thanks

    I have exception trace which only happens whenever i recompiling my java file while running my web application in weblogic 10
    javax.servlet.ServletException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Can't get definitions factory from context.
    *     at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)*
    *     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)*
    *     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)*
    Caused by: javax.servlet.jsp.JspException: Can't get definitions factory from context.
    *     at org.apache.struts.tiles.taglib.InsertTag.processDefinitionName(InsertTag.java:580)*
    *     at org.apache.struts.tiles.taglib.InsertTag.createTagHandler(InsertTag.java:479)*
    *     at org.apache.struts.tiles.taglib.InsertTag.doStartTag(InsertTag.java:441)*
    Anybody has any idea how to fix this?
    It seems the error happen because weblogic trying to reload the context after i recompiling java file
    How do i turn off / workaround on this?
    By the way i m using struts tiles
    Thanks

  • Since I synced my ipad to my iMac I have duplicate photos appearing in the Photo section on my iPad and one can be trashed but the other one can't. How can I get rid of the ones without the trashcan?

    Since I synced my ipad to my iMac I have duplicate photos appearing in the Photo section on my iPad and one can be trashed but the other one can't. How can I get rid of the ones without the trashcan?

    Thanks so much. I was afraid to mess with that.  But when I unsynced them, it worked.

  • My friend synced a video to my ipod but it erased all my data on my ipod,but i cant figure out how to load my old libray back without deleting the movie. my friend cant tell me the password. How can I get my old library back without deleting the movie?

    My friend synced a video to my ipod but it earased all my data on my ipod,but I can't figure out how to load my old library back without deleting the movie. My friend shares a family account so she can't tell me the password. How can i get my old library back without deleting the movie?

    Linnwarner wrote:
    She does have the right because she bought the movie.
    Not true at all.
    You only buy the right to your own personal use.
    You do NOT have the right to distribute to others.
    This is illegal.  There is no doubt about it

  • My iPad is disabled, but I know the passcode.. When i connect it to iTunes it says it can't access it because it has a passcode. How can i get rid of the passcode without resetting the iPad? And if there is no way to do so, how do I completely reset it?

    My iPad is disabled, but I know the passcode.. When i connect it to iTunes it says it can't access it because it has a passcode. How can i get rid of the passcode without resetting the iPad? And if there is no way to do so, how do I completely reset it?

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.htmlhttp://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tbhttp://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Devicehttp://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htmhttp://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • I can't get my Ipad to show up at all in Itunes.  1 How do I fix that and 2 Can I fix this without losing all of the videos and apps that aren't synched with my computer yet?

    I can't get my Ipad to show up at all in Itunes.  1 How do I fix that and 2 Can I fix this without losing all of the videos and apps that aren't synched with my computer yet?

    http://support.apple.com/kb/ts1591
    http://support.apple.com/kb/TS1538

  • If I own Adobe Photoshop Elements 12 and have it installed on my computer, how can I get access to Adobe Bridge without a monthly subscription?  Is there a way to use Adobe Photoshop and Bridge without paying a monthly fee?

    If I own Adobe Photoshop Elements 12 and have it installed on my computer, how can I get access to Adobe Bridge without a monthly subscription?  Is there a way to use Adobe Photoshop and Bridge without paying a monthly fee?

    Hi Jaclyn2,
    Please follow the steps mentioned in the kb: http://helpx.adobe.com/creative-suite/kb/error-update-server-repsonding-cs4.html .
    Regards,
    Romit Sinha

  • I recently added photoshop elements 12 to my computer but can't get past the initial log in screen. It goes gray and spins.  any thoughts?

    I recently added photoshop elements 12 to my computer but can't get past the initial log in screen. It goes gray and spins.  I have a current serial number and log in ID/password but still not working.  Any thoughts?

    Hello,
    I recommend you contact AT&T's dedicated BB Support staff (call their front line, request escalation to BB Support) and have them check to be sure that your account with them is correctly configured for this device. Sometimes when switching devices things don't fully automatically move behind the scenes, and only they (ATT) can validate that.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can I get this thing to work without apple id? :(

    I've got Iphone 4s from my boss instead of my paycheck due to a bankrot. And he doesn't remember his apple id,password or e mail he used to activate Iphone.. How can I get this thing to work without it? :/

    You can't.
    Sounds like it he gave you a stolen iPhone or at least a worthless one.

  • How can I get the list of drivers without getting popup message?

    Every time the application gets to this line:
    File[] roots = File.listRoots();
    I get message box: "There is no disk in the drive.
    Please insert disk into drive A:"
    How can I get the list of drivers without getting
    this message popup?

    I don't have a solution to this problem. However, it does occur and it is annoying. I am testing our application on 4 client machines. On three of them, it NEVER asks for the floppy disk. On the remaining one, it ALWAYS asks. I have looked on the computers and cannot find any configuration differences (in fact, these machines are kept in a "closed environment", and therefore, they are configured, by default, exactly the same).
    Does anyone have any thoughts?

  • HT201441 how can i get into my iphone 5 without  a sim card

    how can i get into my iphone 5 without  a sim card?

    What exactly do you mean by "blocked"?

  • How can I get on the apps store without a debit/credit card or an itunes gift card?

    How can I get on the apps store without a debit/credit card or an itunes gift card?
    I can't get any of these, it's impossible for me to.
    HELP PLEASE.

    Create a NEW account using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card

  • Verizon iphone. how can i get to the home screen without activating it on a plan

    how can i get to the home screen without activating it on a plan

    Unless it is a 3rd party cord, there is no cord that just goes from the phone to the wall. However, you will need a cord that connects to the computer and the phone. The device is in recovery mode and you will need to restore it. See this support document for the instructions. http://support.apple.com/kb/HT1808

  • HT4623 how can i get my iphone to work without itunes

    how can i get my iphone to work without itunes

    You don't need a computer at all to activate and use a phone running iOS 5 or 6.
    Turn it on, go through the activation steps on screen, and you're up and running.
    Are you having some kind of problem you'd like help with, or is this just a hypothetical question?

  • I just updated my phone and it is now stuck with usb cable and itunes logo and itunes on my computer says I have to restore.  Can I get my phone working again without loosing my photos?

    I just updated my phone and it is now stuck with usb cable and itunes logo and itunes on my computer says I have to restore.  Can I get my phone working again without loosing my photos?

    There is no other way than to plug into a computer to restore the phone. You can use another computer to do so, but in case you did not back up to iCloud your data and settings will be gone.
    Follow this article to connect in recovery mode:
    iOS: Unable to update or restore

Maybe you are looking for

  • Unable to print from my desktop but I can print wirelessly from my tablet

    I have an HP Officejet 4620 all-in-one wireless printer that worked fine until I switched from a Verizon to an Xfinity router. The printer is not communicating with my desktop [a Gateway], which is using Windows 7, however I can send things from my t

  • The process to change apple ID's on iPhone 4s without effecting apps

    To give a bit of background on my situation, I bought my first iPhone (4s) a few months ago, and when I bought it the cell phone sales representive asked if I had an Apple ID. At the time I told him no, because I did not know exactly what it was so f

  • Respone message in an synchronous scenario

    Hi, I want to create a scenario: third party system  (via WebService) <->  SAP PI <-> SAP (ABAP Proxy) I have a SOAP to Proxy synchronous scenario. Its an synchronous outbound and an synchronous inbound interface. It is possible to transfer the respo

  • Convert a big txt from ANSI to UNICODE

    Hi All. I have an very big txt file, around 500MB. can't open with notepad, or other tools the format is ANSI, I want to convert it to unicode format.. how to convert it without openning it..

  • Firefox 22 /Open link in new tab not working

    Just loaded FF22. Sometimes I have a slow connection speed and I need FF to open links in a new tab, so pages do not have to reload. On the earlier version. Say I went to www.google.com and clicked on search link, It would open in a new tab (without