Javadoc and J2EE

Hi everyone. I am a noob when it comes to developing on J2EE, javadoc, etc.
I am interested in trying to utilize Javadoc for my projects. In Eclipse I create a web projects and use a combination of servlets, jsp, html, js, and jquery. When publishing my code, I export the EAR file and upload that to an instance in Oracle Weblogic.
Unfortunately I cannot run javadoc from my local machine. I need to run it on my server.  When I run javadoc on the EAR files I get messages like this.
Loading source files for package testEAR.ear...
javadoc: warning - No source files for package testEAR.ear
Constructing Javadoc information...
javadoc: warning - No source files for package testEAR.ear
javadoc: error - No public or protected classes found to document.
1 error
2 warnings
I exported the EAR file with the source code from Eclipse.
Frankly I am not sure really what I am doing. I couldn't really find anything on google about running javadoc from the EAR files.
Is there a tutorial or something that can tell me how to do what I want?  Am I even approaching this correctly?
Thanks

> I cannot run javadoc from my local machine
Why not?
>  I need to run it on my server
You need to run it when you build your application.

Similar Messages

  • JWSDP and J2EE Integration: Doesn't work. What's the point?

    My problems involve the integration of JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    It looks like a long one, but it�s really not that bad. All comments are appreciated.
    I�ve numbered each line-paragraph-section for easy reference later.
    (1) My ultimate goal is to setup a website that displays data from a database. I will use Java, Apache, Oracle, and whatever else I need to create a website that uses servlets, JavaServer Pages (JSP), and JDBC.
    (2) I�ve got four Pentium III computers:
    1. Windows 2000 Server to be the web server (MyWebServer, IP = 10.10.1.1).
    2. Windows 2000 Professional to be the database server (MyDatabaseServer, IP = 10.10.1.2).
    3. Windows 2000 Professional that I use to develop and test (MyDeveloperPC, IP = 10.10.1.3).
    4. Windows 2000 Professional that I use as a client to connect to the website (MyClientPC, IP = 10.10.1.4).
    (3) On MyWebServer I installed the following:
    Java 2 Standard Edition (J2SE)
    Java 2 Enterprise Edition (J2EE)
    Java Web Services Developer Pack (JWSDP)
    The JWSDP tutorial
    Apache HTTP Server
    (4) The files I downloaded and installed are as follows:
    j2sdk-1_4_0-rc-win.exe
    j2sdkee-1_3_1-win.exe
    jwsdp-1_0-ea1-win.exe
    jwsdp-1_0-ea1_01-tutorial.zip
    apache_1.3.23-win32-x86-no_src.exe
    (5) After installing these products, I set the environment variables as follows:
    JAVA_HOME = c:\j2se
    J2EE_HOME = c:\j2ee
    JWSDP_HOME = c:\jwsdp
    Path = c:\j2se\bin;c:\j2ee\bin;c:\jwsdp\bin; [and other previous statements]
    (6) I checked to see that Apache is running as a service. It is.
    On MyWebServer I start Tomcat and J2EE. Both start properly and are operating simultaneously.
    (7) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1
    This displays the page c:\ApacheHTTP\apache\htdocs\index.html.en (The Apache default server installation page.)
    (8) I then enter this address in IE:
    http://10.10.1.1:8080
    This displays the page c:\jwsdp\webapps\root\index.html (The default JWSDP page).
    (9) I then enter this address in IE:
    http://10.10.1.1:8000
    This displays the page c:\j2ee\public_html\index.html (The J2EE 1.3 Default Home Page).
    (10) So far so good. Now I want to test JWSDP as a container for JSP pages.
    (11) I use ant to build the converter app found in the tutorial examples (in folder c:\jwsdp\�\tutorial\examples\gs). I then deploy the converter app to the c:\jwsdp\webapps\gs folder.
    (12) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1:8080/gs
    The converter app works perfectly.
    (13) To eliminate the need to enter the port number, I create a link from the Apache default server installation page to the converter app. From MyClientPC and enter this address into IE:
    http://10.10.1.1
    I then click on the link to the converter app and it works perfectly.
    (14) Question: Is this the best way to display JSP pages without having to enter the port number?
    (15) Now it�s time to integrate JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    (16) After I complete this integration I cannot start both Tomcat and J2EE at the same time. This makes sense because they both share port 8080.
    I start Tomcat.
    (17) From MyClientPC and use Internet Explorer to test the various relevant addresses. Everything works the same as it did before except this one:
    http://10.10.1.1:8000
    The page cannot be displayed. The J2EE default home page is not displayed, which makes sense because the J2EE port is no longer 8000; it has been changed to 8080.
    (18) Now I shutdown Tomcat and start J2EE.
    From MyClientPC and use Internet Explorer to test the various relevant addresses:
    (19) http://10.10.1.1:8080
    Displays the JWSDP default home page.
    (20) http://10.10.1.1:8080/gs
    The page cannot be displayed. The converter app no longer works.
    (21) From MyWebServer and use Internet Explorer to test localhost:
    http://localhost:8080
    This displays the J2EE default home page.
    (22) Question: Why does localhost give me a different page than the IP address?
    (23) Question: What was the point of integrating JWSDP and J2EE?
    (24) I want to get the converter app working, so I create a .war file and attempt to add it to the J2EE deploytool (see the two integration documents listed above at section 15.) I create the .war file following the instructions in the JWSDP tutorial:
    http://java.sun.com/webservices/docs/ea1/tutorial/doc/WebApp3.html#64606
    (25) I change to the c:\jwsdp\�\tutorial\examples\gs\build folder.
    I then type:
    jar cvf converter.war .
    A .war file is created.
    (26) I open the deploytool: File, New, Application, and I name it �converter�.
    I attempt to add the .war file: File, Add to Application, Web WAR.
    (27) When I attempt to add the converter.war file I get this error:
    �converter.war does not appear to be a valid web JAR.�
    I tried a few different attempts, all with the same result. I�m stuck.
    (28) I ask again, What was the point of integrating JWSDP and J2EE?
    (29) If this is the preferred configuration, how do I display my JSP pages like the converter app?
    Please help!!!

    The JWSDP tutorial says to be in the �build� folder of the example when issuing the jar command to create the .war file. The build folder is created when I run the �ant build� command.
    Attempt 1 from the command prompt in folder c:\jwsdp\tutorial\examples\gs\build>
    I typed this command:
    jar cvf c:\jaxmservices\converter.war .
    In this case I directed the .war file to be placed in a different folder as you suggested. Here�s the output:
    added manifest
    adding: index.jsp(in = 921) (out= 525)(deflated 42%)
    adding: WEB-INF/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/Converter.class(in = 582) (out= 358)(deflated 38%)
    Didn�t work. Same error as before.
    Attempt 2 from the same folder:
    I typed this command as you suggested (I tried it with and without the final dot):
    jar tvf converter.war
    Here is the output:
    java.io.FileNotFoundException: converter.war (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.tools.jar.Main.run(Main.java:185)
    at sun.tools.jar.Main.main(Main.java:904)
    I tried a few other variations on these attempts with no luck. I�m stuck.
    I�m attempting to create a .war file out of two files: index.jsp and converter.class.
    Now that I�ve integrated JWSDP and J2EE, is there some other way that I can run the converter app instead of a .war file and the deploytool? In other words, if I go back to using ant to build and deploy converter, where would I deploy it so that it will work with J2EE?
    By the way, it doesn�t have to be converter. I�d be happy if I could get any JSP page to work in J2EE after the integration.
    Forever grateful,
    Logan

  • Connect swing and J2EE

    In WEB Application i used JSP, Struts and J2EE.
    But Now use swing application, and something for joing swing and j2ee
    Somebody knows something...
    I need your help....

    In WEB Application i used JSP, Struts and J2EE.
    But Now use swing application, and something for joing
    swing and j2ee
    hopefully, no business logic is in struts; only the application logic (i.e. order of screens, input type validation, etc.). If this is the case you have many options:
    - direct calls to the ejb (assuming you have a service defined as an EJB)
    - SOAP, SOAP-RPC, or a full web-service (as mentioned above)
    - your own custom protocol over HTTP
    - RMI (probably too much work; easier to just make direct EJB calls)
    - JMS (probably more work than just using SOAP or HTTP)
    - Socket based communication with your own custom protocol
    Probably the fastest to get going is direct calls from swing to the EJB.
    You'll have to re-implement your application logic; but this is fine as the swing app will probably have a different flow than the web-app.
    Best of luck,
    Andrew

  • J2EE 6.20 Java Cluster - Synchronisation of EP AND J2EE Components

    Hello,
    <b>
    J2EE 6.20 Java Cluster -> Synchronisation of EP AND J2EE Components </b> 
    We have a productive SAP Enterprise Portal J2EE Cluster Farm with 3 Server. The version of EP is: 6.0 SP2 Patch 28. One State Controller, one Backup Controller and one new Dialog Instance.
    We would like to know, which folders, shares and other j2ee/ep-components are synchronized from the state Controller-Server to the new Dialog Instance?
    Best Regards,
    Ralf Steffens

    Thank you for your response.
    In the cluster administration, the Server IP column reflects the IP of the OS instance on which the server runs.  The question is relative to which LDAP server each server process grabs from a round-robin type resolution.
    Any other thoughts?
    MMcHugh

  • Difference between J2SE and J2EE...

    Hi all. I was wondering what the difference between J2SE and J2EE were. I mean in the code structure. Are the packages the same, like Swing, IO, things like that. I'm a bit of a beginner in Java, only been messing around with it for about 6 months now kind of in my spare time, and I know I'm in now way ready for J2EE, but it's something I think I'd like to maybe look into. I know it's for Enterprise Applications, much bigger scale than I'm used to, but fundamentally, how is it different? Different coding conventions? New packages not in J2SE? I hope what I want is coming across okay. Thanks for all the input.
    James

    J2EE defines a large number of specifications, in addition to J2SE. Examples are the Servlet, JSP, JMS, and EJB specifications. Most of those specifications are designed to have implementations running inside an Application Server. There are free implementations available such as JBoss (combined with for example Tomcat), and I think youre best bet to learn is to download one of those and go from there. Servlets and JSP are a good beginning, and then maybe move on to EJB and the rest.
    Br - J

  • ABAP and J2EE-Stacks in SAP WEB AS

    Hi,
    I have two questions about the technical architecture of SAP WebAS, particularly about the ABAP- and J2EE-Server.
    Can someone recommend detailed papers/guides (besides help.sap.com)describing:
    1) the management of processes and resources in two parts (ABAP and Java)
    and
    2) The communication mechanisms between J2EE- and ABAP-server.
    What are the problems with JCo?
    Is there other possibilities to communicate between  2EE- and ABAP-server.(besides JCO), what is the performance in this case compares with JCO?
    Thank you!
    Peter Hneke

    Hi
    please have a look in to this Pdf Doc .   might be of soem help to you .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b52456bd-0a01-0010-6d9b-f153bf15a82f
    Apart from JCO communication between JAVA and ABAP can also be handled using ESA services .
    please have a llok at these blogs
    /people/scott.campbell/blog/2005/05/16/the-esa-is-coming-the-esa-is-coming
    /people/kevin.liu/blog/2005/10/17/esa-soa-es
    /people/harsh.chauhan/blog/2005/08/27/building-esa-and-delivering-it-through-caf
    /people/sap.user72/blog/2005/10/28/the-fundamental-problem-solved-by-esa
    Hope this helps . pelase do not forget to reward points , if helpful
    regards
    rajeshkr

  • DB-API in ABAP and J2EE

    Hello!
    I have two questions regarding the communication mechanisms between ABAP- and J2EE-Stack.
    1)Is Jco the only one solution to communicate between ABAP- and J2EE, or exist other possibilities (if Yes, is there some comparison papers: performance, advantages/disadvantages).
    2) Which similarities/differences are in the DB-communication in both Server? (e.g. each Workprocess in ABAP/Serverprocess in J2EE<--> DB-Process)
    Which DB-API is used in both stacks?
    Thank You!
    Regards

    Hi, Peter!
    For both languages - ABAP and Java - SAP offers a Dictionary (for definition of database objects) and Open SQL (for database independency), you may also in both languages embed static SQL scripts into you code (via SQL/J in Java).
    For Java there' s the Persistence-Framework offering three support levels, Vendor-JDBC, Native and Open SQL the last one guaranteeing the maximum support. You may in Java access data - via JDBC and SQLJ - in a relational or - via EJB/CMP or JDO - in a object-relational way.
    Performance-Features like Table-Buffering exist also in both stacks.
    Please have a look at <a href="http://help.sap.com/saphelp_nw2004s/helpdata/de/61/fdbc3d16f39e33e10000000a11405a/frameset.htm">Developing Java Persistence</a> for more information regarding the Java-Part.
    Regards,
    Thomas

  • Renew License Problem - Option NSP and J2E (7.0) Windows Not Available

    Hi all,
    I Download and instaled the :
    - SAP NetWeaver 7.0 Java Trial Version - SP14SR3
    - SAP NetWeaver 7.0 ABAP Trial Version - SP12
    for Windows almost 90 days ago.
    To Renew the license I went to link "SAP Sneak Preview License Key Request"
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/minisap/minisap.htm]
    But at "System Id *" combobox the correspondent options for Windows intalations above are not available (J2EE and NSP).
    Pls, how to proceed ? I remember I did it with older versions (< SP14/SP12) with no problem.
    Best Regards and thanks for your help.

    >
    Klaus Keller wrote:
    > see my posting at SAP NetWeaver Application Server
    >
    > Rgds,
    > Klaus
    Hi Mr. Klaus Keller, first at all, thanks a lot for your help,
    After your msg I requested the license renew for NSP and J2EE with success, but when I tried to instal the new license file NSP.txt (User=SAP* / Transaction=SLICENSE) I received the error msg:
    "Error when installing permanent license key - This system's system number is "000000000310714511", but there is a license key for system number "000000000310994500" in the license key file."
    In fact the System Number on SLICENSE transaction and NSP.txt are diferents.
    Looking at installation documentation (start.html / Getting Started) it shows the screen to request the renew license and it has the option below wich is not available at actual screen:
    System number [ _________________ ] (For prologation only)
    I tried to change the System Number manually at NSP.txt but the license becames invalid.
    I did not try with J2E.txt license cause I notice that the System Number is different too.
    Thanks for your attention,
    Walmir Catunda.
    PS. As the thread [No longer able to renew licenses for SAP Netweaver 2004 Linux Testdrive?|No longer able to renew licenses for SAP Netweaver 2004 Linux Testdrive?;  is closed (answered) I will keep this and put a note to this one

  • License keys for WAS 640 and J2EE

    How does licensing WAS ABAp and J2EE differ....
    If I get a key for WAS 640 ABAP and install via SLICENSE does this cover the J2ee engine also? I am running WAS 640 +java addin
    Thanks
    John

    You might need to installed the license for the J2EE engine separately.  To see the installed licenses for the J2EE, use Visual Administrator and then: Server -> Services -> Licensing Adapter and under the "runtime" tab, see under installed licenses if you have a license installed, or not.
    If not, you can install it there too.
    - Fanus

  • BPM standalone and J2EE versions

    What is the diffrence between BPM standalone and J2EE versions
    and
    What are the advantages of Using J2EE Version over standlone?
    In configuration document it is mentioned that we need to deploy wlj2eedeployer.ear on weblogic server.
    Why this deployment?
    Thanks

    Depending on your needs, the Engine can be deployed using two different implementation styles.
    Standalone Oracle BPM Enterprise Engine
    Oracle BPM can be deployed in a standalone environment running on a JVM. This is the original version of the Engine and has been around for 10 years.
    The benefits of deploying processes to Enterprise Standalone are:
    <li> It does not require an application server J2EE container to run. This means a lower cost of entry if you do not already own WebLogic or WebSphere J2EE application servers.
    <li> It is simple to install and administer.
    Enterprise Standalone uses a simple active/standby failover mechanism. When the active engine starts, it immediately registers in the Oracle BPM Directory that it is the primary engine. When the standby engine starts on another machine, it sees that another engine has already registered as the active server in the Oracle BPM Directory. Since the active engine is already up, the standby knows that it needs to ping the primary engine periodically to ensure it is still up. If the standby engine fails to get a response from the active engine, the standby notifies the Directory that it is now the active engine. When what was previously the active primary engine restarts, it notifies the Directory that it has restarted, sees that another server is now the primary and then starts as the secondary.
    J2EE Application Server Oracle BPM Enterprise Engine
    Oracle BPM Enterprise engines can also run on a J2EE application server within WebLogic and WebSphere containers.
    Oracle BPM Engines running on a J2EE Application Server support active clustering. This means that as loads increase over time, new nodes can be added making the environment more scalable over time.
    With the J2EE Application Server environment automatic failover is automatically provided across nodes.
    Finally, in answer to your last question - the deployed wlj2eedeployer.ear is useful because this lets you stop and start the Engine and deploy projects from the simple (ok - somewhat simple) Oracle BPM Process Administrator tool.
    Hope this helps,
    Dan

  • Connector for tomcat and j2ee

    I have a login system created. It creates accounts into a mysql server at the moment. I want the users to be able to log in. I need the correct details in my "my-DB-plan.xml" file in order to be able to connect to the SQL server. Im not sur what to put in this file or whether im to use a server.xml file
    Any Help.Please.

    Our[b] login.html page is simple as follows:
    <html><head><title>
    J2EE SQL Security and Registry System Demo
    </title></head><body>
    <h1>LOGIN using Derby and J2EE declarative security!</h1>
    <form method="POST" action="j_security_check">
    Username:<br>
    <input size="20" name="j_username">
    <br><br>
    Password:<br>
    <input size="20" name="j_password" type="password">
      <input name="submit" type="submit" value="Login">
    </form>
    </html>The connection is not made on the page but rather the username and password is authenticated by "j_security_check".
    It's something to do with the my-db-plan.xml file I think, but I don't know if I'm to replace that file, change it or what..
    It's setup for the Derby Database server rather than MySQL. I'm not sure how you'd change it. This login system we are using can be seen here: http://www-128.ibm.com/developerworks/opensource/library/os-ag-logreg2/

  • Consistant MaxDB and J2EE backup on Windows

    Hello!
    I need a Windows script for a consistent MaxDB+J2EE(and SDM) full offline backup to local disk.
    Does anyone have something to share...
    I usually do this in via cron in unix, but now I have to set up a similar backup-routine in Windows.
    //Fredrik

    Hi Fredrik,
    I assume you know how to create MaxDB backups (in ONLINE and in ADMIN mode).
    So the major question would be to backup the J2EE data stored outside the MaxDB, For that one - I guess - this is the wrong forum.
    A backup script for such a consistent backup should anyhow include the steps:
    1. Shutdown J2EE,
    2. Bring DB to ADMIN mode,
    3. perform a Backup of the DB,
    4. Backup the J2EE data,
    5. restart both DB and J2EE.
    Since this obviously involves a downtime I'm wondering if there isn't any mechanism of the J2EE server that would recreate lost or outdated data outside the database after a crash or a recovery.
    ==> This is really something for the J2EE forum ...!
    KR Lars

  • Anybody explain ABAP client and J2ee engine?

    There are client 000,001,066.
    But for J2ee Engine the client is in a different way.
    What is the relationship of User data between ABAP client and J2ee Engine?
    and tell me some inside about client copy? I have read some docs of help online, I 'd like more tech fact.

    Hello Shen,
    First ground rule: ABAP stack can support mutiple clients while JAVA stack supports only one client at one given time. In terms of user master data you can have 1:1 relationship between ABAP client and corresponding J2EE client provided there is connection between ABAP and UME which normally is there as it configured during installation. So if a user exists in client X in ABAP you can also view it in client X of J2EE.
    Regarding client copy what type of client copy are you asking about?
    Regards.
    Ruchit.

  • Do u know what is jdk 1.4.1 and j2ee 1.4.1?

    hi~ do u know what is jdk 1.4.1 and j2ee 1.4.1? Are they sotware program like jbuilderX for example? Do u know which of these 2 is better for jxta? Do u know the installation procedures for jdk1.4.1 and j2ee1.4.1? thanks!

    jdk means J2SE(Java Software Development Kit)
    is it j2ee or jre?
    No they are the main software for run a java program.
    jbuilderX is a editor where you can write java programs using jdk or jre.
    Both are need for jxta.
    Just run jdk 1.4.1 setup.exe file.That automatically install jdk and jre to your PC.

  • ABAP Client and J2EE client mismatch

    Hello,
    we detected mismatch between  default ABAP login client and J2EE client.
    Now we need to change J2EE client to default ABAP client.
    Its ABAP + JAVA installation and diff. occured after client copy.
    Can you please let us know where we need to change all setting for j2ee engine like default client for UME, sld etc.
    Best Regards,
    Tushar

    Hello. By default JAVA used the 001 client in ABAP+JAVA installation,  be cautious with change it.
    you can chage it through Config tool :
    http://help.sap.com/saphelp_nw70/helpdata/EN/0b/50ad3e1d1edc61e10000000a114084/frameset.htm
    or from UME --> configuration --> ABAP system. You need to read about change datasources :
    http://help.sap.com/saphelp_nw70/helpdata/EN/7e/a2d475e5384335a2b1b2d80e1a3a20/frameset.htm
    and about SAPJSF user.
    http://help.sap.com/saphelp_nw70/helpdata/EN/db/8b9b801df84aaaa76bdbcbc0b9725f/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/03e11edc6a6e99e10000000a11466f/content.htm
    Regards.

Maybe you are looking for

  • Problem with running a java app on a palm device

    Dear all, I've just downloaded a midp zip file for the palm device. I have already put the 'midp.prc' file into my palm device and have also put another prc file (java written) onto the palm device as well called 'games.prc' (which came with the zip

  • How to disable power up password

    How do you disable the administrator/power on password requirement ?I know the password and my system disabled code is 62881351. I just want to disable this requirement on on initial startup.

  • Actionscript in different frames

    Hello. I´m a newbe at Flash but I´m learning it. I´ve got a problem with my flashsite. I´ve made a rss-feed from a tutorial and I´ve got one "list" for the headlines and a "text area" for the new/description. This is all on same frame, but I want it

  • Sales Order - Using Item Category 'TAB' - Individual Purchase Order

    All, I am configuring for the first time utilizing Sales Document Item category "TAB" - Individual Purchase Order.  I have a few questions: Is there a best practice configuration guide specific for this process?  I have found the 'third party' docume

  • Apple push a cessé de fonctionner

    Bonjour, depuis la mise à jour d'Itunes j'ai systématiquement en quittant l'application "apple push a cessé de fonctionner" . Je n'ai pas trouvé d'explications sur la toile... Merci