Problem uploading an xsd to get class files

Hi,
I am trying to uoload the xsd file to get the xmlbean classes at the
http://workshop.bea.com/xmlbeans/XsdUpload3.jsp?ACCEPT=checked
website and I get the following error: (any ideas?)
Error 500--Internal Server Error
java.lang.RuntimeException: User has no access to upload files
     at weblogic.management.console.utils.MultipartRequest.(MultipartRequest.java:171)
     at jsp_servlet.__xsdresult._jspService(__xsdresult.java:341)
     at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

Hi Paula,
In order to make sure that your class files get into the myclasses directory, make sure that you Output Directory variable points to your myclasses directory. When you right click opn the your specific .jpr file and drill down to Configurations > Development > Paths , you will find a Output Directory field where in you need to enter the <JDEV_USER_HOME>\myclasses.

Similar Messages

  • How to get .class files from a JAR at runtime

    Hi. I wrote a program that load the classes it find in the "prog/components" directory. It enables me to add new components without messing with the code of the main program. Everything worked fine when wrote a batch file - but I want to create a JAR file. In the Batch file I gave the path to those files for the class loader in a loop, and it was "prog.components/" + filename[i] (I get the file names by using a FileFilter).
    My question is - how can I obtain the files in the prog/component directory inside the JAR? WHen I left it as it was in the BATCH it didn't work because there wa no prog/component dir outsiede the JAR. What should I do?

    Thanks man, that was really helpful! I wrote some piece of code that inserts the file names I want to an ArrayList. However, I wonder how you would make the program list all the files in the "prog.jar/prog/components/" directory? I think your code would be better tahn mine since you've coped with it before. Could you write the code snippet?

  • Problem Viewing DTR Permissions - Failure getting ACL file

    This is an NW04S-SP13 Standalone J2EE with EP and DI Usage Types.
    NWDI has been setup using the "ESS Cookbook".
    The Dev Conifg was imported from the ESS track and NWDS project was created from the ESS DCs but we could not change any objects.
    Looking further, we noticed that we when we were in the DTR Repository browser in NWDS and used the context message to "View Permissions" on any object that we get the message:
    "Getting ACL file failedGet object id of version failed"
    Did anyone ever see this error message?
    TIA ... Bart

    Akshatha,
    Yes, that was the strange thing ... I was using the same user to logon directly to the DTR as I was using from the Development Perspective of NWDS.
    The issue seems to have been solved since I started using a different "client" from NWDS.
    When I reported this problem, I had been using the client "All_Workspaces".   It looks like I should have been using the client <SID>_<Trackname>_D.
    When logging in from Dev Perspective of NWDS, it was not clear which client was being use (I didn't choose).
    In looking at the XML files that define those clients, I could see that there were no "mountpoints" for ACLs in "All_Workspaces" like there were in client <SID>+<Trackname>_D.
    Let me know if you have any other insights.
    In any case, this seems to be solved and I will close this thread shortly ... Bart

  • How to get *.class file path....

    how could find the executable file path at execution time..
    if there is one *.class file, then i will paste it to another location . next i will execute that .class file. how to find that path from execution program ....

    Try the following
    URL path = getClass().getProtectionDomain().getCodeSource().getLocation();

  • How to get .class files (and others) out of JAR in code?

    Hi all,
    I am packaging up several classes in a jar file. In my code I want to be able to "read" any number of jar files, and in each case pull out all the .class files to create instances of them. I don't want to unzip/unjar the files to the disk system. I basically want to create instances of the classes in the jar files in memory as if they had been loaded off the disk by themselves. Here is the sticky issue. I have a class in each jar that is "instantiated" by my plugin engine. There are other classes in the JAR file that "support" this class that is created. For instance, the class that is instantiated then has references and calls to new SomeClase() in it, and those classes are in the JAR file. So, is there some way to either "pull out" the class(es) of a JAR file without actually unjarring them to the local system and be able to create instances of them? Or, perhaps there is a way to make the classpath of the running app "see into" all the JAR files (and any sub-dirs/packages in that jar file) as if it was part of its class path? Again, these are always loaded via the Class.forName() call and newInstance(), and can not be programitcally added to the initial running application.
    Thanks.

    Not sure if this is what you are asking, but...
    You have jars that reference each other (sounds pretty tightly coupled to me, maybe they shouldn't be in separate jars, but I digress) and each has a manifest file in META-INF, right?
    To reference another jar's contents, simply add it to the Class-Path variable in your manifest. Then you can reference the classes as if they were all unjarred and slapped in the same directories.
    More Info:
    http://java.sun.com/docs/books/tutorial/jar/basics/manifest.html#special-purpose
    Tarabyte :)

  • Problem uploading a 36.7 MB PSD file to blackboard learning systems

    I am using Photoshop CS4 extended and have a rather large file with many layers and effects for a class project. For some reason when I downloaded the file to ensure that it was intact, it displayed a very small piece of it, not the entire contents. Any ideas? I am using Mac OS 10.5.8 and a Macbook Pro 2.4 17" notebook with 4 mg of ram.
    Thank you,
    Janet

    Hi megeh09,
    You're not bumping into any file size limits with an 80 MB file. How many files do you have in the root folder of your Acrobat.com account? If there are a large amount, you might try moving some of them into a subfolder.
    Other things you can try are clearing the browser cache, or using a different browser. See System requirements | Acrobat.com for a list of supported web browsers.
    Best,
    Sara

  • Than how can i get java class by using it's class file?

    Hi
    After compilation of a java program, it creates a class file.
    After getting class file suppose class file has been deleted.
    Than how can i get java class by using it's class file?
    Thanks in advance.

    get a decompiler and run your class file through it--I'll assume you want the source code back and that you are not trying to recover a missing class file by attempting to use the class file that is missing--if it's missing, then I've not a clue on how to get it back by using what is already missing.
    BTW: many of your compilers have source control--if it does, just restore your missing file.

  • How to get the class file of jar file

    hello all,
    is there any way to get the class file of jar file,as we have when we compile a java file we get class file
    same do we have any option to get the class file of jar file

    A jar file is a zip archive, so you can uznip it or extract the contents with the command "jar" - if it is what you need.

  • Tomcat6 does not load class files from WEB-INF/lib/myjarfile.jar  WHY???

    I have placed my jar file in c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jar
    But, after restarting tomcat6, when i try to import the class file contained in the myjarfile.jar in a servlet, it says
    ProcessFileUpload.java:4: package test.test1 does not exist
    import test.test1.*;
    ^It clearly tomcat's class loading problem.
    As i unzipped my jar and placed the packagefolder structure to
    c:\tomcat6\webapps\my-application\WEB-INF\classes\testand it works perfectly.
    Anyone knows its workaround? please suggest if any configuration changes is required in tomcat or so.
    Thanks.
    ---Sujoy

    Thank you gimbal2 . There was error in creating the jar file myjarfile.jar.
    But, now I have created it again and placed it in place
    c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jarand tried to use one on the Class file included within the jar to compile my servlet. But, still I am getting error at servlet compilation time. I want to place executable jar files in
    c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jar and compile my servlet and execute the servlet.
    I DO NOT WANT TO unzip the jar, placing all unzipped files to
    c:\tomcat6\webapps\my-application\WEB-INF\classes\ folder and comiple my servlet and execute the servlet. But, I am failing to user WEB-INF\lib\ folder facility....please help me why i am not getting class files from WEB-INF\lib\ folder.
    If you please see the small code bit and tell me any possible error that would be very helpful.
    Step 1: my library java file MyClass.java
    package test.test1;
    public class MyClass {
         String myName = "Default return string value";
         public void setMyName(String varName) {
              this.myName = varName;
         public String getMyName() {
              return this.myName;
    }Step2 : Creating jar file of my library class files
    C:\jdk1.6\bin>jar cvf myjarfile.jar test
    added manifest
    adding: test/(in = 0) (out= 0)(stored 0%)
    adding: test/test1/(in = 0) (out= 0)(stored 0%)
    adding: test/test1/MyClass.class(in = 452) (out= 296)(deflated 34%)
    adding: test/test1/MyClass.java(in = 230) (out= 140)(deflated 39%)
    C:\jdk1.6\bin>Step3 : Double checking the created jar file content by listing its content
    C:\jdk1.6\bin>jar tf myjarfile.jar
    META-INF/
    META-INF/MANIFEST.MF
    test/
    test/test1/
    test/test1/MyClass.class
    test/test1/MyClass.java
    C:\jdk1.6\bin>Step4 : Placed myjarfile.jar to
    c:\tomcat6\webapps\my-application\WEB-INF\lib\Step5 : Restarted standalone Tomcat6 in my Windows XP SP2.
    Step6 : Created a simple servlet LibFolderTest.java within my-application\WEB-INF\classes\ folder with code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import test.test1.*;
    public class LibFolderTest extends HttpServlet {
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              MyClass mc = new MyClass();
              out.println(mc.getMyName());
    }Step7 : Tried to compile my servlet LibFolderTest.java and got the following error
    LibFolderTest.java:4: package test.test1 does not exist
    import test.test1.*;
    ^
    LibFolderTest.java:11: cannot find symbol
    symbol  : class MyClass
    location: class LibFolderTest
                    MyClass mc = new MyClass();
                    ^
    LibFolderTest.java:11: cannot find symbol
    symbol  : class MyClass
    location: class LibFolderTest
                    MyClass mc = new MyClass();
                                     ^
    3 errorsThe above servlet compilation error on Step7 is telling me that myjarfile.jar is not loaded by Tomcat6 or not available for use when compiling servlet. I want to use myjarfile.jar from within WEB-INF\lib\ folder but I can not. please help.
    ---Sujoy

  • How to restrict the .class file from decompilation

    Hi all,
    i got a security problem. i need all the java class files to be most secured. is there any to restriction on the java class files from decompilation. is that possible?. pls help me out. it's very urgent
    thanks in advance

    You can make it harder to understand the decompiled code if you use an obfuscator. (I don't have links to any, do a google search, or search these forums, it have been discussed here previously.)
    You cannot completely prevent decompilation, though. Obfuscating does not for example not mean that any passwords you have hardcoded in the source is secure.

  • Impossible to get my files bac

    Hello,
    I have a Zen Touch, and I put a few Go of files (photos, videos etc.)
    The probleme is, I can't get those files back!
    When I use "Nomad Explorer" (Maybe it isn't called the same in english, I use the french program), it becomes verrryyyyyy slow and in the end, I get an error message telling me it's impossible to paste the files back on my computer!!!
    Some files are very important, so how can I find a solution?!
    Thanks!
    Jofrenchies

    up!
    this is very important!

  • Problems uploading class files to web server

    Regular class files upload fine(to yahoo geocities) but when I try to upload multiple class files of the same instance(ex: MyProg.class, MyProg1$.class, MyProg1$2.class) the ones with the $ symbols wont upload therefore rendering my applet on my website useless. I can change the name and then upload it, but when I go to rename it within the site, I get an "invalid file name" error. I just want my applets to run on my web page so that people can play with them.
    Any help would be greatly appreciated!
    Scott Miller

    AOL is the same. Note that the xxx$.class files relate to inner classes and you can solve your problem by removing them and creating seperate classes for these.

  • Problems trying to "hot-deploy" class files in iPlanet. Want to deploy a compiled class (i.e. servlet, jsp) without having to bounce the server. Known issue in iPlanet? How can I get around?

    Currently iPlanet is not allowing us to hot deploy a modified class file(i.e., servlet) as it advertises. It doesn't seem to have a problem with jsp's however. But everytime we modify a servlet(say in an emergency), and wish to deploy, we still have to bounce the KJS. We would like to avoid this if possible. How? I heard this might be a known issue in iPlanet.

    I apologize but this is a clarification of this problem. We are having a problem dynamically reloading java classes that are referenced by jsp's and servlets. The problem DOES NOT exist when trying to reload jsps or servlets themselves. We would like to reload these classes without having to restart the processes. Any thoughts would be helpful. Thanks.

  • Problem uploading files

    I'm having a big problem trying to upload files - whether it is as an email attachment or homework for and online class. I get to the file I want to attach, and the ‘choose’ button does not become clickable, and then the entire web browser freezes up. The only thing to do then is to force quit and try again, but it never works. My dad bought a MacBook at the same time I did and he has no problem uploading files. Does anyone have any suggestions? It will be quite annoying if I have to transfer all of my documents on a flash drive to another computer every time I need to upload something. Thanks in advance!
    MacBook    

    Welcome to Apple Discussions!
    The variety of uploading tools can be a bit daunting, and the design of websites that allow for uploading can also be. Ideally a website can be set to have a common FTP server that everyone can upload to with a standard FTP program such as http://www.rbrowser.com/ or http://rsug.itd.umich.edu/software/fugu/
    If it is a website with a choose file from hard drive type setup, it may be the code of the website is poorly designed for specific browsers as my FAQ here explains:
    http://www.macmaps.com/browser.html
    As for sending e-mail, if you are sending e-mail to Windows users, use the attachment toolbar button in Apple's Mac OS X Mail by first making sure it is there in the View menu -> Customize Toolbar, and you'll find in the dialog to choose documents a checkbox for Send Windows Friendly Attachments.
    If you are connecting a server with Appleshare or NTFS drives that's whole different issue which may have to deal with firewall ports.
    So the real question is, what method are you using to send files to other people, and what operating system do the other people have?

  • IPhone 5s wireless connectivity issues, cannot upload files/state to iCloud, and supposedly needing to do so in order to get my files/state onto a new iPhone 6 Plus

    I am trying to get my files from my old iPhone 5s onto my new iPhone 6 Plus. I am currently and have been using iCloud to backup my files/state. However, I believe the antenna on the iPhone 5s went kaput a few months ago, because the Wi-Fi and Bluetooth, both, do not work at all, meaning, I have tried all solutions including, resetting network settings, restarting the phone, etc. This is problematic because, as far as I know the iPhone 5s needs to be connected to Wi-Fi or Bluetooth to a Wi-Fi Hotspot in order to ask the internet, in order to upload current information/state to iCloud. Herein lies my problem.
    I have used iCloud already, to download my current files/state to my iPhone 6, with a caveat, these are only the files/state from before the antenna supposedly went kaput. That means, that all of my files/state since that time, while still being on my iPhone 5s, is not uploaded to iCloud, which then means I do not have it on my iPhone 6 which was updated to the most current files/state that was available at the time.
    What do I do?
    I have iTunes installed on a Windows 7 and Windows 8.1 Computer, and I have made a backup on there. However, I have to admit, I find iTunes very counter-intuitive and very difficult to use/understand. And I'm mostly referring to the syncing/backing-up features. I know you have to have safe guards to protect software usage, but with this high-minded philosophy of minimalism, couldn't it be as easy as drag and drop? Even software syncing? USB syncing with iCloud, etc?

    Thank you for the information. I checked out the section and read it through. From what I can gather, you can start your new iPhone from an itunes backup (Set Up Iphone > Restore from iTunes Backup), but, in my situation I need to add the Files/State from the old iPhone backup to the new iPhone that was started from scratch and has it's own unique Files/State, without subtracting from either. The problem is, that I don't want to subtract anything, and from what I understand about Syncing, if I am Syncing a new iPhone that's been started up, edited, has it's own suite of apps, etc. to an old backup of a previous iPhone, I am going to lose everything new I've done, as it will sync with the previous Files/State.

Maybe you are looking for

  • Because of a POLL() Timeout, Listener Connection to a DB Takes Long Time!

    Envionment: OS: OEL5.3 (2.6.18-128.el5Xen) x86-64bit RDBMS: 11.1.0.7 (in an OVM setup) The Problem: It takes more than 10 seconds to get connected to the 11.1.0.7 database using SQL*Net with dedicated servers. Points to consider: 0. I posted this in

  • How can I delete an old exchange email account

    I have a new iPad Air. I restored it from a backup of my old iPad 3. My work exchange email account came with it but does not work. When I followed the procedures my work support provided I found a new email account was created with the same name.  I

  • Scheduline lines in Scheduling agreement

    Hello Gurus, I have a setting in material master in MRP1 view MRP group as generate planned orders only. But when i run MD02 for a specific material and select MRP control parameters as Delivery schedule as 3(schedule lines). Will it create Schedule

  • Are these requisition release strategies common?

    All, I'm designing new requisition release strategies for indirect requisitions at a chemical industry client.  I'd like to know how often you have seen the following sorts of design before: Existing design: Item-based release with workflow, with thr

  • Typo3 intel mac

    Hi Forum, can anybody help me installing typo3 on an intel mac, 10.4.10. I used xampp, personal websharing activated, apache couldn't start. How can I set permission locally to typo3. thx for your tipps cha64 macbook   Mac OS X (10.4.10)