Setting up developer's environment

Hi everyone.
Sorry if I sound slightly annoyed (it took me an hour to get to this point of posting this question -- after looking for answers, not finding any, then trying to register, activating my account, and then the forums telling me my account isn't active. Took awhile to figure out I had to log out and log back in after the forums automatically logged me after activating. Really doesn't make any sense).
OKAY
I need direction.
I have a few questions:
- How do I setup my developer's environment for java. I've spent all of yesterday evening trying and failing in every possible way. I've downloaded and installed probably 4 different things and none of which is what I need. Let me expand. I was told to get JDK 1.5.0. So I searched for it on sun and found Java SE 5 and Java EE 5 (both of which I downloaded and installed). Both of which tell me I can't compile - I/O Error: Cannot run program "javac". I've double triple and quadruple checked my environment paths ensuring that - C:\sun\java\jdk\bin is in there. I've loaded up cmd, and javac works off the bat. Still can't compile, same error. Then downloaded Java SE 6, Java SE 6, of which had the same problem. Why isn't any of this working? I just want jdk 1.5.0 and nothing else. Perhaps I should download and install Java ME? or is that bad? I don't have any previous versions of the jdk, (except for ones built into the IDE), so I don't need updates. Also, I'm aware that EE is for servlets, but what other options do I have when SE did not work?
Essentially: How do I download and install jdk 1.5.0 and only jdk 1.5.0?
- Why isn't there an official resource on information regarding the different types of developer sdk resources and what is needed? Would be nice to also have information regarding what EE, SE and ME is meant for what apps. I'm probably not looking at the right place, but when I click details, I kind of expect to get details on the package and what it comes with. Installing is nothing short of surprises on what I'm getting
Essentially: Where do I find official information about Java SDKs? Why is all the information I need in the forums under thousands of posts?
- Is it possible to customize installs? Select options on what I want, and not installed as a giant ugly bundle?
Essentially: Probably no, but would be nice for install customizations.
- Where can I provide feedback or suggestions to Sun? I'd like to let them know to provide human readable titles to the software descriptions. Their download packages are confusing. i.e.:
Java Development Kit 5.0 for Web Applications
JDK 5.0 with Java EE
This distribution of the Java SE Development Kit (JDK) is included in the Java EE 5 SDK, which contains the GlassFish application server and provides web services, component-model, management, and communications APIs that make it the industry standard for implementing enterprise-class service-oriented architecture (SOA) and Web 2.0 applications.
Please just reply with links directing me to resources. I'd rather not have ppl reply with flames, obvious answers, and the such.
I almost give up. Very likely this thread will be banned or trashed for duplicate posts somewhere in the last 5 years.
Kenneth

