Reg:connection b/w the j2ee to BOE

HI,
please help me how to connect j2ee to business objects enterprice,kindly provide some sample code.
Thanks & Regards,
Mala

please have a look the below article:
http://devlibrary.businessobjects.com/businessobjectsxi/en/en/RE_SDK/resdk_dg_doc/doc/deploying_web_applications_EN/ewuap022.html
http://devlibrary.businessobjects.com/businessobjectsxi/en/en/WS_SDK/wssdk_portal/doc/sdk_web_services_sampleEN/ewuwss013.html
http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bip_install_en.pdf
Hope this information may help you out.

Similar Messages

  • Java.lang.NullPointerException when connect to the J2EE engine

    I want to connect to the J2EE engine ,but the error message "java.lang.NullPointerException" is displayed in the console.  Please help me ! Thank you !!  The full error exception like this:
    java.lang.NullPointerException
            at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.connectActio
    n(LoginTask.java:191)
            at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.run(LoginTas
    k.java:79)
            at java.lang.Thread.run(Thread.java:534)

    Hi:
    The whole errror message like this:(deploy aborted error message)
    2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : 10.138.6.10
    SDM port : 50118
    URL to deploy : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear
    Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment exception : The deployment of at least one item aborted
    The Log infomation is like this:
    2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[D:\usr\sap\SCM\DVEBMGS01\SDM\program\log\sdmcl20090427005331.log]/>
    <!PATTERN[sdmcl20090427005331.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[MS950]/>
    <!LOGHEADER[END]/>
    Apr 27, 2009 8:53:32 AM  Info: -
    Starting deployment -
    Apr 27, 2009 8:53:32 AM  Info: Error handling strategy: OnErrorStop
    Apr 27, 2009 8:53:32 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Apr 27, 2009 8:53:32 AM  Info: Update strategy: UpdateAllVersions
    Apr 27, 2009 8:53:32 AM  Info: Starting deployment prerequisites:
    Apr 27, 2009 8:53:36 AM  Info: Loading selected archives...
    Apr 27, 2009 8:53:36 AM  Info: Loading archive 'D:\usr\sap\SCM\DVEBMGS01\SDM\program\temp\temp53268foxconn.com~bbs_demo.ear'
    Apr 27, 2009 8:53:37 AM  Info: Selected archives successfully loaded.
    Apr 27, 2009 8:53:37 AM  Info: Actions per selected component:
    Apr 27, 2009 8:53:37 AM  Info: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
    Apr 27, 2009 8:53:37 AM  Info: Ending deployment prerequisites. All items are correct.
    Apr 27, 2009 8:53:39 AM  Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
    Apr 27, 2009 8:53:39 AM  Info: Saved current Engine state.
    Apr 27, 2009 8:53:39 AM  Info: Starting: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.
    Apr 27, 2009 8:53:39 AM  Info: SDA to be deployed: D:\usr\sap\SCM\DVEBMGS01\SDM\root\origin\foxconn.com\bbs_demo\LOKAL\0.2009.04.27.08.53.22\temp53268foxconn.com~bbs_demo.ear
    Apr 27, 2009 8:53:39 AM  Info: Software type of SDA: J2EE
    Apr 27, 2009 8:53:40 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Apr 27, 2009 8:53:43 AM  Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789
    Apr 27, 2009 8:53:44 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Apr 27, 2009 8:53:44 AM  Error: Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':
    Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Apr 27, 2009 8:53:44 AM  Info: Starting to save the repository
    Apr 27, 2009 8:53:44 AM  Info: Finished saving the repository
    Apr 27, 2009 8:53:44 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Apr 27, 2009 8:53:44 AM  Error: -
    At least one of the Deployments failed -
    Edited by: sap-abap-tw on Apr 27, 2009 3:01 AM

  • Configure SSO Connection from SAP Enterprise Portal to BOE Server

    Hi Guys,
    We recently installed a BOE Server and want to connect it to our SAP Enterprise Portal. What we need is just to display the Crystal Reports via Enterprise Portal. We have set up the following:
    SAP EP with AD Authentication
    SAP EP configured with SNC to SAP BI7 system
    SAP BOE XI 3.1 - SAP Integration Kit
    BOE Server configured with SAP Authentication via SAP BI7 System
    We've also set up BOE IK iviews and URL iviews pointing to existing reports in BOE. However, when we access it from EP, it prompts for a username and login to BOE. Is there a way to configure these so that there is no prompt for login to BOE server and SSO is used? Is it also possible to have a service account (e.g. domain/crystal) that will run the reports in BOE everytime a user accesses a report from SAP EP?
    Let me know if this is at all possible

    Hi,
    You should configure InfoView for SSO first, which required infoview.xml file modification, using windows AD default authentication. If you want to utilize the OpenDocument URL for iView then you also need to configure OpenDocument.xml file for SSO also. The SAP portal must have trust relation with the SAP BW server so the Windows AD token can be authenticate with SAP BW server.
    If you want crystal user to run all the report then you will lose data security. It can be done by hard coding user name and password in the report properties and database logon but the SSO capability can be accomplished only by windows AD, SAP or LDAP.
    For more details check BOXI Admin guide and SAP Integration Guide.
    Thanks,
    Muhammad

  • Which is Best way to pool DB connections on Server no-J2EE???

    I have a applicatio, which run on very different app servers (WebSpere, JRun and i-Planet)... the db conncetion problems existe whit server no-J2EE compliant, like as i-Planet.
    On J2EE servers I cant use Server DataSource to pooled connection, and server make this work transparently and good.
    But, if have to manually manage to pool connection, which is the best way?
    Befor use Poolman package... by CodeStudio, but is not effective for me...
    Now, are studying the Jackarta-Commons DBCP...
    Which is the best ?... there is other solution for this problem ?.
    thx !

    App in I'm work, make exhaustive use of db connection,
    only on startup, use a average of 130 connection
    request on less 10 secconds.
    All connection requested, when finish to use, there
    are closed, supposeddly, the closed connction are
    returned to pool, but this no happend it quickl, How do you know it doesn't happen quickly?
    Normally a returned connection would just be inserted into a list with a possible state change. That would be very quick in java. It might check the state of the connection and that is going to take longer Another pool manager might do the same though.
    then,
    if pool is able to create emmergency connections (up
    num max) always returned new connection, any one
    else, if pool can't create emmergency connection
    objects, app wait for free connection of pool... long
    delay !Of course, but any pool is going to do that.

  • How to restart the J2EE Engine

    I ran a couple tests the other day, and the next time I looked the J2EE Engine was down.  (Could not send or receive PTP messages to it).
    When I brought up the J2EE Engine Administrator, it put upt the following help box:
    <b>Unable to lookup connection default
    http:host1:8101/msgserver/text/login returned empty list of connection parameters</b>
    I had to reinstall to get it to work.
    Does anyone know how to restart the J2EE engine ?
    Thanks, John

    Hi,
    judging by the URL given in the error message (which is a URL that queries the message server), your engine must be of 6.40 version. Well, on 6.40 you should have the SAP Management Console (SAP MMC) that you can open and start the engine from. TO open it, go to Start -> Programs -> SAP Management Console. Inside, locate your SAP System, right-click on it and select Start.
    That's it.
    Just for a reference, <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9b/dd7277f3e64ecba59f7fbac7edd2fe/frameset.htm">this</a> page contains also some screenshots of the MMC.

  • Error in SAP JCO connection leads to SAP J2EE engine restart

    Hi All
    i am using SAP Jco 2.0 to connect to backend.The code runs fine for tables but when i try to access fields like 
    getExportParameterList().getField("EMPLOYEENUMBER").toString(); it leads to j2ee engine restarts.
    Is it a bug?
    Is it possible for an exception to restarts server even with error?
    Regards
    Shankar

    Hi,
    Does your application uses any property files or log files? If so, check if they are available in the specified location.
    Check the defaultTrace, you will know why the server is getting restarted. Have a placeholder in the defaultTrace so that you can easily identify the error.
    Thanks,
    Venkat

  • Cannot start the j2ee engine

    hello.
    we are facing a problem with the J2EE engine of WAS.
    we stopped the server for some reasons and when trying to restart it, the server shows an error after loading the service manager ,in the server and the server is not getting connected.i am pasting the errors below:
    "Loading: ServiceManager ...
    ID000539: Classload error; Can't load service telnet because referenced service shell not found"
    and
    "ID000544: Error starting service security. JCO.classInitialize(): Could not load
    middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    default_cpc_mode"
    Also in the management console of the j2ee engine we are unable to find the database instance in the tree. we checked the view and nothing is hidden.
    We will be thankful if anyone can throw some light. Thankyou

    Hi,
    AFAIK this error occurs when server/services/shell directory is missing. I think you have moved it somewhere or renamed it.
    Also check the following link.
    https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/search%21default.jspa%3FforumID%3D45%26threadID%3D55413
    Regards
    Vijith

  • The J2EE Server not starting.

    Hello,
    The J2EE Server not starting. (Not able to communicate with message server)
    The following is the description I got from SAP.
    " Most likely you did configurations on the instance properties, instead
    of the global properties, which is the one where the the configurations
    should be done. That is why now you did set local properties
    which are now false, for example : ume.ldap.access.server_port=[]
    This is the cause why the LDAP connection data cannot be retrieved.
    This is why the UME service cannot be started.
    This is why the J2ee engine is not comming up. "
    Pls help.

    Hi Karan
    1.Go to \usr\sap\SID\JCXX\j2ee\configtool and start the config tool.
    2.No go to instance -
    >server----->services--->com.sap.security.core.ume.services node.
    3.Look for ume.ldap.access.server_port=[]
    4.See if you have changed the value for the above parameter.If yes change the value to default and restart the engine.It will work
    If at all you want to change any configurations you should do it following the below steps:
    1.Go to \usr\sap\SID\JCXX\j2ee\configtool and start the config tool
    2.Go to Global Server Configurations-->Services--
    >
    Please award points:

  • Com.sap.mw.jco.JCO$Exception starting the J2EE server 620

    We are using J2EE 620 pl26, with the latest JCO, but often trying to acces the J2EE services like Mobile Engine Webconsole 21 or the WebEnabled Sapconsole 640 we recive the message:
    'Dispatche runningbut no server connected'.
    The J2EE dispatcher and server are started at Sap startup. Just after that time the J2EE is working fine, but after some time the J2EE server get down.
    We found this message into the J2EE console_logs:
    "RFCEngine: Server startup error, stopping "SAPProfile:F:\usr\sap\CAM\SYS\profile\CAM_DVEBMGS00_itmif089" :
    com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Fri Oct 15 09:58:20 CEST 2004.
    This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 2 seconds.
    Could not establish the lcom accepted connection: lcomListenCreate failed with rc 9"
    We do not find any Oss notes for that.
    Any advise is wellcome.
    Regards

    Hi Mauro,
    normally when you apply a new SAP Kernel a frfclib.sar file is delivered. This frfclib file need to be copied to the J2EE directory /os_libs and need to be extracted there. This frfclib version must always match to the SAP Kernel version.
    Ciao
    tc

  • Problem installing the J2EE server on a 6.40 WebAS System

    On an AIX server I've installed Oracle 9.2, WebAS Central ABAP instance and
    now I'm trying to install the J2EE server.  When it gets to phase
    "Deployment of JDDI" I get the following error.  Does anyone have any
    ideas on how to resolve this.  Thanks!
    Apr 4, 2005 2:17:21 PM   Info:                    Starting deployment                                                                     
    Apr 4, 2005 2:17:21 PM   Info: Loading selected archives...            
    Apr 4, 2005 2:17:21 PM   Info: Loading archive '/dvd/igs/J2EE1/J2EE-ENG/JDD/SYNCLOG.SDA'                              
    Apr 4, 2005 2:17:21 PM   Info: Selected archives successfully loaded.  
    Apr 4, 2005 2:17:21 PM   Info: Error handling strategy: OnErrorStop    
    Apr 4, 2005 2:17:21 PM   Info: Update strategy: UpdateLowerVersions    
    Apr 4, 2005 2:17:21 PM   Info: Starting to execute deployment action (deploy) for "synclog".                                                
    Apr 4, 2005 2:17:24 PM   Info: Creating connections to database "DBW". 
    Apr 4, 2005 2:17:24 PM   Info: Creating vendor connection to database. 
    Apr 4, 2005 2:17:24 PM   Error: Creation of vendor connection failed.  
    Original error message is:                                             
    java.sql.SQLException: Io exception: Invalid number format for port number                                                                 
    Stack trace of original Exception or Error is:                         
    java.sql.SQLException: Io exception: Invalid number format for port number                                                                 
            at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)                                                                   
            at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)                                                                   
            at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)                                                                   
            at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3649)
            at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:353)  
            at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:368)                                                              
            at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:549)                          
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:349)                                                                   
            at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:149)                                           
            at com.sap.sql.connect.OpenSQLDataSourceImpl.createConnection(OpenSQLDataSourceImpl.java:472)                                                  
            at com.sap.sql.connect.OpenSQLDataSourceImpl.getConnection(OpenSQLDataSourceImpl.java:253)                                                     
            at com.sap.sdm.serverext.servertype.dbsc.extern.DBSCConnectionManager.createSDMVendorConnection(DBSCConnectionManager.java:214)                
            at com.sap.sdm.serverext.servertype.dbsc.extern.DBSCConnectionManager.createSDMConnections(DBSCConnectionManager.java:77)                      
            at com.sap.sdm.serverext.servertype.dbsc.ConnectionManagerDecorator.createSDMConnections(ConnectionManagerDecorator.java:73)                   
            at com.sap.sdm.serverext.servertype.dbsc.DatabaseTargetSystem.connect(DatabaseTargetSystem.java:140)                              
            at com.sap.sdm.serverext.servertype.dbsc.DBSCDeploymentActionProcessor.executeAction(DBSCDeploymentActionProcessor.java:115)                
            at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:58)                  
            at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:181)                                         
            at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:51)      
            at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:84)             
            at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:61)               
            at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:78)                         
            at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:88)                                           
            at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:74)                                                     
            at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:121)                         
            at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:90)                                           
            at com.sap.sdm.control.command.cmds.Deploy.execute(Deploy.java:162)                                                                   
            at com.sap.sdm.control.command.decorator.AssureStandaloneMode.execute(AssureStandaloneMode.java:54)                                  
            at com.sap.sdm.control.command.decorator.AssureOneRunningSDMOnly.execute(AssureOneRunningSDMOnly.java:61)                                      
            at com.sap.sdm.control.command.decorator.SDMInitializer.execute(SDMInitializer.java:52)                                        
            at com.sap.sdm.control.command.decorator.GlobalParamEvaluator.execute(GlobalParamEvaluator.java:60)                                  
            at com.sap.sdm.control.command.decorator.AbstractLibDirSetter.execute(AbstractLibDirSetter.java:46)                                  
            at com.sap.sdm.control.command.decorator.ExitPostProcessor.execute(ExitPostProcessor.java:48)                                     
            at com.sap.sdm.control.command.decorator.CommandNameLogger.execute(CommandNameLogger.java:49)                                     
            at com.sap.sdm.control.command.decorator.AdditionalLogFileSetter.execute(AdditionalLogFileSetter.java:65)                                      
            at com.sap.sdm.control.command.decorator.AbstractLogDirSetter.execute(AbstractLogDirSetter.java:52)                                  
            at com.sap.sdm.control.command.Command.exec(Command.java:42)   
            at SDM.main(SDM.java:21)                                                                               
    Apr 4, 2005 2:17:24 PM   Error: Execution of deployment action for "synclog" aborted: Db connect failed.                                                     
    Apr 4, 2005 2:17:25 PM   Error: Deployment NOT successful for synclog
    Apr 4, 2005 2:17:25 PM   Error: At least one of the Deployments failed
    Apr 4, 2005 2:17:25 PM   Info: Summarizing the deployment results:  
    Apr 4, 2005 2:17:25 PM   Error: Aborted: /dvd/igs/J2EE1/J2EE-ENG/JDD/SYNCLOG.SDA                             
    Apr 4, 2005 2:17:25 PM   Error: Processing error. Return code: 4

    Also, I should mention I'm running the 64bit capable SDK for version 1.4.2 for AIX.
    Thanks again!

  • Connection Manager in the AS

    Hi,
    Does 10gR1 or 10gR2 or 11g AS have a component in the J2EE container that can be used as a connection manager to accept connections from a large number(10-20K) of clients which can be used from my component which needs to be housed inside the AS?
    Also, i am in the process of writing a server which will have to accept and serve connections from a large number of clients. If my server is housed within the J2EE container of the AS, will it be able to accept clients directly without the clients having to go through the AS?
    Thanks,
    Prasanna

    Hi,
    Does 10gR1 or 10gR2 or 11g AS have a component in the J2EE container that can be used as a connection manager to accept connections from a large number(10-20K) of clients which can be used from my component which needs to be housed inside the AS?
    Also, i am in the process of writing a server which will have to accept and serve connections from a large number of clients. If my server is housed within the J2EE container of the AS, will it be able to accept clients directly without the clients having to go through the AS?
    Thanks,
    Prasanna

  • Jbuilder 6 and the J2EE server.

    I love Jbuilder and I have been using the J2EE Server(Through the Forte Ide) to develop a few J2EE applications. Is it possible to develop and deploy J2EE applications using only Jbuilder6 and the J2EE server.
    NB: Applications are for educational purposes.

    I'm presently trying to get the Java Pet Store demo
    http://interstagedemo.fs.fujitsu.com:8000/petstore/index.jsp
    working in JBuilder 7 Enterprise, and I've made at least some headway (some of the JPS 1.3_01 source files aren't in the right subdirectories- per their package declarations- which I've reported to Sun and which they've promised to fix in v1.3_02). JPS works out-of-the-box with the Cloudscape database that's distributed with J2EE v1.3, but at the moment, I can't figure out how to make the JPS connect to Cloudscape through JBuilder.
    Borland has their own J2EE server/container, and in fact I just received their 60-day trial on 2 CDs today ("Borland Solution for Java Trial" $19.90 US including shipping; includes JBuilder 7 Enterprise 30-day trial):
    http://shop.borland.com/dr/v2/ec_MAIN.Entry10?V1=396710&PN=1&SP=10023&xid=39696&DSP=&CUR=840&PGRP=0&CACHE_ID=0
    BES (Borland Enterprise Server) claims to be well-integrated with JBuilder, so it may be a better bet than trying to use the freebie J2EE server, at least to start off with.

  • Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    Hi there, I am trying to connect to my server at work from home using a vpn connection. It connects fine and the time ticks along, but when i click go - connect to server, it comes up with connection failed. Please help!

    ... when i click go - connect to server, it comes up with connection failed.
    If you're trying to connect to a Bonjour server on the remote network, that won't work over a layer 3 VPN. Use something like Hamachi or one of the SSH-tunnelling Bonjour proxy apps for that.

  • How can i use an existing vpn connection without using the option "Send all traffic over vpn connection"?

    I have been trying to get my computer (os x.7) to astablish a remote desktop connection to my work computer via a vpn tunnel. In fact I have just discovered that it works fine if i select to "send all traffic over vpn connection" from the options in the advanced setup of the vpn.
    If the option is selected microsofts "Remote desktop connection for mac" works just fine. However without selecting the option it is not taking advantage of the tunnel but tries to connect as if the tunnel would not exist.
    Now the question is how do I get program to use the vpn tunnel without checking the above option?
    Thanks for any hints and pointers.

    Then can her computer be authorized to both accounts?
    Absolutely. You can authorize any given computer to up to five iTunes Store accounts.
    If purchases are made on her account, to a computer authorized to my account, can I put those songs on my iPod?
    If you connect your iPod to her computer, yes. Tracks download only to the computer from which they're purchased, regardless of which iTunes Store account is used for the purchase. Or you could copy the tracks from her computer to yours and then authorize your computer to her iTunes Store account. But that's sort of defeating the original purpose, it would seem to me.
    is it better to buy music through Amazon downloads and/or actually purchasing CDs to avoid the security features iTunes puts on its music?
    That's certainly an option. If it's an entire album I want, I buy CDs. That way I can import them at the quality I want and to whichever of my systems I want. Amazon or one of the other download stores that offer tracks as MP3 are also an option, though for me download stores are best when you just want a couple of tracks off a given CD.

  • Create A Connection Pool In the ServletContextListener

    The Specification says that we should create the connection pool in the ServletContextListener. I have the code for creating a connection pool (see below). How do I create it in the ServletContextListener?
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    public class DBConnection
       public static Connection getDBConnection() throws SQLException
          Connection conn = null;
          try
             InitialContext ctx = new InitialContext();
             DataSource ds = ( DataSource ) ctx.lookup( "java:comp/env/jdbc/MySQLDB" );
             try
                conn = ds.getConnection();
             catch( SQLException e )
                System.out.println( "Open connection failure: " + e.getMessage() );
          catch( NamingException nEx )
             nEx.printStackTrace();
          return conn;

    I use the connection pool feature provide by the server I use. Is this what I should do? Please confirm.
    import java.sql.Connection;
    import java.sql.SQLException;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.sql.DataSource;
    import javax.servlet.*;
    public class CreateResources implements javax.servlet.ServletContextListener
         public void contextInitialized(ServletContextEvent sce)
              public static Connection getDBConnection() throws SQLException
                   Connection conn = null;
                   try
                        InitialContext ctx = new InitialContext();
                        DataSource ds = ( DataSource ) ctx.lookup( "java:comp/env/jdbc/MySQLDB" );
                        try
                             conn = ds.getConnection();
                        catch( SQLException e )
                             System.out.println( "Open connection failure: " + e.getMessage() );
                  catch( NamingException nEx )
                        nEx.printStackTrace();
                  return conn;
         public void contextDestroyed(ServletCotnextEvent sce)
    }

Maybe you are looking for

  • ADF - How to create a session in ADF

    Hi, how I would to create a schema of session im my application?

  • How to test the adapters

    hi anybody can tell me how to test the adaptors? regards, krushi

  • Photos page and anchors

    Hi, everybody-- Let me start by saying that I have searched these forums for information on anchors. I have seen the solutions put forth by Old Toad, Wyodor, & Cyclosaurus, plus I have Cedric's iWebFAQ.org eBook & have read the chapter on anchors. My

  • Confusion in tracking time difference in APEX

    Hi, I am using the following code to track the the time difference in APEX: <code> select nvl(decode(trunc(max(end_time)-min(start_time)),0,'',null,'',trunc(max(end_time)-min(start_time))||' Days ') || decode(trunc(mod((max(end_time)-min(start_time))

  • Dual Ethernet G5; can I route applications to a specific ethernet port?

    I have a G5 with dual ether net ports. I also have two networks; one Cable Modem, and one FIOS. Can I route certain programs, such as Fetch, safari, etc. to use a specific network? For example, I want the Digidelivery Client to always use the cable i