Interacting with my development environment

The basics of Java programming I understand. I've created the first phase of a large intranet app using JSPs, EJBs, etc. But now I need to create an automated daemon to spit out large batches of Excel files, the data for which is (or will be) stored in an Oracle database.
I've gotten to the point where I've discovered Apache Jakarta POI, an API which would probably help meet my objectives.
The problem: I don't know where to begin importing these jar files into my environment. Mostly because it isn't MY environment. I sit at my computer and go through the company network to reach the development box, which is running JRun. I have absolutely no understanding of where to put files, what files these files are, and what changes I need to make to be able to import whatever classes/packages I will end up needing.
Furthermore, there is no particular person at my company who can answer these questions for me, at least not w/out submitting a formal request for help, waiting until their next project meeting, and then another three+ weeks to get assigned to a web developer downstairs. This project is "due" in about a week and a half.
Can someone recommend a tutorial, book, alternate message board, ANYTHING to get me started -- preferably in plain English because I tend to zone out when reading long technical descriptions with excessive acronyms (I was a terrible student...)

I would suggest two things
1 - get along with developing it locally, and worry about deploying it later
2 - shake a tree further up and say if they want it next week, then you will need some answers this week. Document your questions in an email/formal request, and leave it to someone else
I need to create an automated daemon to spit out large batches of Excel files, How is this daemon being executed?
What are you using for scheduling?
Is it running on the JRun server?
How do you trigger its startup/shutdown?
This will affect how the classpath is defined. If it is deployed inside JRUN, there is one definition of classpath, if it is independant, then you can have another.
If you are executing the daemon process from a command line/batch file evoking "java", then you have full control over the classpath settings, and can include any jars you want.
Adding libraries to the JRUN (as with any J2EE server) is relatively easy
- drop the jar files into the WEB-INF/lib directory of your web app.
- restart the server.
Hope this helps some,
evnafets

