J2 sdk and j2ee sdk

in setting up to run j2ee -verbose, i need to set up the java_home and j2ee_home vars, and others. java_home is supposed to be the directory of j2 sdk, and j2ee_home is where j2ee sdk, which is where j2sdkee1.3.1 resides which is understood by me; but i do not know what j2 sdk is.
never done this before, if you think its a silly question, it probably is. your help is appreciated.

i got it!

Similar Messages

  • Difference between BO Sdk and RAS Sdk

    <p>Hi,</p><p>Can somebody tell me the exact difference between Business Object Enterprise SDK and RAS SDK.</p><p>Is Business Objects Enterprise SDK a replacement for RAS SDK.In other words can we do everything that RAS SDK does with Business Objects Enterprise SDK ?</p><p>Any information is highly appreciated.</p><p>Thanks,</p>

    <p>We are designing reports using a Designer and wanted to feed the report using run time data rather than report connecting to a database.We are able to do a proof of concept using JRC for eclipse.I guess this is sufficient for our needs as long as it can scale well.Can we buy concurrent process licence CPL for more than 3 users ? We are reluctant to go towards BO server route unless we are very much sure that JRC does not cater to our requirement fully.</p><p>Just to summarize our requirements.</p><p>a)Report Designing using a POJO or Java Bean connectivity.</p><p>b) Feeding the designed report with data at run time.</p><p>Your response is higly appreciated.Thanks</p>

  • JAAS and J2EE SDK -- please help!

    Hi,
    I'd like to know if it is possible to use customized LoginModule classes in the J2EE SDK reference impl. 1.3
    If so what I can't understand is the following:
    if I use the form-based auth. mechanism in my web app. how can I specify which login module to use? I mean I know JAAS needs an entry in a configuration file such as
    mylogin{
      MyLoginModule required debug=false;
    };but my question is in what file should I add it? clientlogin.config, login.config or serverlogin.config?
    And much more important question is: how can I then specify that I need to use the "mylogin" entry?
    I don't know how the JSecurityCheck servlet work, is there any document where I can find the source code of it?
    Please can anyone help me?
    Thanks in advance.

    I managed to get it working in tomcat 4.0 if you create a config file with the details you've specified called login.config you then need to pass it as a parameter when you start your servlet engine
    i.e. -Djava.security.auth.login.conf=login.config

  • J2EE SDK and J2SE SDK

    Considering only the development tools & APIs from J2SE SDK (taking out the JRE), are those components (java, security, JPDA, etc) also part of the J2EE SDK?

    How can I go about using java.util.regex? Can/Would
    this regex
    support be packaged into some extended javax packages
    for JDK 1.3?No, the jre/jdk license prohibit taking its parts alone.
    If I use J2SE SDK 1.4 and download all javax packges
    that are
    in J2EE but not J2SE, and compile my application,
    wouldn't it end up with
    run-time exceptions...?Hm..dunno.
    Take a look at http://jregex.sourceforge.net
    BestRegards

  • Using local android-sdk and android-sdk-platform-tools with phonegap

    Hello,
    I've installed android-sdk, android-sdk-platform-tools and android-sdk-build-tools packages from AUR and phonegap with npm command line utility of nodejs. When I try to build android app using the command:
    $ phonegap run android
    phonegap fails to detect locally installed android SDK environment and uses remote one:
    [phonegap] detecting Android SDK environment...
    [phonegap] using the remote environment
    I tried adding paths /opt/android-sdk/tools/, /opt/android-sdk/platform-tools/ and /opt/android-sdk/build-tools to $PATH variable but still, no luck. How can I make phonegap use the local android SDK environment?
    Last edited by th0th (2013-08-10 21:06:29)

    hi, you can try run `phonegap local run android`
    if you see "ant: command not found" error, please install 'apache-ant'
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android                                             8 ↵
    [phonegap] adding the Android platform...
       [error] Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android
    [phonegap] adding the Android platform...
       [error] An error occured during creation of android sub-project. /root/.cordova/lib/android/cordova/3.0.0/bin/create: line 104: ant: command not found
    An unexpected error occurred: ant jar > /dev/null exited with 127
    Deleting project...
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  yaourt -S apache-ant
                                                                                                                                           1 ↵
    ╭─root@vkill /opt/workspace/my-app ‹ruby-1.9.3›
    ╰─➤  phonegap local run android                                                                                                                  1 ↵
    [phonegap] adding the Android platform...
    [phonegap] compiling Android...
    [phonegap] successfully compiled Android app
    [phonegap] trying to install app onto device
    [phonegap] no device was found
    [phonegap] trying to install app onto emulator
    [phonegap] successfully installed onto emulator
    Last edited by vkill (2013-09-04 17:48:44)

  • Difference between J2EE SDK J2SE SDK

    Can someone please tel me the difference between J2SE SDK and J2EE SDK, Im new to java n currently using J2SE SDK.

    difference b/w j2se nd j2eehttp://java.sun.com/reference/glossary/index.html

  • Help: jTDS doesn't work with j2ee sdk 1.4

    Hello there!
    I'm wonrking with Win2k sp4, MS-Sql Server 7 and j2ee sdk 1.4 (the newest release).
    I'm trying to use the jTDS JDBC driver to access a MSSql database. This is the connection pool configuration:
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="net.sourceforge.jtds.jdbcx.TdsDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="cmc" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8">
    <description>mydb</description>
    <property name="DatabaseName" value="mydb"/>
    <property name="LoginTimeout" value="6000"/>
    <property name="Password" value="mypass"/>
    <property name="User" value="myuser"/>
    <property name="PortNumber" value="1433"/>
    <property name="ServerName" value="localhost"/>
    </jdbc-connection-pool>
    I set up the configuration and restarted the server. I put the jtds-0.7.1.jar file on
    c:\sun\appserver\domains\domain1\lib folder and restarted the server. I've checked for the port 1433 and it's working fine.
    but when I ping, I always get the same error: Operation 'pingConnectionPool' failed in 'resources' Config Mbean.
    I'm getting nuts trying to solve this problem and I don't get it!.
    Please, any help would be appreciatted!!
    Thanx

    Hey! Alin! Thankyou!
    I finally solved the problem with your responses!!!
    I downloaded the final RC version of jTDS (0.8). I copyed the JAR file in c:\sun\appserver\domains\domain1\lib
    The final configuration in the domain.xml is:
    <description>mydb</description>
    <property name="DatabaseName" value="mydb"/>
    <property name="LoginTimeout" value="6000"/>
    <property name="Password" value="mypass"/>
    <property name="User" value="myuser"/>
    <property name="PortNumber" value="1433"/>
    <property name="ServerName" value="localhost"/>
    <property name="Server_type" value="sqlserver"/> <--- VERY IMPORTANT
    <property name="Charset" value="Unidoce"/> <--- VERY IMPORTANT
    </jdbc-connection-pool>
    An now it's pinging without problems!!!
    My only concern is that "Unicode" is a valid value for the "charset" property.
    Regards!

  • Acrobat sdk and pdf library questions.

    hello everyone. i have some questions.
    is acrobat sdk can develop software without acrobat?  like pdf library sdk
    pdf library sdk and acrobat sdk can use same project?
    thank you

    This question belongs here: http://forums.adobe.com/community/acrobat/acrobat_sdk

  • How to install j2ee 1.4 sdk , and only that nothing else

    hi guys , i am trying to install j2ee 1.4 sdk. i found the link for it on sun "http://java.sun.com/j2se/1.4.2/download.html ", and when i try to install that package . it has everything from
    app sever ,to java 2 sdk std edition to start up . etc .
    but i dont want all this , i just want j2ee sdk 1.4
    see what actully i want is j2ee sdk installation coz when i try writing my program in eclipse and when i say import javax.jms.*; it gives error coz it is not able to find the jar.
    just the way for core java we install jdk what do we install so that we can use servlet,jsp,ejb,jms etc
    please reply immediately , where do i install that stuff from
    thanks in advance

    exactly rene , i explored all of the
    "http://java.sun.com/j2ee/1.4/download.html" . i even
    downloaded " J2EE 1.4 SDK 2005Q2 UR2 " which took me
    half an hour. and when i ran the setup file , it had
    everthing from app server to jsdk 1.5 , but no where
    was j2ee sdk to be found. still exploring without any
    success :-(The "J2EE SDK" is basically nothing but the J2EE.JAR. It comes with that app server download.

  • Latest J2EE SDK and Servlets

    Hi,
    I downloaded the latest J2EE SDK and I wish to use it in Eclipse IDE.
    Trying to compile a servlets (a my own one) a javax.servlet cannot be resolved to a type error occurs (shouldn't this package be part of the Sun AS provided within the SDK?).
    Searching for it in the J2EE SDK installation directory I didn't found it.
    Where it is? How I can compile servlets?
    Thank you.
    PS: Please, don't reply me that I didn't need the J2EE SDK to compile and run servlets because I know it.
    I wish to use J2EE technologies and servlets together.

    That makes perfect sense and is quite normal.
    Jar files are each individually treated as a directory containing a classpath entry, and will each have to be specified separately.
    What you're expecting is similar to having every subdirectory containing within it the root of a class tree being recognised automatically by supplying a single higher level directory on the classpath.
    Something like
    classroots
      |--project1
      |           |--classes
      |                    |--com
      |-project2
                  |-classes
                           |-comJust supplying "classroots" on your classpath will NOT cause project1/classes and project2/classes to be picked up as classpath entries (or shouldn't, there might be broken JVMs out there).

  • J2EE SDK 1.3.1 and OSX

    Hello,
    I would like to get the J2EE SDK installed and working under OSX. Has anyone had success in doing this? If so, I would appreciate any assistance you may have to offer.
    Thank you,
    Rob Abbe

    Well, maybe I was just being lazy ;) This turned out to be easier than I thought, but just in case someone here should ask the same question:
    Download the linux distribution of the J2EE toolkit from Sun and install it.
    Modify the JAVA_HOME variable as follows:
    JAVA_HOME=/System/Library/FrameWorks/JavaVM.framework/Versions/1.3.1/Home
    That's it! now you should be able to run the J2EE comamnd and start the app server.
    OSX is awesome, I hope people here will give it a chance. I think you will be impressed with the speed at which some of your favorite tools will run!

  • Error when running "J2ee SDK" -  j2ee server

    Hi,
    When running: C:\j2sdkee1.3.1\bin>j2eeadmin I get the follwoing error:
    Binding: < JMS Cnx Factory : TopicConnectionFactory ,
    Binding: < JMS Cnx Factory : QueueConnectionFactory ,
    Starting web service at port: 8000
    Starting secure web service at port: 7000
    J2EE SDK/1.3.1
    LifecycleException: null.open: java.net.BindExcepti
    JVM_Bind
    at org.apache.catalina.connector.http.HttpCon
    ctor.java:1116)
    at org.apache.catalina.startup.Embedded.start
    at com.sun.web.server.WebService.start(WebSer
    at com.sun.web.server.WebServer.start(WebServ
    at com.sun.enterprise.server.J2EEServer.start
    796)
    at com.sun.enterprise.server.J2EEServer.run(J
    at com.sun.enterprise.server.J2EEServer.main(
    java.lang.RuntimeException: null.open
    at com.sun.enterprise.server.J2EEServer.run(J
    at com.sun.enterprise.server.J2EEServer.main(
    J2EE server reported the following error: null.open
    Error executing J2EE server ...
    Please advise.
    Thanks,
    Gabi

    405 errors in the HTTP cycle
    Any client goes through the following cycle:
    * Obtain an IP address from the IP name of your site (your site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).
    * Open an IP socket connection to that IP address.
    * Write an HTTP data stream through that socket.
    * Receive an HTTP data stream back from your Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.
    This error occurs in the final step above when the client receives an HTTP status code that it recognises as '405'.
    Resolving 405 errors - general
    405 errors often arise with the POST method. You may be trying to introduce some kind of input form on your Web site, but not all ISPs allow the POST method necessary to process the form.
    All 405 errors can be traced to configuration of the Web server and security governing access to the content of the Web site.

  • Problem in installation of J2EE SDK 1.3

    I have installed J2EE SDK 1.3 on my machine. I have set
    J2EE_HOME=C:\j2sdkee1.3.1
    JAVA_HOME=C:\Program Files\j2sdk1.4.2_08
    and
    PATH=C:\j2sdkee1.3.1\bin
    environmental variables. All the three path seem to OK. But when I'm trying to start application server using j2ee -verbose command on my dos prompt I'm getting following error
    'C:\Program' is not recognized as an internal or external command, operable program or batch file.
    I tried j2ee -verbose command from C: prompt as well as from C:\j2sdkee1.3.1\bin prompt in which j2ee batch file is present.
    Please help/guide on above issue

    JAVA_HOME is having space character in it. Install J2SE at location where there are no spaces in the path and then try......

  • What's the difference between Java SDK and the Enterprise Edition?

    What's the difference between Java SDK and the Enterprise Edition? Are they both free?

    both r free but they are used in diffrent applications. sdk are used for simple apps that run on your computer while j2e (enterprise edition) are ment for large distributed computer systems that include servers and such. if you don't know the diffrence you probably wont need the the j2e, only the sdk.

  • Sun J2EE SDK 1.3_01, java.lang.ClassCastException thrown during deployment

    I encountered a bug while using the deploytool to deploy
    an EAR file to the Sun J2EE 1.3_01 server.
    I submitted a bug report to Sun via the Sun Java Developer Connection.
    (Sorry, it has not been assigned a BugID yet)
    Question:
    Does anybody know if the web container in Sun's
    J2EE 1.3_01 server supports access to local enterprise beans?
    Screenshots of the bug are available at
    http://sync4j.sourceforge.net/deploymentbug/
    Full details below....
    -Sean
    category: j2ee
    subcategory: deployment
    release: 1.3_01
    hardware: x86
    OSversion: windows_2000
    synopsis: java.lang.ClassCastException thrown during deployment of Session bean
    java -version
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    C:\j2sdkee1.3\bin>j2ee -version
    Java 2 Enterprise Edition version 1.3_01, build 1.3_01-b01
    I built a EJB 2.0 compliant stateful session bean.
    The session bean has a remote interface (ISyncRemote),
    a remote home interface (ISyncHomeRemote),
    a local interface (ISyncLocal),
    and a local home interface (ISyncHomeLocal).
    I built an HTTP Servlet that is supposed to access
    the Stateful Session Bean using ISyncHomeLocal and
    ISyncLocal
    I run "deploytool.bat" in GUI mode to perform the deployment.
    During deployment, the deploytool GUI displays a message
    box which states:
    "There was a deployment error.
    java.rmi.ServerException: RemoteException occurred in server thread;
    nested exception is:
    java.rmi.RemoteException: An error was encountered while loading
    a web component.
    Please refer to
    <J2EE_HOME>/logs/<machine-name>/j2ee//j2ee/error.log
    for more information. Please verify your Application with the
    Verifier tool."
    The "error.log" file did not contain any useful information.
    I ran the J2EE "verifier.bat" tool to verify that my EAR archive is OK.
    The Sun J2EE server output this error string:
    "java.lang.ClassCastException:
    com.sun.enterprise.deployment.EjbExternalDescriptor"
    Here is the full output from the Sun J2EE server:
    C:\j2sdkee1.3\bin>j2ee -verbose
    J2EE server listen port: 1050
    Naming service started:1050
    Binding DataSource, name = jdbc/EstoreDB, url =
    jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/Cloudscape, url =
    jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/DB1, url =
    jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/DB2, url =
    jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/InventoryDB, url =
    jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource =
    COM.cloudscape.core.RemoteXaDataSourc
    e@245536
    Starting JMS service...
    Initialization complete - waiting for client requests
    Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
    Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
    Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
    Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
    >
    Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
    Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
    >
    Starting web service at port: 8000
    Starting secure web service at port: 7000
    J2EE SDK/1.3
    Starting web service at port: 9191
    J2EE SDK/1.3
    J2EE server startup complete.
    Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
    application\sync4j\server\s
    yncbean\SyncBean_LocalHomeImpl.java ....
    Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
    application\sync4j\server\s
    yncbean\SyncBean_EJBLocalObjectImpl.java ....
    Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
    application\sync4j\server\s
    yncbean\SyncBean_RemoteHomeImpl.java ....
    Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
    application\sync4j\server\s
    yncbean\SyncBean_EJBObjectImpl.java ....
    rmic sync4j.server.syncbean.SyncBean_RemoteHomeImpl...
    rmic sync4j.server.syncbean.SyncBean_EJBObjectImpl...
    c:\j2sdkee1.3\repository\rbi\applications\Sync4j Server enterprise
    application1004172068449Server.ja
    r
    Binding name:`java:comp/env/ejb/ISyncHomeRemote`
    Binding name:`java:comp/env/ejb/ISyncHomeLocal`
    java.lang.ClassCastException:
    com.sun.enterprise.deployment.EjbExternalDescriptor
    at com.sun.enterprise.deployment.EjbReferenceDescriptor.getValue
    (EjbReferenceDescriptor.java
    :202)
    at com.sun.enterprise.naming.NamingManagerImpl.bindObjects
    (NamingManagerImpl.java:394)
    at com.sun.web.server.WebService.addContext(WebService.java:148)
    at com.sun.web.server.ServletDeployerImpl.loadWebComponents
    (ServletDeployerImpl.java:214)
    at
    com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployWebComponent
    s
    (JarInsta
    llerImpl.java:791)
    at
    com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication
    (JarInstall
    erImpl.java:219)
    at
    org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie.
    invoke(Un
    known Source)
    at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch
    (ServerDelegate.java:355)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process
    (RequestProcessor.java:84)
    at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run
    (ThreadPool.java:99)
    Does the Sun J2EE server implementation support the invocation
    of Session EJB's via a Local interface?
    Does the Sun J2EE server implementation allow a Servlet to invoke
    Session EJB's via the bean's Local interface?
    While researching this issue, I read the J2EE 1.3 final specification.
    The spec says:
    "The EJB container is required to access to local enterprise beans.
    We recommend that the web container also support access to local
    enterprise beans."
    Does the web container in Sun's J2EE server support access to local enterprise beans?

    I'm pretty much sure that you cannot access a
    local Session bean from outside the EJB container.Please read the J2EE 1.3 specification before posting messages about EJB and J2EE.
    According to the J2EE 1.3 specification:
    "The EJB container is required to support access to local enterprise beans. We recommend that the web container also support access to local enterprise beans.
    No support is provided for access to local enterprise beans from the application client container or the applet container."
    If you use local interfaces for your session bean,
    than your client must be local too. A local client is
    a client that is collocated in the same JVM with the
    session/entity that provides the local view and which
    can be tightly coupled to the bean.My client is running in the same JVM as my EJB. The client is a servlet. The servlet is running in the same JVM as the EJB.
    For what its worth, the error that I observed occurs during deployment. I haven't figured out why deployment is failing.

Maybe you are looking for

  • Insert/Update On Oracle to MS SQL Server Gateway

    I have been successful in creating a gateway between Oracle and SQL Server. Everything works fine for a Select Stmt. But not for an Insert or Update, I get a message about a "Read Only Cursor". I have setup a HS_TRANSACTION_LOG table in the SQL Serve

  • How create shared Library for JNI

    Please tell me how to create a shared Library for vc6.0. I have created <.h> file of java class. Please Help me.

  • Oracle 11.2.0.4 order of upgrade discussion

    Hi all: We have Oracle DB 11.2.0.3 on IBM AIX (power system, os level 4, 64bit), need to upgrade it to 11.2.0.4 and apply CPUJAN2015 patch. We already complete upgrade in UAT, and prepare for Prod in client site. UAT OS directory set up is: home_1 (1

  • Can I download software from App store that I already own the disc without being charged?

    I own Call of Duty 4 on disk and it is loaded on my MBP, but I was wondering if I can download it from the App store so that any updates, for example, can be kept up to date, without being charged again for the software?

  • Losing power and turn on issues

    My ipod is relatively new and recently after I am done listening to it, I turn it off. No matter how much battery power it has when I shut it off (and most of the time is is almost a full battery), I have trouble turning it back on again. I hold the