Source folder for portal web project

Hi, after I created a portal web project. under Java Resources, there are 3 items:
1, src
2, WebContent/WEB-INF/src
3, Libraries
What the second one " WebContent/WEB-INF/src" is for? should all the java source codes be under /src? If not, what's the criterira to decide which dir to go? Thanks!

I think the OEPE is very unstable. I don't have it in another workspace when I create portal web project in the same way. I can reporduce it in the same workspace. Anyway, I should only put the .java file under /src, right?

Similar Messages

  • Endpoint Protection error: The source folder for content does not exist.

    I have a single SCCM 2012 SP1 CU4 server running on Windows Server 2012.
    I have been using this for a little more than a month for Endpoint Protection and Windows Updates.
    I just recently started seeing that my Endpoint Deployment Package has Failed.  I click on "Content Status" and select the Endpoint package (which again shows Failed).  I click on "View Status" and I get this
    message in the "Error" tab:
    The source folder for content does not exist.
    The Asset Details point to the exact location  that does not exist:
    The source directory "\\<server>\updates\endpoint\6bd81fde-3a3f-4aa9-bf70-ba007891ca68" for package "<package>" does not exist. 
    I didn't change anything related to this, and that directory path (\\server\updates\endpoint) is
    shared and is populated with a lot of other folders. 
    Is this possibly just a bad update file?  Should I manually create that sub-folder that it says is missing?
    Any help would be great!  Thanks!

    Thanks for the quick reply, Torsten.  (I often forget which logs to check for certain things).
    There are six lines (3 errors -- in italics below) in the log around the same time frame.  They read:
    The source directory \\sccm-corp\updates\endpoint\6bd81fde-3a3f-4aa9-bf70-ba007891ca68 doesn't exist or the SMS service cannot access it, Win32 last error = 2    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM  
     5920 (0x1720)
    STATMSG: ID=2306 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SCCM-Corp.pdcarea.lcl SITE=PDC PID=6008 TID=5920 GMTDATE=Tue May 27 16:54:46.962 2014 ISTR0="\\sccm-corp\updates\endpoint\6bd81fde-3a3f-4aa9-bf70-ba007891ca68" ISTR1="PDC00063"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="PDC00063"    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM    5920 (0x1720)
    Failed to take snapshot of one or more contents in package PDC00063    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM    5920 (0x1720)
    CDistributionSrcSQL::UpdateAvailableVersion PackageID=PDC00063, Version=10, Status=2302    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM    5920 (0x1720)
    STATMSG: ID=2302 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SCCM-Corp.pdcarea.lcl SITE=PDC PID=6008 TID=5920 GMTDATE=Tue May 27 16:54:46.990 2014 ISTR0="Endpoint Protection Definition Updates" ISTR1="PDC00063" ISTR2="" ISTR3=""
    ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=400 AVAL0="PDC00063"    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:46 AM    5920 (0x1720)
    Failed to process package PDC00063 after 33 retries, will retry 67 more times    SMS_DISTRIBUTION_MANAGER    5/27/2014 11:54:47 AM    5920 (0x1720)

  • Html code(source code) for  a web page

    hi all
    i want to get the source code for a web page throgh
    my java program .please can you tell me how to do it.
    thanks

    give this a try.
    import java.awt.*;
    import javax.swing.*;
    import java.net.*;
    import java.io.*;
    public class JApplet1 extends JApplet
         public void init()
              getContentPane().setLayout(null);
              setSize(470,391);
              JButton1.setText("google.com");
              getContentPane().add(JButton1);
              JButton1.setBounds(12,12,120,24);
              getContentPane().add(JScrollPane1);
              JScrollPane1.setBounds(12,48,444,336);
              JScrollPane1.getViewport().add(JTextArea1);
              JTextArea1.setBounds(0,0,440,332);
              SymMouse aSymMouse = new SymMouse();
              JButton1.addMouseListener(aSymMouse);
         javax.swing.JButton JButton1 = new javax.swing.JButton();
         javax.swing.JScrollPane JScrollPane1 = new javax.swing.JScrollPane();
         javax.swing.JTextArea JTextArea1 = new javax.swing.JTextArea();
         class SymMouse extends java.awt.event.MouseAdapter
              public void mouseClicked(java.awt.event.MouseEvent event)
                   Object object = event.getSource();
                   if (object == JButton1)
                        JButton1_mouseClicked(event);
            URL u;
         URLConnection conn;
         InputStreamReader in;
         BufferedReader data;
         String line;
         StringBuffer buf = new StringBuffer();
         void JButton1_mouseClicked(java.awt.event.MouseEvent event)
             try{
                 u = new URL("http://www.google.com");
                  conn = u.openConnection();
                  in = new InputStreamReader(conn.getInputStream());
                  data = new BufferedReader(in);
                  while((line = data.readLine()) != null)
                      buf.append(line + "\n");
                  JTextArea1.setText(buf.toString());
              }catch(Exception e){}
    }

  • Problem creating portal web project in weblogic workshop 9.2

    hello All,
    I am facing a problem when i create portal web project in weblogic workshop 9.2 it gives some problems
    The library module reference :
    p13n-app-lib
    wlp-framework-full-app-lib
    wlp-services-app-lib
    wlp-tools-support-app-lib
    is on the classpath of this project, but it is not contained in the weblogic.xml descriptor of this WEB project : portalproject.     weblogic.xml     portalproject/WebContent/WEB-INF     
    so plz help me how we provide these library .
    Diwakar Gupta

    Those are application libraries that should be listed under the portal enterprise app under meta-inf/weblogic-application.xml.

  • Setting vm-parameters for a web project?

    To be able to get my web project to work I need to set a vm-parameter. This parameter:
    -Xbootclasspath/P:/lib/OB.jar
    But I can't find anywhere to set this for a web project. How can I achieve this?
    Regards,
    Daniel

    http://www.bulletsandbones.com/GB/GBFAQ.html#exportexactlength

  • How to change the application alias for a web project in NW7.2

    Hi,
    a simple question, but I could not manage to solve it: How do I change the application alias (the url) of a web project? I'm using Netweaver 7.2 and all the tutorials I found refer to earlier versions and do not work anymore.
    In particular, I would like to change e.g. "server.com/vendor~webbappname" (the standard url of the web project) to "server.com/mywebapp".
    Thanks in advance for your help!

    Hi,
    Try customizing the <context-root> element in the web.xml deployment descriptor, for example:
    <?xml version="1.0" encoding="ASCII"?>
    <application xmlns="http://java.sun.com/xml/ns/javaee"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/javaee/application_5.xsd"
               version="5">
               <display-name>YourWebApp</display-name>
               <module>
                   <web>
                   <web-uri>YourWebApp.war</web-uri>
                   <context-root>mywebapp</context-root>
              </web>
         </module>
         <module>
              <ejb>YourWebAppEjb.jar</ejb>
         </module>
    </application>
    Afterwards, rebuild and redeploy your application.
    I hope that helps.
    Regards,
    Yordan

  • Data Palette not showing Managed Beans for Dynamic Web Project, JSF 2.1

    Hello.
    I have a problem in OEPE (oepe-juno-distro-win32.zip), where the Data tab in Palette shows no Managed Beans,
    even if I created them in the ManagedBeans in faces-config.xml using the Faces Config Editor.
    I have created a Dynamic Web Project with these Facets:
    Dynamic Web Module 3.0
    Java 1.7 (JDK 1.7_21)
    Java Annotation Processing Support 5.0
    JavaScript 1.0
    JavaServer Faces 2.1
    JSTL 1.2
    Oracle WebLogic Web App Extensions 12.1.1
    I am using Oracle WebLogic Server 12c 12.1.1 zip distribution for hosting the application.
    For example, I have a UserBean Managed Bean of Session scope, that has 3 String fields
    and the respective getters and setters.
    I create a "test.jspx" file, and from the Palette -> Tags tab -> JSF HTML I drag a Form into
    the new file so I can connect it to UserBean and generate a form to enter its details.
    I select the "Generate a form tag and content from data" and in the Choose Bean dialog
    there is none of my Beans.
    What could be the problem?
    Thanks in advance.
    Edited by: 997841 on Apr 30, 2013 6:09 PM
    I forgot to mention the Oracle WebLogic Web App Extensions version 12.1.1 and that also
    for JSF 2.1 the "sub-directory" Faces Configuration below the project in Project Explorer is not
    existent, as in projects created with earlier versions of JSF.

    Yes, they are both listed under the WebLogic System Libraries.
    This is the content of .classpath file when using WebLogic System Library:
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" path="src"/>
         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Oracle WebLogic Server 12c (12.1.1) JRE">
              <attributes>
                   <attribute name="owner.project.facets" value="java"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="src" path=".apt_src">
              <attributes>
                   <attribute name="optional" value="true"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
              <attributes>
                   <attribute name="owner.project.facets" value="jst.web"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.shared/jstl/exact/1.2"/>
         <classpathentry kind="output" path="build/classes"/>
    </classpath>
    And this is the content when using User Library with Mojarra:
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" path="src"/>
         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Oracle WebLogic Server 12c (12.1.1) JRE">
              <attributes>
                   <attribute name="owner.project.facets" value="java"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="src" path=".apt_src">
              <attributes>
                   <attribute name="optional" value="true"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
              <attributes>
                   <attribute name="owner.project.facets" value="jst.web"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.shared/jstl/exact/1.2"/>
         <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/JSF 2.1 (Mojarra 2.1.6-FCS)">
              <attributes>
                   <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
                   <attribute name="owner.project.facets" value="jst.jsf"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="output" path="build/classes"/>
    </classpath>

  • Common lib jar configuration for fusion web project

    Hi,
    I have one common lib jar file which contains webservice proxy client.
    I have multiple fusion web projects which contain bounded taskflows. These projects are exposed as ADF lib jars and used in webcenter pages.
    Each fusion web projects contains model project and which defines one java class as application module. The application module calls webservice proxy client for supplying data to UI layer.
    I am looking for clarification on adding common lib jar to fusion webprojects. Do I need to add common lib jar file for both model and viewcontroller project? Is there any way to add at fusion web application level so that both model and view controller projects can refer the lib jar and also for Webcenter application if I add this taskflow as region to the page.

    Hi,
    Do I need to add common lib jar file for both model and viewcontroller project?
    This really depends on your architecture. If for example the ADF model you reference in the view layer project is from an ADF Library too then the view layer project needs to have all the library references. If the view layer project is in a workspace with a model project and the model project is the client of the service then the common jar files need to go into the model layer.
    and also for Webcenter application if I add this taskflow as region to the page.
    If you use it in a region then the problem is that ADF libraries don't hold 3rd party JAR references, which means you need to provide the library to the consuming application of the task flow. You can try configuring the JAR file in the EAR file you deploy with your consuming application and see if this is enough. Otherwise you can try a shared WLS library deployment
    Frank

  • UDF to capture the source file name or the source folder for mapping

    Hi All,
    i have 2 files -  File1 from File2 from 2 different folders- single comm channel FTP (FCC). i have to pass a constant A and B respectively to a field in target structure.
    my options are -
    either create a new field in source str populating different constants and  then map to the target str
    or a udf to get the source file name or the source folder so that i can map the constant using the value mapping/FixValue mapping.
    please suggest. thanks.
    rajib

    Hi,
    please use the UDF to determine the file name. Then based on file name either pass A or B to your target field.
    The code is as given below. Just tweak the code to pass either A or B as per your requirement.
    public String G_GetFileName(Container container) throws StreamTransformationException{
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Regards,
    Deepak.

  • Update Portal Web Project with ALBPM WAR file

    I'm trying to follow the procedures for merging ALBPM WAR file and WebLogic Portal WAR file. See link below:
    http://edocs.bea.com/albsi/docs60/config_wls/index.html?t=enterprise/wlp/c_HEAD_WLP_Config.html#c_HEAD_WLP_Config
    I brought 08-workspace-wlp-FDIDS.war into WebLogic Platform. When I expanded it, I can't find WEB-INF/classes in the source WAR file as mentioned in step 4. I'm getting a whole bunch of "cannot resolved" errors. What exactly do I need to bring into WEB-INF/classes folder in the destination? Thanks.

    hi
    well if you can merge the two wars (using any of the techniques mentioned in the other post) then thats probably good. If you cant then
    a) you either have to use WSRP (it uses SOAP behind the scenes but all that is transparent to you)
    OR
    b) use something like a web clipping / screen scraping portlet (http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/seltype.html#wp1011062)
    I'd see if the war's can be merged first , if not then I'd go with option a) ..
    regards
    deepak

  • Can Oracle Express Edition be used for Internet Web Projects?

    Hi,
    If we have a simple WWW application accessible from internet via WEB server and Web server uses Oracle Express Edition as a "data storage", can Oracle XE be used without violating license (XE limitations)?
    Thank you!

    Don't see why not, although a quote from the Oracle Technology Network Developer License Terms for Oracle Database 11g Express Edition page at the License Rights section, "developing, prototyping and running your applications for your own internal data processing operation..." so that might be leaning into a bit of a grey area. A bit.
    But with something available on the web you'll want to be sure to stay up to date with security patches- and unfortunately XE can not be patched. Just because something can be done, and even works for its intended purpose, doesn't necessarily mean that it is a "good thing to do".
    Nothing wrong with trying something out for learning and figuring out how things work- apex is a nifty development platform, although I've not kept up with the details of the last couple of versions. Too many other things on the "got to learn this, got to do that" list(s).

  • Open Source- WebAnalytics - for weblogic Portal Appliccation

    Hi All,
    I am using Weblogic portal 10.2
    I have developed a site , in portal 10.2
    I want to integrate webanalytics to my application.
    Did any one intergrated Open source Webanalytics for portal application
    I can see "AWstats" , but if you have used other than this let me know..
    Thanks & Regards
    Srinivas

    Hi,
    I tried creating a simple JSF portlet and I can able to register and it is working Fine, but my teammet got the same issue like you :) . While Analyzing what I found is , the location where we created the portlet in weblogic portal. If you created your portlet directly under WebContent folder then this issue is coming up, so try to create the portlet in a folder inside the WebContent folder, say create a folder with name portlets under webcontent and create the JSF portlet inside that portlets folder.
    Now start the server and register the same in WebCenter, you will not get that exception. I am going to raise a ticket with Oracle about this issue and get the root cause.
    Thanks
    Karthikeyan

  • "A new folder for every project file"

    Aha!!  Right, from now on ... (thanks Steve)
    From the Muvipix.com Guide to Adobe PE11 by Steve Grisetti
    (p 36) [on starting and saving a new project]
    2     Click the Browse button to choose a location to save your new
    project file.
    We at Muvipix recommend always selecting the Browse option and,
    wherever you choose to save your file, creating a new folder for every
    new project file.
    This little bit of housekeeping keeps all of your new project's files in
    one neat, little folder. And, when your project is done and you want to
    clear it from your computer, you can then remove not only the project
    file but all of the temp, render and scratch disk files Premiere Elements
    has created for that project simply by deleting that single folder!
    This makes post-project clean-up a much easier and neater process.
    OK, hope I've got it this time (at last)
    cheers
    Brian

    Oh no!  I thought I’ll re-work that Canal video again, but this time saved the project from the very start in a new folder on an ext HD (500 GB) connected USB3.0.  Tried all sorts of things on it, saved each time in the same folder.   Cleared all 14 clips from Project Assets (which of course emptied the timeline).   Shut down PE11.   Checked via Windows Explorer that the project files were all on the ext HD – and by the way, there are no other files on it, just the PE files.  My understanding is that Advanced System Care Pro (Iobit) regularly defrags all my drives if necessary (tho’ I haven’t done this manually for months with this drive).
    OK, opened PE, went to Open Recent Projects, it shows the above .prel file and the entire path, I click on it and – 
    Weird, just weird
    Nil desperandum
    Brian
    Edited --- and another weird thing, my email isn't sending the complete message I type to this forum.   I sent a whole message once and it never appeared, but this time it's cut off half a sentence above (it did this before, earlier today).
    That sentence should read,
    OK, opened PE, went to Open Recent Projects, it shows the above .prel file and the entire path, I click on it and – nothing happened!   (You'll have gathered that's what happened, but I wrote it in my Windows Live Mail, sent via BT-Yahoo ISP ......... )  Hey wait, there was a whole lot more.
    Here's a copy / paste from Windows Live Mail outbox
    It’s so odd, because as I said previously, most of the time it works so well, does all the things it’s supposed to do.   I followed Steve’s instructions here to the letter.   By the way, as you know, it’s not just the ext HD, this has been happening all along with allowing PE to save everything in its default Folder 11.
    I would be – now – very sorry indeed to have to abandon PE11 simply on this account, but it’s causing me to waste such a lot of time.   (Let alone the expense of buying it, plust one Lynda.com course, plus 2 books – not forgetting that I’d previously tried the Corel software and bought a book and DVD for that too!!)
    Might just use – what’s that simplicity-itself thingy everyone uses who just want to get any old kind of thing up on You Tube ..........   Oi vey!! <<more weary sigh>>
    Weird, just weird
    Nil desperandum

  • Workshop support for portal development

    I have installed Weblogic platform 10.3, weblogic server and weblogic workshop gets installed. But when I open the workshop and search for portal perspective; it not there.
    I have also installed Weblogic Portal 10.3.2, by which portal server, weblogic server and eclipse gets installed.
    I need to create portal application and portal web project into workshop. but i am not able to find portal perspective or application.
    Any help regarding will be highly appriciated.
    Thanks a lot in advance.
    -- Prashant

    Our sales rep told us yesterday that Workshop for WLS9 will be available around the end of the year.
    Until then there is no upgrade path for current workshop apps either. That means that apps developed in Workshop 8.1 won't run in WLS9 apparently.

  • Not able to create a web project with jsf or jsp or struts or spring

    Hi,
    I am trying to create a dynamic web project with jsf or jstl or struts or spring or any of web options available for a web project, but I am not able to do it.
    When I choose any of these options, the wizard asks me to "select an existing jstl/jsf/Spring 2.0 library, or click Add to add a new library." and since it doesn't show any existing libraries there, I clicked on add new library. When I click add, it opens a new dialog box where it has two options :
    1. to use spring/jstl/jsf lib from bea web site - when I choose this option, it tries to connect to the bea web site and gives me error that "connect time out". I don't know why it is not able to connect to the internet. I am not able to see the help also. There it gives error "The requested URL could not be retrieved".
    2. to use libraries from an existing spring installation - I provide the path of a directory where spring lib are, but then it gives me error that this is not a valid installation.
    On another machine, I am able to see the help contents, but still not able to get these libraries from the bea site.
    Please help.
    Thanks in advance,
    Sushma

    Hi Sushma,
    The issue you are facing has been addressed and will be part of the next release. For the current release, please follow the steps listed below.
    Send an email to [email protected] with details on specific facets you are trying to enable on your project.
    You will be provided with a url where you can download the required jars and details on how to manually add the jars to the workspace which will prevent the download on demand scenario.
    Cheers
    Raj

Maybe you are looking for

  • Deletion/Change of Business Partner Relationship

    All, We are having a issue regarding replication of partner relationship changes from R/3 to CRM. Partner deletions/changes in R/3 are not replicated in CRM. We do not do any customer master changes in CRM. If a Ship-to is deleted in R/3 the BDoc com

  • JAVA Mapping: Handle Special characters like u00E4,u00FC an so on

    Hi everybody, we have a JAVA Mapping that gerenates text nodes with special characters. The generated XML is later used in an graphical message-mapping. During runtime we ge the trace/error: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Err

  • Need help reg sender JDBC adapter

    Hi, I am having a requirement like, i need to fetch the data from two data base tables. and after fetching the data, i need to update those two tables. For selecting the data from two tables, two select statements i need to write, how i can give two

  • Configuring WRVS4400N with UC320W

    Hello, I'm new to VLANs and PBX systems so I was hoping I could get some help in setting up a Cisco UC320W with my WRVS4400N v2 router, specifically connecting to a SIP trunk and with IP phones. I am able to get the UC320W to work if I bypass the rou

  • Dynamic port use

    My application uses RMI by having a server-proxy-service system to enable the classes on the user's side to access functions on the server side that access the oracle database. I have recently been asked for a specification of the ports that our appl