Similar Messages

  • Having problem with the development environment

    I have trouble with my development environment where I can't see the top portion of the screen. I'm using windows 8 and just download Edge Animate (2014) yesterday.. I uninstall and install the product again and still having the problem.

    Hi Todd,
    Thanks for writing to us with your concern. We are sorry to know that you are facing issues while using the software.
    We are unable to repro the issue on Windows Hi-res machines. Works properly on local test machines.
    Can you please share your system information file with us,
    What is System Information? - Windows Help
    Collect the system file and send me a private message.
    Regards,
    Devendra

  • (261718088) Q ADVC-4 Can Timer Control/Polling be used to interact with webservices developed outside of WLS?

    Q<ADVC-4> Can Timer Control/Polling be used to interact with webservices developed
    outside of WLS?
    A<ADVC-4> Absolutely, Timer mechanisms are the appropriate way to make your web
    service a client to another web service and are very useful to provide polling
    mechanisms. Look at slides ADVC 9-11 to see more.

    Step by step, how did you arrive at seeing this agreement?

  • Synchronize with local development environment

    Hello,
    I'm not familiar with ABAP development and therefore I'm not well schooled in utilizing SAP/Netweaver development environment/infrastructure.
    I want edit in my local editor/development environment html/css files, which I had generated with the its mobile template generator.
    How could I access and update source files from within an local editor. Eclipse, Java & Co is my world. So I could not acquire a taste for SE80. I would like work local on my favorite editor and sync the source files with the ones on the server.
    I installed yesterday the SAP NW Developer Studio. And I found a program BSP_UPDATE_MIMEREPOS.
    But I dont know which way is it the best for my purpose.
    Can you give me some advise how do you edit your its mobile template files - Tools - Sync with local files?
    Thanks!
    Best regards,
    Laura

    I have some progress on my issue.
    http://help.sap.com/saphelp_NW70/helpdata/de/46/bb1853ab4811d4968100a0c94260a5/frameset.htm
    I activated the WebDav server .../sap/bc/bsp_dev. So I have partial access to some content of the SAP server.
    If I am on the right way, what I have to do is the following: Activating the path for the ITSMobile template files.

  • Setting up the development environment

    hi,
    can anybody suggest the best way to set up the weblogic server
    development environment.
    we are a group of 5 EJB developers working on weblogic 7.0.
    (evaluation version)
    each one is developing ejbs which has to interact with other
    developer's beans.
    each one has installed the server on their own m/c. for developing and
    testing the beans.
    Once done, integration of the ejbs is done on another server and
    tested.
    should we use a single server for development? but that may lead to
    shutdown/ restart of the server frequently during testing and affect
    the other developer's work.
    anybody please suggest a better way.
    thanks in advance.
    anil

    On Tue, 05 Nov 2002 21:55:11 +0000, anil wrote:
    hi,
    can anybody suggest the best way to set up the weblogic server
    development environment.
    we are a group of 5 EJB developers working on weblogic 7.0.
    (evaluation version)
    each one is developing ejbs which has to interact with other
    developer's beans.
    each one has installed the server on their own m/c. for developing and
    testing the beans.
    Once done, integration of the ejbs is done on another server and
    tested.
    should we use a single server for development? but that may lead to
    shutdown/ restart of the server frequently during testing and affect
    the other developer's work.
    anybody please suggest a better way.
    thanks in advance.
    anilYour milleage may vary from others, here we had this environment setup for
    a 7 people developing WLS applications:
    - Single server for development (Sun Solaris box)
    - using remote telnet from Windows workstation/linux workstation
    - create a source code repository (e.g. CVS) for source code control and
    user workspace
    - create standard deployment descriptor with modular directory structures
    - system admin only allowed to startup and shutdown server
    - server running in "Development Mode" for hotdeploy and avoid shutdown
    and restart.
    Thank you,
    Neo Gigs
    "Follow the white rabbit..."

  • Development Environment for Server APIs in Webcenter Interaction 10.3

    Hi, I installed “Oracle Web Center Interaction 10.3" on standard environment mentioned by oracle (Window 2003 server, IIS6.0, SQL Server 2005). Everything works fine concerning the portal and services.
    I also have visual studio 2005 on the same machine and trying to setup a development environment where I can user server APIs (I start with creating IPTSession).
    I am using follwong code to start with:
    /String serverConfigDir = ConfigPathResolver.GetOpenConfigPath();
    IOKContext configContext = OKConfigFactory.createInstance(serverConfigDir, "portal");
    PortalObjectsFactory.Init(configContext);
    IPTSession ptSession = PortalObjectsFactory.CreateSession();
    Problem: code compiles if I add few dlls, but it do not run, it throws following error
    com.plumtree.openkernel.exceptions.OKFactoryException: Error in AOKFactory.createAndInitializeInstance, unable to create object with name 'com.plumtree.openkernel.impl.config.Config' in assembly or JAR file 'openconfig'.
    I think either server APIs are not more supported in 10.3 or I do not know how to setup the development environment for server APIs.
    Can anyone help??

    i have already tried putting hardcoded path but it didn't help, morover the previous line gives me correct path.
    I issue i mentioned seems to be related with some setting or missing native dlls
    com.plumtree.openkernel.exceptions.OKFactoryException: Error in AOKFactory.createAndInitializeInstance, unable to create object with name 'com.plumtree.openkernel.impl.config.Config' in assembly or JAR file 'openconfig'.
    i got follwing extract from the wsserver-wrapper.log file
    INFO | jvm 1 | 2009/02/20 12:26:17 | 2-20-2009     12:26:17.606     Info     OpenKernel.Config     Disabled-1235112977434     WrapperStartStopAppMain     com.plumtree.openkernel.impl.config.providers.ConfigXMLFileProvider     Loading config data from C:\bea\alui\ptws\10.3.0\bin\..\..\..\common/../settings
    INFO | jvm 1 | 2009/02/20 12:26:18 | 2-20-2009     12:26:18.325     Info     OpenKernel.Config     Disabled-1235112977434     WrapperStartStopAppMain     com.plumtree.openkernel.impl.config.providers.ConfigXMLFileProvider     Setting subscription data.
    INFO | jvm 1 | 2009/02/20 12:26:18 | container config context:EAS:wsserver
    i didn't modified anything in any config file, just configured everything on one machine with oracle configuration manager

  • Serious performance issue with LV 7.1 Development Environment

    I'm posting this issue to the forums prior to submitting a bug report to ensure that the problems I'm having are reproducible. To reproduce this bug, you're going to have to be an advanced user with a large project (hundreds to thousands of VIs) as the performance problem is related to the number of VIs loaded.
    The issue is the increasingly poor performance of the LabVIEW 7.1 Development Environment as the number of VIs in memory increases. The actions affected include switching between front panel and diagram, saving a VI, copy and paste, clicking a menu, and the mysterious time spent (compiling? editing the runtime menu? changing the toolbar state?) between pressing the run button and when the code actually starts executing. Scrolling and, interestingly, copying via a control-drag are not affected. Running time of entirely on-diagram code does not seem to be affected.
    These problems are quite severe and significantly decrease my productivity as a programmer. Since they are development environment UI issues, it's been difficult for me to find a good example VI; the best I can do is the attached "LV Speed Test.vi". It doesn't test the issues that affect me most, but it seems to suffer from the same problem.
    This simple VI just shows and hides the menu bar 100 times in a tight for loop. When it is the only VI loaded, it executes in about 350 msec on my machine. (2.4 GHz P-IV/640 MB RAM/Win2k). However, when I load a single project-encompassing VI (let's call it the "giant") that references a total of about 900 user and VI-lib subVIs, the test routine takes almost a minute and half to run...about 240 times slower! I've tried this on my laptop with similar results.
    The problem appears to be related to the *number* of VIs loaded and not the memory utilization. For example, if I close the "giant", and create a new VI ("memhog") that does nothing but initialize a length 20,000,000 array of doubles and stores it in an uninitialized shift register, LabView's overall memory usage (as shown in the task manager) jumps enormously, but LV Speed Test executes in about 450 msec...only slightly slower than with a fresh copy of Labview.
    The problem seems to be related to excessive context switching. The Windows task manager shows over a thirteen hundred page faults occur when "LV Speed Test" is run with the "giant" in the background, versus zero or none when run by itself or when "memhog" has used up 160+MB of space.
    The problem only seems to affect the frontmost window. (Unfortunately, that's where we LV programmers spend all of our time!) If you start "LV Speed Test" and then put "giant" in the foreground "LV Speed Test" runs much faster. In fact, if you use the VI server to put the "giant" VI in the foreground programmatically at the start of "LV Speed Test", execution time drops back to 450 msec, and there are no page faults!
    These results show the issue is not related to video drivers or the Windows virtual memory system. My suspicion is that there is a faulty routine in LV 7.1 that is traversing the entire VI hierarchy every time certain events are thrown in the foreground window. It could be due to a problem with the Windows event tracking system, but this seems less likely.
    I have been programming LV for about 7 years and switched from LV 6.1 to 7.1 about four months ago. I know NI engineers have put thousands of hours developing and testing LV 7.1, but honestly I find myself wishing I had never upgraded from using LV 6.1. (To whomever thought "hide trailing zeros" should be the default for floating point controls...what were you thinking?!)
    I know each new version of LabView causes old-timers like me to grouse that things were better back in the days when we etched our block diagrams on stone tablets, etc., and honestly I'm not going to go back. I am committed to LabView 7.1. I just wish it were not so slow on my big projects!
    Attachments:
    LV_Speed_Test.vi ‏22 KB

    Hi,
    I can confirm this behavior. Setting the execution system to "user
    interface" helps a bit, but there is still a big difference.
    I get a feeling it has something to do with window messages, perhaps
    WM_PAINT or something, that is handled differently if a VI is not
    frontmost... But what do I know...
    Don't know if it should be called a bug, but it sure is something that could
    be optimized.
    Regards,
    Wiebe.
    "Rob Calhoun" wrote in message
    news:[email protected]...
    > I'm posting this issue to the forums prior to submitting a bug report
    > to ensure that the problems I'm having are reproducible. To reproduce
    > this bug, you're going to have to be an advanced user with a large
    > project (hundreds to thousands of VIs) as the performance problem is
    > related to the number of VIs loaded.
    >
    > The issue is the increasingly poor performance of the LabVIEW 7.1
    > Development Environment as the number of VIs in memory increases. The
    > actions affected include switching between front panel and diagram,
    > saving a VI, copy and paste, clicking a menu, and the mysterious time
    > spent (compiling? editing the runtime menu? changing the toolbar
    > state?) between pressing the run button and when the code actually
    > starts executing. Scrolling and, interestingly, copying via a
    > control-drag are not affected. Running time of entirely on-diagram
    > code does not seem to be affected.
    >
    > These problems are quite severe and significantly decrease my
    > productivity as a programmer. Since they are development environment
    > UI issues, it's been difficult for me to find a good example VI; the
    > best I can do is the attached "LV Speed Test.vi". It doesn't test the
    > issues that affect me most, but it seems to suffer from the same
    > problem.
    >
    > This simple VI just shows and hides the menu bar 100 times in a tight
    > for loop. When it is the only VI loaded, it executes in about 350 msec
    > on my machine. (2.4 GHz P-IV/640 MB RAM/Win2k). However, when I load a
    > single project-encompassing VI (let's call it the "giant") that
    > references a total of about 900 user and VI-lib subVIs, the test
    > routine takes almost a minute and half to run...about 240 times
    > slower! I've tried this on my laptop with similar results.
    >
    > The problem appears to be related to the *number* of VIs loaded and
    > not the memory utilization. For example, if I close the "giant", and
    > create a new VI ("memhog") that does nothing but initialize a length
    > 20,000,000 array of doubles and stores it in an uninitialized shift
    > register, LabView's overall memory usage (as shown in the task
    > manager) jumps enormously, but LV Speed Test executes in about 450
    > msec...only slightly slower than with a fresh copy of Labview.
    >
    > The problem seems to be related to excessive context switching. The
    > Windows task manager shows over a thirteen hundred page faults occur
    > when "LV Speed Test" is run with the "giant" in the background, versus
    > zero or none when run by itself or when "memhog" has used up 160+MB of
    > space.
    >
    > The problem only seems to affect the frontmost window. (Unfortunately,
    > that's where we LV programmers spend all of our time!) If you start
    > "LV Speed Test" and then put "giant" in the foreground "LV Speed Test"
    > runs much faster. In fact, if you use the VI server to put the "giant"
    > VI in the foreground programmatically at the start of "LV Speed Test",
    > execution time drops back to 450 msec, and there are no page faults!
    >
    > These results show the issue is not related to video drivers or the
    > Windows virtual memory system. My suspicion is that there is a faulty
    > routine in LV 7.1 that is traversing the entire VI hierarchy every
    > time certain events are thrown in the foreground window. It could be
    > due to a problem with the Windows event tracking system, but this
    > seems less likely.
    >
    > I have been programming LV for about 7 years and switched from LV 6.1
    > to 7.1 about four months ago. I know NI engineers have put thousands
    > of hours developing and testing LV 7.1, but honestly I find myself
    > wishing I had never upgraded from using LV 6.1. (To whomever thought
    > "hide trailing zeros" should be the default for floating point
    > controls...what were you thinking?!)
    >
    > I know each new version of LabView causes old-timers like me to grouse
    > that things were better back in the days when we etched our block
    > diagrams on stone tablets, etc., and honestly I'm not going to go
    > back. I am committed to LabView 7.1. I just wish it were not so slow
    > on my big projects!

  • Eclipse as a development environment with Jakarta Tomcat

    Hello:
    I am setting up the new development environment for my application (project). Below are the components involved::
    �     Eclipse 3.1
    �     myEclipse - EnterpriseWorkbenchInstaller_4.0GA_E3.1
    �     jakarta-tomcat-5.0.28 (Application Server)
    �     Sysdeo Eclipse Tomcat Launcher plugin - tomcatPluginV31beta
    �     SDK 1.4.2_08
    �     Microsoft XP sp2 operating system
    I have no issue with creation of project structure in eclipse IDE, compilation, and deployment, but there are some exception upon running the application.
    My project folder structure as follows:
    MyApplication/
    src/
    Conf/
    Web/
    classes
    taglib
    lib
    web.xml
    �     my application has few dependent projects, therefore I copied all the dependent projects final compiled classes (jars) to �lib� folder.
    �     I set all necessary classpath according to tomcat documentation.
    �     I created MyApplication.xml file under D:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\ folder with the below context
    <Context path="/MyApplication " docBase="D:/xx/xxx/dev/src/ MyApplication/web" debug="0" reloadable="true" />
    �     I don�t get any exception during compilation and deployment process.
    �     I would greatly appreciate if you could give me a tips!!!!!!!!!!!!!!!!!!!!!!
    Error as follows:
    2005-10-10 17:31:45 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-10-10 17:31:47 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Associated with Deployer 'localhost'
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Global resources are available
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
    2005-10-10 17:32:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
         at org.apache.jsp.default_jsp._jspService(default_jsp.java:101)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    path setting as follows:
    %JAVA_HOME%\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Borland\AppServer\bin;C:\Program Files\CA\PEC\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program Files\Attachmate\E!E2K\;C:\Program Files\CA\AllFusion Harvest Change Manager;D:\jwsdp-1.1\jaxb-1.0\bin;D:\jwsdp-1.1\jwsdp-shared\bin;C:\Borland\classes12.zip;C:\Program Files\UltraEdit;D:\jakarta-tomcat-5.0.28\webapps\cst\WEB-INF\classes;D:\EPS\EB_CST_v3.7.2\dev\src\cst;%PATH%
    Classpath setting as follows:
    .;%third_pty%\xerces.jar;D:\EPS\EB_CST_v3.7.2\dev\src\cst;D:\jakarta-tomcat-5.0.28\webapps\cst;D:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;D:\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-ri.jar;%third_pty%\ant.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\dom.jar;D:\jwsdp-1.1\jwsdp-shared\lib\jax-qname.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-libs.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-xjc.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\sax.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\xercesImpl.jar;%third_pty%\activation.jar;%third_pty%\ant-optional.jar;%third_pty%\j2ee.jar;%third_pty%\jakarta-regexp.jar;%third_pty%\jaxp.jar;%third_pty%\jcert.jar;%third_pty%\jnet.jar;%third_pty%\jsse.jar;%third_pty%\xalan.jar;C:\MSJDBSLib\msbase.jar;C:\MSJDBSLib\mssqlserver.jar;C:\MSJDBSLib\msutil.jar;
    Other IDE setting:
    As per tomcat documentation.

    Hello:
    I overcame the above issue by changing index.html to index.jsp, but now i am facing another issue as shown below:
    On top of the above change i too included j2ee.jar (from websphere) in the classpath to overcome the below issue, but even then i am getting the same error.
    Error as follows:
    javax.servlet.ServletException: Error instantiating servlet class com.metavante.cst.control.web.LoginMainServlet
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:996)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:214)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    ----- Root Cause -----
    java.lang.NoClassDefFoundError: javax/ejb/EJBObject
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.newInstance0(Class.java:278)
         at java.lang.Class.newInstance(Class.java:261)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:987)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:214)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)

  • Eclipse as a development environment with Jakarta Tomcat - Need help!!

    Hello:
    Subject: Eclipse as a development environment with Jakarta Tomcat
    I am setting up the new development environment for my application (project). Below are the components involved::
    �     Eclipse 3.1
    �     myEclipse - EnterpriseWorkbenchInstaller_4.0GA_E3.1
    �     jakarta-tomcat-5.0.28 (Application Server)
    �     Sysdeo Eclipse Tomcat Launcher plugin - tomcatPluginV31beta
    �     SDK 1.4.2_08
    �     Microsoft XP sp2 operating system
    I have no issue with creation of project structure in eclipse IDE, compilation, and deployment, but there are some exception upon running the application.
    My project folder structure as follows:
    MyApplication/
    src/
    Conf/
    Web/
    classes
    taglib
    lib
    web.xml
    �     my application has few dependent projects, therefore I copied all the dependent projects final compiled classes (jars) to �lib� folder.
    �     I set all necessary classpath according to tomcat documentation.
    �     I created MyApplication.xml file under D:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\ folder with the below context
    <Context path="/MyApplication " docBase="D:/xx/xxx/dev/src/ MyApplication/web" debug="0" reloadable="true" />
    �     I don�t get any exception during compilation and deployment process.
    �     I would greatly appreciate if you could give me a tips!!!!!!!!!!!!!!!!!!!!!!
    Error as follows:
    2005-10-10 17:31:45 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-10-10 17:31:47 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Associated with Deployer 'localhost'
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Global resources are available
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
    2005-10-10 17:32:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
         at org.apache.jsp.default_jsp._jspService(default_jsp.java:101)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    path setting as follows:
    %JAVA_HOME%\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Borland\AppServer\bin;C:\Program Files\CA\PEC\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program Files\Attachmate\E!E2K\;C:\Program Files\CA\AllFusion Harvest Change Manager;D:\jwsdp-1.1\jaxb-1.0\bin;D:\jwsdp-1.1\jwsdp-shared\bin;C:\Borland\classes12.zip;C:\Program Files\UltraEdit;D:\jakarta-tomcat-5.0.28\webapps\cst\WEB-INF\classes;D:\EPS\EB_CST_v3.7.2\dev\src\cst;%PATH%
    Classpath setting as follows:
    .;%third_pty%\xerces.jar;D:\EPS\EB_CST_v3.7.2\dev\src\cst;D:\jakarta-tomcat-5.0.28\webapps\cst;D:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;D:\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-ri.jar;%third_pty%\ant.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\dom.jar;D:\jwsdp-1.1\jwsdp-shared\lib\jax-qname.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-libs.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-xjc.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\sax.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\xercesImpl.jar;%third_pty%\activation.jar;%third_pty%\ant-optional.jar;%third_pty%\j2ee.jar;%third_pty%\jakarta-regexp.jar;%third_pty%\jaxp.jar;%third_pty%\jcert.jar;%third_pty%\jnet.jar;%third_pty%\jsse.jar;%third_pty%\xalan.jar;C:\MSJDBSLib\msbase.jar;C:\MSJDBSLib\mssqlserver.jar;C:\MSJDBSLib\msutil.jar;
    Other IDE setting:
    As per tomcat documentation.

    Need tips to solve this issue!!!

  • ISupplier - Setting up the Development Environment with JDeveloper 9.0.3

    Hi friends,
    Can you please tell me the steps involved in setting up the development environment for iSupplier Module with JDeveloper in my PC.
    Please give me the details about what are the files to be downloaded from Apps, folder structure for development environment etc...
    Gurus please reply ASAP.
    Thanks,
    San

    You should better pick the class files from the JAVA_TOP appropraite to that product and add it to either myclasses in your project in jdev or add it to the classpath.
    Once you have these required files then you can launch the pages by either using a test.jsp or use the xml files directly if you know what parameters to pass. I would suggest you to use a test.jsp and launch the first page in the flow which launches from the menu - function by picking it's web_html_call.

  • 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

  • CRM ABAP development and interaction with SAP R/3

    Hi Experts,
    I am an ABAPer and have close to 3 years of development experience in ABAP, now i was trying to understand how exactly a CRM system is intergrated with SAP R/3 . Below are few of the basic question i have
    1. How does R/3 interact with CRM, searching in the forum i just got to know its through RFC . Can anyone give me specific technical details like how R/3 and CRM interact in a real time scenario .
    2. Ca any one also give me an real time development example that was done in CRM to interact with SAP R/3 and explain me the basic steps involved in it, this might give me clear picture of how developments happen in CRM and also how CRM and SAP interacts with each other .
    Your quick response would be greatly appreciated .
    Regard's
    Sudheer V

    with repect to programming , it is similar to R/3 ABAP devlopment . It all depends on scenarios:
    1) For eaxmple we use BADI's to put some extra validations / additional data when you are creation order
    2) unlike R/3 where we use SAP GUI trnsactions for creating orders, in CRM we have IC web client techonolgy where we can create orders through web.This is based on BSP technology. In order to add additinal fields on the screen for we use easy enhancment workbench tool(EEWB).this is something new in CRM when compared to R/3.

  • Interacting with labview with my own developed scritpting language.

    Hi all,
    I am Divya.
    My aim :
    I need to develop a programing language to interact with Labview such that the script should call labview front panel, execute the given task and front panel shold give back the result to the script.
    I want to achieve this by using my own developed programing language (Valid reasons are there why not to use already exixting scripts which I dont want to discuss here as it is not relevant).
    My idea :
    As developing a new scripting language is a big task I am planning to start with Python scripting. I am trying to interact with labview using python script for now.
    My problem :
    As I am fresher to this field I dont know the possible ways to interact with Labview using python scripting. (Except using Labpython). If there is any way to achieve this please guide me on this.
    Thanks in advance

    Hi Dennis_Knutson
    I am doing the same as the original question I have asked. As I have mentioned in my question I am starting off with a small addition (or any basic mathematical operation) function using Python script. 
    And yes the basic idea is to call Labview from script not the vice versa. To achieve this I need to pass the parameters from the python script to Labview and output from Labview to Python. For this purpose I am developing a small VI which vil take Python commands and carry on furthur operations.
    I can explain with an example.
    I have a command in python as sum=x+y. I want to take this command and send 'x' to a numeric control, 'y' to another numeric control and 'sum' to a numeric indicator and at the same time back to script. In between numeric controls 'x' and 'y' I need to carry out '+' operation. Say if the command is sum=x-y I need to carry out '-' operation(Where identifying '+' or '-' or any other operation is the job of labview). 
    I have developed a VI which can take the command from python and give it to Labview as a string. I need to know how to bifurcate that string to numeric controls, operands etc.

  • Hostnames with local web development environment

    I'm running the latest version of OS X Server 2.0.23 on Mountain Lion 10.8.2, and am trying to get set up to use X Server as a local web development environment.
    When I went through the steps of installing X Server, I used the hostname "jb.local". By enabling the websites feature, and pointing my browser to jb.local, I was able to see the default welcome page, and thought everything was going well. However, I can't figure out how to add additional hosts to this domain (i.e. drupal.local, or wordpress.local) without modifying my hosts file.
    Do I now need to setup DNS in the server and set my Mountain Lion client to use it or something, or is there some better way that I'm missing?

    When I was installing Server, it guessed the .local extension, (which we are using as the name of our local subnet) but not the whole hostname "jb.local". I added that myself. This machine is not registered as "jb.local" anywhere in our internal DNS.
    This confuses me because pinging jb.local correctly resolves to the internal IP address of this machine on our network. So how is this resolving?  There is no entry for this in my hosts file, and our internal DNS has no record of the hostname "jb.local".
    This hostname was invented during the installation of the Server app, so there must be some communication between this machine, and the server app, that is resolving this hostname correctly, but I can't find anything on it.

  • Correctly setting up a C++ development environment with clang++

    I'm going to reinstall Arch x64 soon, as the current installation was not done properly, and I have some doubts on how I should set up my development environment correctly.
    My compiler of choice is clang++ 3.4 SVN and my IDE of choice is QTCreator git.
    I currently get and install those manually, but I may use the AUR in my next Arch installation.
    Anyway, the issue is that QTCreator and other applications use /usr/bin/c++ by default, which is g++.
    To solve (horribly) the issue, I changed my /usr/bin/c++ to an executable bash script that fowards the arguments to clang++.
    This lead to issues such as warnings and errors not being catched by the IDE.
    My question is: what is the correct way to set up a clang++ development environment?
    How can I set clang++ as the default compiler for everything except AUR packages?
    If you use clang++ as your main compiler, how did you solve this issue?

    The canonical method of setting your (C++) compiler is to set the CXX environment variable.
    Searching Google for "qtcreator compiler" yields things like: https://qt-project.org/doc/qtcreator-2. … hains.html

Maybe you are looking for

  • How can I prevent NULLs from appearing in my HyperTrend graph when restarting DSC engine?

    I am continuously logging data to a citadel database using DSC 7.0. Occasionally I need to restart the DSC engine because of a computer reboot, changes to SCF file, etc. Whenever I do this, and then review the data in HDV or with a HyperTrend graph i

  • Help needed in After Effects

    Hey guys, I'm from Holland so my english isn't that good. I have a problem (Oh yes.) I have a background, for example(!) the left side of a bridge. I want to animate that my background moves to the left, so the right side of the bright is visible. I

  • [SOLVED] Initial Network config

    New installation. From the install media my virtual machine's wired NIC comes up automatically.  Booting into my install though has no interface. "ip addr" only shows a loopback. I followed https://wiki.archlinux.org/index.php/Be - de#Wired_2 and cop

  • Putting cf variables in non cf files...

    I had asked a similar question before, but this one is a bit different (and that one wasn't really answered completely anyway).  What I am trying to do is to read in a file that has cf variables in it (like '#VarName#'), and output it in the http res

  • Finder doesn't show USB drive

    I have a USB drive that doesn't show up in Finder after I insert it. A different drive does show up in Finder. Both drives work perfectly well on my PC. Any idea what could be wrong?