kennethkl wrote:
- How do I setup my developer's environment for java. I've spent all of yesterday evening trying and failing in every possible way. I've downloaded and installed probably 4 different things and none of which is what I need. Let me expand. I was told to get JDK 1.5.0. So I searched for it on sun and found Java SE 5 and Java EE 5 (both of which I downloaded and installed). Both of which tell me I can't compile - I/O Error: Cannot run program "javac". I've double triple and quadruple checked my environment paths ensuring that - C:\sun\java\jdk\bin is in there. I've loaded up cmd, and javac works off the bat. Still can't compile, same error. Then downloaded Java SE 6, Java SE 6, of which had the same problem. Why isn't any of this working? I just want jdk 1.5.0 and nothing else. Perhaps I should download and install Java ME? or is that bad? I don't have any previous versions of the jdk, (except for ones built into the IDE), so I don't need updates. Also, I'm aware that EE is for servlets, but what other options do I have when SE did not work?
Essentially: How do I download and install jdk 1.5.0 and only jdk 1.5.0?Knowing your IDE is an important piece of information. For example, when you say "can't compile" we default to assuming that means you can't compile from the command line. But you later say Javac works fine from the command line. So where is compilation failing? In your IDE? what IDE?
You don't need Java EE or Java ME (they're for enterprise and mobile developers respectively; if and when you need it, you'll know). You also probably want the JDK 6, not JDK 5 (might as well learn on the latest and greatest; it's backwards compatible anyway). The place you should have gotten it from is: [http://java.sun.com/javase/downloads/index.jsp]. Look for JDK 6 Update 17 (not with EE, not with ME, and definitely not "JRE 6 Update 17").
- Why isn't there an official resource on information regarding the different types of developer sdk resources and what is needed? Would be nice to also have information regarding what EE, SE and ME is meant for what apps. I'm probably not looking at the right place, but when I click details, I kind of expect to get details on the package and what it comes with. Installing is nothing short of surprises on what I'm getting
Essentially: Where do I find official information about Java SDKs? Why is all the information I need in the forums under thousands of posts?I would start here: [http://java.sun.com/docs/books/tutorial/getStarted/index.html]. That will take you through how to set up your environment, up to giving you tutorials about the language and platform itself.
Also, it will teach you how to develop without an IDE to start with. That's an important first step to make, and you've bypassed it.
- Where can I provide feedback or suggestions to Sun? I'd like to let them know to provide human readable titles to the software descriptions. Their download packages are confusing. i.e.:
Java Development Kit 5.0 for Web Applications
JDK 5.0 with Java EE
This distribution of the Java SE Development Kit (JDK) is included in the Java EE 5 SDK, which contains the GlassFish application server and provides web services, component-model, management, and communications APIs that make it the industry standard for implementing enterprise-class service-oriented architecture (SOA) and Web 2.0 applications.Well, clicking on Learn More would give you information more at your level. Giving completely indepth and plain-english information for somebody brand-new to Java in that little description area would just make it more difficult for intermediate or senior developers (who know these terms already) to quickly find what they're looking for. Some documentation is bound to assume something about the level of developer. That's why you should stick to the Getting Started tutorial; it's written knowing you know nothing :-).
I almost give up. Very likely this thread will be banned or trashed for duplicate posts somewhere in the last 5 years.No, we'll get you sorted out.

Similar Messages

  • Problems Setting Up Developer Users

    I am having a problem setting up developer users and I am trying to determine if I am missing a step or if there is a configuration problem on my staging and production systems.
    What I want to do should be very simple. I want to create a user that can create an application and see the information under the "Application" tab in the Navigator.
    I have created the user using the following steps on 3.0.9.82 for Unix:
    1. Create the user
    2. Make the user a full administrator (rather than end user)
    3. Make the user a member of the portal_developers group
    4. Make the user's default group the portal_developers group
    However, when I do this the user does not see the information under the
    "Application" tab. The only way I can get the user to see the info under the
    "Application" tab is to make him a member of the Portal_administrators
    and/or DBA group. Both my staging and production boxes have the same result.
    Does anyone have any thoughts or suggestions on what might be happening?

    Thank you- I have read through that thread and can see some resonance with my issue.
    My AOL emails work VERY fast with BB, in fact almost simultaneously received on PC & Torch " ping ping!"
    This issue only raised its ugly head when I had 2 Torches replaced by my insurers. 
    Whilst the claim was in process I used a new Curve, loaded from backup on PC to keep emails going and of course phone & web facilities. ( I use the BB to power internet via bluetooth to my PC / laptop when living on a remote island with no phone lines or power supplies)  All was fine. Swapping email accounts took a few minutes with the usual password confirmations for each AOL screenname etc. 
    Then the new Torches came back from insurers, and I tried to swap devices. Phoning & texting is fine. Al data and contacts swap over fine.
    SETUP email accounts.............stymied every time. It says repeatedly that my user name/password is invalid etc etc etc
    Have tried security wipes. Have tried setting up new BB ID & passwords on PC website. All is OK until I try to setup emails on the Torches.  This has used up ridiculous amounts of time- all wasted.
    I love the BB phones and the fast email push......in fact I recently bought a new Sony Xperia Z1 but sent it back because of wifi coverage meant no emails on that superb phone for lots of the time.
    Good old BB I said..........I always get emails wherever I am. ( Rural Scotland has very patchy radio & wifi coverage)  
    Was about to purchase new Z10s just to get a bigger screen, but now I am averse to buying ANY BB phone again because this present mess means I may never get emails set up again.  How nuts is that?
    Many thanks for all help & suggestions..........boy do I need them!!
    Kind wishes from West of Scotland 
    Fair winds and kind landfalls

  • How to create split development directory environment using Eclipse Galileo

    Hello there!
    Well my question is on the subject... i want to use my Eclipse Galileo IDE to develop applications but i don't know hoe to set the develop structure for that... how can i set the build path? Should i add al the *.jar on weblogic lib?
    I know about Workshop Studio but i don't understand it :_
    If any of you have a tutorial for this it would be great...
    Thanx in advance!

    Hi,
    You can start with this:
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15866/tasks.htm
    Cheers,
    Vlad

  • Patch set of Developer 6i

    Hi,
    how can I know which patch set of Developer 6i is installed ?
    Many thanks.

    Hi,
    You need click on menu "Help | About Forms Builder" and you will see the current version after the patch set have been applied, but not about what patch set was installed. (I'm not sure)
    e.g.: version 6.0.8.22.1 is showed on the screen after patch set 13 have been applied.
    Cheers

  • Weblogic.developer.interest.environment has moved!

    This newsgroup has been relocated. Going forward, please use the weblogic.developer.interest.environment newsgroup, which will be located in the [url http://forums.bea.com/category.jspa?categoryID=2004]WebLogic Server/Java EE Newsgroups folder, located at:
    http://forums.bea.com/category.jspa?categoryID=2004.
    Please note that this forum is a un-moderated community discussion.

    Pls mention the WLS version & service pack level
              Kumar
              Kevin wrote:
              > Has anyone seen this nasty error before. It is killing my server and Idon't yet know why I get it.Tue Jun 26 19:10:52 CST 2001:<E> <ServletContext-General> Servlet failed with Exceptionjava.lang.ArrayIndexOutOfBoundsException: 7743536at weblogic.servlet.jsp.JspBase.service(Compiled Code)at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)at weblogic.kernel.ExecuteThread.run(Compiled Code)
              

  • SSL-Problems when setting up a test environment with Exchange

    Hello everyone,
    I am trying to set up a test environment with Exchange 2013 to learn how the stuff works. However, I am facing some problems due to the fact that Exchange is designed for use with SSL certificates. The main thing that makes problems is the connection with
    RPC over HTTP. I've used the MS remote connectivity analyzer to find out why it is not working and as I thought it is because of a missing SSL certificate (it seems the self signed doesn't work here). Now in order to get this working I just bought a certificate
    for "mydomain.com". Now here is the first problem: This certificate is NOT a wildcard certificate. So if I understood correctly it works for mydomain.com but it won't work for subdomain.mydomain.com. Is this correct? (First question)
    If this is correct I will probably another problem: As I said this is a learning-environment so the server is at home behind a router. This means: Only one WAN-IP. I think could get this working by forwarding everything to the Exchange Server (like mydomain.com
    goes to the WAN-IP where the router is forwarding everything like port 25 or 443 directly to the exchange Server). This way I wouldn't have any problems I think: mydomain.com has a valid SSL cert, it resolves to my WAN-IP which forwards everything to the internal
    Exchange Server. Now here is the problem: I plan to setup a SharePoint Server as well. I thought about using ARR (IIS) to make both available behind the same WAN-IP without using ports inside the url. Ideally the Exchange Server should then be available via
    "mail.mydomain.com". This will work fine with ARR but then I probably have SSL problems again? (second question)
    Do you have any ideas what I can do to solve such problems? Should I buy another certificate for mail.mydomain.com? But then I would need to buy several certificates (e.g. for autodiscover.mydomain.com to get this working as well). This can become very expensive...
    Thanks!
    Regards
    Christian

    Hi,
    For your first question, if there is a single certificate just for “mydomain.com”, it cannot work for subdomain.mydomain.com.
    Generally, antodiscover.domain.com is used to access the autodiscover service for external users. If you just need test users to access Exchange server from internal environment, it is not necessary to get a certificate for autodiscover.domain.com.
    Therefore, for your second question what I can ensure is that if all URLs that used to connect Exchange from internal and external are configured to mail.mydomain.com with all services(IIS,SMTP,POP,IMAP), there will be no certificate problems in Exchange
    side.
    Best Regards,
    Winnie Liang
    TechNet Community Support

  • Setting up development environment with several projects

    We struggle with Workshop when having a large workshop application. One way of getting out of this issue was to use several deployments and to use WSRP as a mechanism to get resources from several deployed portlet applications. Performance isn't an issue for our deployment.
    This setup might help us with having smaller Workshop applications and making the development environment more efficient, but we see some issues with this.
    - Framework package
    How should we handle the framework part with CSS files. Duplicating these framework files is not a good solution since some developers most certainly will forget to update all framework files when editing them.
    - Portal Administration
    Can we just drop the portal administration web app in the most of the workshop application?
    - Data project
    We use a custom UUP. How should this be handled when splitting the workshop application into several smaller applications?
    Trond Andersen, Invenia AS, http://www.invenia.no

    I used this for a little different purpose; we wanted to generate the whole development environment at one mouse click (formsweb.cfg, reports server etc.); as we used ANT for creating the svn local working copy for each developer we used ANT for this. but you can also use perl or bash :D.
    I'd create one template, then loop through all directorys and append the configs to a temp file
    /var
         /you
         /not_you=> create one config section named as the folder in the temp file basing on your template.
    in your real formsweb.cfg you might append a line like
    # THE DEVELOPER CONFIGS STARTS HERE
    after that you locate your config-entries.
    when the temp formsweb.cfg is ready, simply delete everything after
    # THE DEVELOPER CONFIGS STARTS HERE
    and append the configs from the temp file.
    That's the way I'd do this ;)
    regards

  • Azure - Setting up development environment

    Hi 
    I am looking at doing a proof of concept for moving our companies current web site/app to azure.
    Our site makes use of redirecting to sub domains so am i right in thinking that to debug in development i would have to host it locally on IIS so i can setup the relevant bindings? If this is true, when i swap out our current caching implementation for an
    azure in role one, when i debug or run locally what will happen?
    How will the azure components or references be handled in IIS when not using the emulator? Is this even possible?
    Thanks in advance.
    Nic

    Hi,
    Which azure service do you want to move your web site/app? Could you try to rewrite web.config to set URL redirect rules, if that, we only need to change web.config instead of debug in local. If I misunderstand, please feel free to let
    me know.
    Best Regards   
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Setting up development landscape for E Commerce R/3

    Hi Experts,
    Need some good document reference for setting up our landscape for E Commerce 5.0.
    I have gone through lot of documents and information but nothing consolidated about best practices to follow while doing so,
    In our landscape we will have R/3 DEV, QA and PROD (All ready there) AND 
      3 corresponding AP 7 boxes for IPC and WAS (to deploy ISA java components)
    The missing link in this is how best to use NWDI to talk to the 3 AP systems.
    Q1 . Should we have 1 separate Box which has NWDI installed or can we use AP7 box for DEV to also use that for NWDI. (In this case on 1 BOX we will have IPC, WAS/ISA and NWDI.. so worried about performance)
    Q2 Just in case itu2019s advisable to have a different BOX for NWDI, then how to configure NWDI to have all the 3 different AP 7 Boxes as part of development landscape to deploy ISA java applications from DEV to QA to PROD environment.
    Thanks and regards,
    Dips

    Thanks for the reply.
    My client says they dont have a QA environment. So they just have DEV and PROD. Since its a very small setup, We want to setup NWDI just for DEV and then PROD. Is it possible to not have QA ?
    Regards,
    Dips

  • Deploying  jsp into testing/staging/developement/production environment

    Hi,
    I have a jsp, say header.jsp. It has,say 2links. All these links have different URL's based on the environment this jsp is deployed.
    Snippet of JSP deployed for Test enviroment:
    test_env=hostname:portnumber
    contextroot=webappln
            <TD><A href="https://test_env/webappln/querystring">products</A></TD>
            <TD><A href="https://test_env/webappln/querystring">services</A></TD>
            prod_env=hostname:portnumber
    contextroot=webappln
    Snippet of JSP deployed for Production enviroment:
            <TD><A href="https://prod_env/webappln/querystring">products</A></TD>
            <TD><A href="https://prod_env/webappln/querystring">services</A></TD>
            Problem: For system testing, we need to deploy the code in test/staging and developement servers before it goes into production. Right now i have only one JSP. If i follow my lame procedure, i have to create 3 JSP's for each environement and deploy it in three diff env.Is there a better way?. How to eliminate the duplicate and redundant code in jsp. If the URL's change, need to change at 3 places.Its a big maintenece mess too.
    Insted of making three different jsp's for each environment, i want to use single jsp and dynamically figure out the enviroment and generate the urls appropriately. That way we need to maintain only one JSP. No matter where its deployed(test/stage/dev) the URL's are dynamically generated.
    Snippet of JSP which dynamically generate web resource URL's based on the Env
            //Determine the environment type
            //Generate URL's with proper hostname, port # and context root and set place holder       
           <TD><A href="https://{place holder}/querystring">products</A></TD>
           <TD><A href="https://{place holder}/querystring">services</A></TD>
            Any pointers of how to implement the above case. Any help greatly appreciated.
    Thanks,
    DHM

    Check the action part of the html form tag. On problem I see is in the dev environment you had file.jsp under /jsp but in the production you have it under /dir. This could just be a typo.

  • Setting UI60_ICON and other environment variables

    Hi, I am developing using forms 6i. I tried setting the UI60_ICON environment variable from
    1. The Control Panel -> System -> Advanced -> Environment Variable -> System Variables and
    2. The Registry Editor -> Edit ->New -> String Value
    But my icons will still not appear in my forms. Can some one help me.
    I do not add the .ico extension when I use the icon name. And I also make sure the icon has been place in the path I have stated. The icon appears when I place them in the FORMS60 environment variable.
    I need help.

    Try to set with Registry Editor
    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE (where you see FORM_PATH and other)
    variable
    UI_ICON instead UI60_icon
    Hope helps

  • [Solved] Setting my own desktop environment

    Hi, I'm trying to setup my own desktop environment with the following packages:
    * slim
    * metacity
    * compton
    * wbar
    This is my slim conf:
    # Path, X server and arguments (if needed)
    # Note: -xauth $authfile is automatically appended
    default_path /bin:/usr/bin:/usr/local/bin
    default_xserver /usr/bin/X
    xserver_arguments -nolisten tcp vt07
    # Commands for halt, login, etc.
    halt_cmd /sbin/shutdown -h now
    reboot_cmd /sbin/shutdown -r now
    console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
    #suspend_cmd /usr/sbin/suspend
    # Full path to the xauth binary
    xauth_path /usr/bin/xauth
    # Xauth file for server
    authfile /var/run/slim.auth
    # Activate numlock when slim starts. Valid values: on|off
    numlock on
    # Hide the mouse cursor (note: does not work with some WMs).
    # Valid values: true|false
    # hidecursor false
    # This command is executed after a succesful login.
    # you can place the %session and %theme variables
    # to handle launching of specific commands in .xinitrc
    # depending of chosen session and slim theme
    # NOTE: if your system does not have bash you need
    # to adjust the command according to your preferred shell,
    # i.e. for freebsd use:
    # login_cmd exec /bin/sh - ~/.xinitrc %session
    login_cmd exec /bin/bash -login ~/.xinitrc %session
    # Commands executed when starting and exiting a session.
    # They can be used for registering a X11 session with
    # sessreg. You can use the %user variable
    # sessionstart_cmd some command
    # sessionstop_cmd some command
    # Start in daemon mode. Valid values: yes | no
    # Note that this can be overriden by the command line
    # options "-d" and "-nodaemon"
    # daemon yes
    # Set directory that contains the xsessions.
    # slim reads xsesion from this directory, and be able to select.
    sessiondir /usr/share/xsessions/
    # Executed when pressing F11 (requires imagemagick)
    screenshot_cmd import -window root /slim.png
    # welcome message. Available variables: %host, %domain
    welcome_msg Bienvenido a %host
    # Session message. Prepended to the session name when pressing F1
    # session_msg Session:
    # shutdown / reboot messages
    shutdown_msg The system is halting...
    reboot_msg The system is rebooting...
    # default user, leave blank or remove this line
    # for avoid pre-loading the username.
    #default_user simone
    # Focus the password field on start when default_user is set
    # Set to "yes" to enable this feature
    #focus_password no
    # Automatically login the default user (without entering
    # the password. Set to "yes" to enable this feature
    #auto_login no
    # current theme, use comma separated list to specify a set to
    # randomly choose from
    current_theme archlinux-slim-theme-whitey
    # Lock file
    lockfile /var/lock/slim.lock
    # Log file
    logfile /var/log/slim.log
    Now, my desktop entry for the sessions, which is located $HOME/.config/joelDE/joelDE.desktop:
    [Desktop Entry]
    Name=joelDE
    Comment=Mi entorno de escritorio
    Exec=/home/joel/.config/joelDE/joelDE
    TryExec=/home/joel/.config/joelDE/joelDE
    Icon=/home/joel/.config/joelDE/joelDE.png
    Type=Application
    I made the symlink: ln -s /home/joel/.config/joelDE/joelDE.desktop /usr/share/xsessions/joelDE.desktop and it DOES appears in slim sessions (F1), now jolDE script:
    #!/bin/bash
    # mi propio entorno
    (sleep 1s && metacity --replace &)
    bash $HOME/.fehbg &
    xscreensaver -no-splash &
    (sleep 1s && compton --config $HOME/.config/compton.conf -b) &
    (sleep 1s && wbar) &
    and finally my .xinitrc:
    #!/bin/bash
    # ~/.xinitrc
    if [[ ! "$1" ]]; then
    WM_Name=startxfce4
    else
    WM_Name=$1
    fi
    setxkbmap -layout latam
    if [ -z "$GTK_PATH" ] ; then
    GTK_PATH="/usr/lib/gtk-2.0"
    else
    GTK_PATH="$GTK_PATH:/usr/lib/gtk-2.0"
    fi
    export GTK_PATH
    if [ -z "$GTK_MODULES" ] ; then
    GTK_MODULES="canberra-gtk-module"
    else
    GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
    fi
    export GTK_MODULES
    export LANG=es_MX.UTF-8
    echo ${WM_Name} >$HOME/DE_name.txt
    if [ ${WM_Name} != "startxfce4" ]; then
    export DESKTOP_SESSION=${WM_Name}
    export GTK2_RC_FILES=$HOME/.gtkrc-2.0
    exec dbus-launch --sh-syntax --exit-with-session ${WM_Name} >$HOME/xinitrc-log.txt 2>&1
    else
    exec ${WM_Name} >$HOME/xinitrc-log.txt 2>&1
    fi
    # :~ EOF
    This is the thing: after choosing "joelDE" in slim sessions it shows a black screen and rerun slim...
    1.- Doesn't SLim run x11?
    2.- If not, how do I call it?
    Thanks!
    Last edited by Joel (2014-07-14 04:37:30)

    Try moving the metacity line in joelDE to the end of the file and remove the last '&':
    #!/bin/bash
    # mi propio entorno
    bash $HOME/.fehbg &
    xscreensaver -no-splash &
    (sleep 1s && compton --config $HOME/.config/compton.conf -b) &
    (sleep 1s && wbar) &
    sleep 1s && metacity --replace
    With startx, and I think that this is true for SLiM as well, your X session will last as long as your ~/.xinitrc (or, I think more technically, the exec $whatever that may be at the end of the file).  So if everything in ~/.xinitrc forks (or in your case, your joelDE script), that script will complete immediately, and the X session will exit with it.

  • How to set property for Cluster Environment for JMS Adapter

    Hi All,
    I am moving from DEV to Prod environment which is cluster.
    Can you Please explain me what property I need to Set for Cluster Environment for JMS Adapter, so that I could avoid race condition for Dequeue/enqueue.
    I am using soa suite 10.1..3.4
    Thanks in Advance.
    Edited by: vikky123 on Jul 12, 2010 7:03 AM

    put something like this
    <activationAgents>
          <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="PARNERLINKNAME">
            <property name="clusterGroupId">SOMEUNIQUEVALUE</property>
            <property name="portType">PARTNERLINK_PORTTYPE</property>
          </activationAgent>
        </activationAgents>

  • Packages, Classpath, Ant, and JUnit (setting up a nice environment)

    Hi,
    I am seeking a little help getting up and running, creating a nice environment where I can build a Java project, including building with Ant and using JUnit - hopefully this is the right forum. I am having some trouble in getting JUnit to run my tests properly (it is installed and findable by my Java install) and I think this is due to a package/classpath issue that is currently outside my experience. Here's my setup to explain:
    I have installed the JUnit jar in my extensions folder, and it works properly (I can call it, don't get errors about JUnit), however, when I run my test I get the error:
    "Could not find class: org.xxx.powersim.ModelTest
    Time: 0
    OK (0 tests)
    Java Result: 1"
    ModelTest has been compiled properly without error, and looks like this:
    package org.xxx.powersim;
    import org.junit.*;
    import static org.junit.Assert.*;
    import java.util.*;
    public final class ModelTest {
         public static void main(String args[]) {
               org.junit.runner.JUnitCore.main("org.xxx.powersim.ModelTest");
         @Test
         public void testJunit() {
              assertTrue(true);
    }Pretty simple stuff.
    As you can see I'm trying to use the 'main' method of the test to execute the test itself... but I've tried running it via the runner from the command line also: "java org.junit.runner.JUnitCore org.xxx.powersim.ModelTest". I get the same result.
    It might be a package issue, so here's how I have things set up in the file system:
    PowerSim
         /build
              /org
                   /xxx
                        /powersim
                             - ModelTest.class
         /src
              /org
                   /xxx
                        /powersim
                             -ModelTest.javaI've tried running it within Ant, by hand using the runner, by hand calling the main method, and from within TextMate's built-in bundle - I get the same result. JUnit is installed and running fine, but it can't seem to see the test class - the more I think about it this is a package problem that I'm just not sure how to fix. I've tried running it by hand in the root /PowerSim directory, in the /build folder, and in the /powersim folder where ModelTest is. I still get the error that "Could not find class: org.xxx.powersim.ModelTest".
    My files compile just fine with my simple Ant script which is as follows:
    <?xml version="1.0"?>
    <project name="PowerSim" default="run" basedir=".">
    <property name="src" value="./src"/>
    <property name="build" value="./build"/>
    <property name="compile.debug"       value="true"/>
    <path id="compile.classpath">
       <pathelement location="${mysql.jdbc}"/>
       <pathelement location="${junit.jar}"/>
    </path>
       <target name="build" depends="init">
           <javac srcdir="${src}"
                  destdir="${build}"
                  debug="${compile.debug}"
                  source="1.5">
              <classpath refid="compile.classpath"/>
           </javac>
       </target>
    <target name="init">
       <mkdir dir="${build}"/>
    </target>
    <target name="run" depends="build">
       <java classname="org.xxx.powersim.Model"
           fork="true"
           dir="${build}"
           classpath="${build}"
           maxmemory="500m">
       </java>
       </target>
         <target name="test" depends="build">
             <java classname="org.xxx.powersim.ModelTest"
                 fork="yes"
                 dir="${build}"
                 classpath="${build}"
                 maxmemory="500m">
             </java>
             </target>
    <target name="clean" description="Removes previous build">
       <delete verbose="true">
         <fileset dir="${build}"/>
       </delete>
    </target>
    </project>As you can see, I'm not sure what to try next - any help would be much appreciated.
    I've tried adding things to my $CLASSPATH. For example I've added the root folder of the project, 'PowerSim' to my classpath, but this appears to have no effect. I am running OS X 10.5.
    Thanks again for any help you may be able to offer, it will be very much appreciated,
    - Peter

    Ok - final bump and then I'll go away.
    (Really - if anyone has any advice that would be great)

  • Facing Issue while Installing SOA server for setting up BPM11g working environment

    Hi All,
    I have been able to install Database and Weblogic Server but I am facing issue in installing SOA server.
    I am trying to install it for running BPM 11g application.
    I saw the same problem has already been answered but available solutions are not resolving my problem.
    Error Message:Provide the JDK/JRE location while launching the installer.Invoke the setup.exe with -jreLoc<JDK/JRE location absolute path>parameter(s).
    I tried both way for initializing the installation. i.e directly through setup.exe and by command prompt but in both the cases I am getting same error.
    It is not asking for Java path in command prompt also.
    a)In my system java 7 is installed.
    b)I have used Oracle Database 11g instead of XE
    Can this be the reason?
    I checked Program Files:
    jre7 and jdk1.7.0_45 are there.
    I also have set JAVA_HOME in environment variable as C:\Program Files\java\jre7
    path :C:\Program Files\java\jdk1.7.0_45\bin
    Please help me in fixing this as I am stuck in this installation from last few days.
    Thanks!

    Hi Binay,
    You might want to consider instead installing it using JDK 1.6.
    Here's where you can check the Fusion Middleware configurations:  http://www.oracle.com/technetwork/middleware/downloads/fmw-11gr1certmatrix.xls
    It's buried in there, but bottom line is that Oracle BPM 11g (PS6) 11.1.1.7 needs JDK 1.6 (for Windows it is either JDK 1.6.0_35 or JRockit 6 Update 37 R28.2.5+) and I'd suggest you use JRockit.
    Dan

Maybe you are looking for

  • Page footer in all pages expect last page--pld

    page footer in all pages expect last page for example 3 pages of pld report for first 2 pages only print  footer not for 3rd page

  • FileWriter not working correctly?

    hi guys, i experience some problems with fileWriter which make me pretty confused.. here's the sample code tempUrl = url.toString().substring(7).replaceAll("/", ".");         try {             File f = new File(txlog.getText().trim()+File.separator+F

  • Reader 8.1.2 will not launch

    I am unable to launch any Adobe Reader above 6.0 under WINXP. My install appears to go flawlessly. When finished, there is a new Adobe reader Icon on the desktop and all pdf apps have become associated. Regardless of whether I try to launch a pdf, or

  • -= Save array to file =-

    Hi, I need to write big ArrayList to text file, but I can't find how to do it at once. I've tried this conbination: ArrayList alWords = new ArrayList(); OutputStream out = new BufferedOutputStream(     new FileOutputStream("erd.txt")); out.write(alWo

  • Acrobat 9 Std Thinapp not lunching

    I recently downloaded and installed Acrobat 9 ThinApp (on Win 7). The installation went without errors. However, the app does not launch. Made several attempts to remove and reinstall the app, but it still won't launch. Any help will be much apprecia