Usage of 'java.io.File' is not allowed in EJB...

I get this warning in my Java IDE because I read and write to local files within EJBs running in a JBoss application server.
What is the reason for this warning and is it safe to ignore it if I need to read / write to local files? And if this is a warning you should avoid, what techniques can be used to avoid the warning if you need to be able to read / write to local files?
Thanks.

well,
according to the 3.0 spec
"21.1.2. Programming restrictions
The file system APIs are not well-suited for business components to access data. Business components should use a resource manager API such as JDBC to store data."
as an alternative you can delegate the writing process another component that could be for example a socket server.
regards,
Fabian

Similar Messages

  • Java code in jsp source files is not allowed in ojsp.next mode.

    Hi,
    I’m working on WC Spaces Customization library “com.acme.custom.webcenter.spaces.war”. From time to time, when I deploy the library to WC Server, it errors out.
    weblogic.management.DeploymentException: Cannot undeploy library Extension-Name: com.acme.custom.webcenter.spaces, Specification-Version: 11.1.1, Implementation-Version: 11.1.1.2.113 from server WC_Spaces, because the following deployed applications reference it: webcenter-rest.war, spaces.war, sharepoint-servlet.war, webcenter-rss.war
    If I try to login the Spaces, I get “Java code in jsp source files is not allowed in ojsp.next mode.” Should I stop the Spaces server before the deployment? In this case, other people won’t have accesses to Spaces? The deployment error doesn’t happen all the time.
    oracle.jsp.parse.JavaCodeException: Line # 6, oracle.jsp.parse.JspParseTagScriptlet@5b9864ca
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    at oracle.jsp.parse.JspParseTagCore.createNode(JspParseTagCore.java:263)
    at oracle.jsp.parse.JspUtils.createChildNodes(JspUtils.java:2489)
    at oracle.jsp.parse.JspParseTagFile.createTree(JspParseTagFile.java:475)
    at oracle.jsp.parse.OracleJsp2Java.transformImpl(OracleJsp2Java.java:535)
    at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:593)
    at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:691)
    at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:490)
    at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:457)
    at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:645)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    Buildfile: C:\JDeveloper\mywork\LamwWebCenterSpacesExtensions\WebCenterSpacesSharedLibExtension\build.xml
    =======
    init-wls:
    deploy-shared-lib:
    [echo] ----------------------------
    [echo] C:\JDeveloper\mywork\myuserconfigfile.secure C:\JDeveloper\mywork\myuserkeyfile.secure claptd01:7001 C:\JDeveloper\mywork\XxxWebCenterSpacesExtensions/WebCenterSpacesSharedLibExtension/deploy/exploded WC_Spaces com.acme.custom.webcenter.spaces
    [exec]
    [exec] CLASSPATH=C:\oracle\MIDDLE~1.5\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1.5\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1.5\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1.5\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1.5\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~1.5\modules\NETSFA~1.0_1/lib/ant-contrib.jar;.;%JAVA_HOME\jre\lib;C:\Apache\apache-cxf\lib;C:\Apache\apache-cxf\lib\cxf-manifest.jar;.\build\classes;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\oracle\MIDDLE~1.5\ORACLE~1/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\ADF-SH~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\ADFSCR~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\mdswlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\AUDITW~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\IGFWLS~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\jps-wlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\jrf-wlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OAMAP_~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OAMAUT~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\ossoiap.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OSSOIA~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OVDWLS~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\SSLCON~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\wsm-wlst.jar
    [exec]
    [exec] PATH=C:\oracle\MIDDLE~1.5\patch_wls1035\profiles\default\native;C:\oracle\MIDDLE~1.5\patch_jdev1111\profiles\default\native;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1.5\modules\ORGAPA~1.1\bin;C:\oracle\MIDDLE~1.5\JDK160~1\jre\bin;C:\oracle\MIDDLE~1.5\JDK160~1\bin;C:\Program Files\PHP52\;C:\Program Files\Common Files\OTG;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\ora_adi\bin;C:\PROGRA~1\REFLEC~1;C:\Program Files\Reflection;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;E:\MSSQL7\BINN;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\glassfish3\jdk\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Vim\vim73;c:\apache\ant\bin;c:\jboss\bin;C:\Apache\apache-cxf\bin;C:\glassfish\bin;C:\Program Files\QuickTime\QTSystem\;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\native\win\32\oci920_8
    [exec]
    [exec] Your environment has been set.
    [exec]
    [exec] CLASSPATH=C:\oracle\MIDDLE~1.5\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1.5\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1.5\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1.5\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1.5\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~1.5\modules\NETSFA~1.0_1/lib/ant-contrib.jar;.;%JAVA_HOME\jre\lib;C:\Apache\apache-cxf\lib;C:\Apache\apache-cxf\lib\cxf-manifest.jar;.\build\classes;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\oracle\MIDDLE~1.5\ORACLE~1/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\ADF-SH~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\ADFSCR~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\mdswlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\AUDITW~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\IGFWLS~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\jps-wlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\jrf-wlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OAMAP_~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OAMAUT~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\ossoiap.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OSSOIA~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OVDWLS~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\SSLCON~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\wsm-wlst.jar;C:\oracle\MIDDLE~1.5\utils\config\10.3\config-launch.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\common\derby\lib\derbynet.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\common\derby\lib\derbytools.jar;;
    [exec]
    [exec] Initializing WebLogic Scripting Tool (WLST) ...
    [exec]
    [exec] Welcome to WebLogic Server Administration Scripting Shell
    [exec]
    [exec] Type help() for help on available commands
    [exec]
    [exec]
    [exec] Deploy started at Wed Mar 28 12:25:08 2012
    [exec]
    [exec] Connecting to t3://claptd01:7001 with userid weblogic ...
    [exec] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_domain'.
    [exec]
    [exec] Warning: An insecure protocol was used to connect to the
    [exec] server. To ensure on-the-wire security, the SSL port or
    [exec] Admin port should be used instead.
    [exec]
    [exec] Location changed to edit tree. This is a writable tree with
    [exec] DomainMBean as the root. To make changes you will need to start
    [exec] an edit session via startEdit().
    [exec]
    [exec] For more help, use help(edit)
    [exec] You already have an edit session in progress and hence WLST will
    [exec] continue with your edit session.
    [exec]
    [exec] Starting an edit session ...
    [exec] Started edit session, please be sure to save and activate your
    [exec] changes once you are done.
    [exec] Deploying application from C:\JDeveloper\mywork\XxxWebCenterSpacesExtensions\WebCenterSpacesSharedLibExtension\deploy\exploded\com.acme.custom.webcenter.spaces.war to targets WC_Spaces (upload=true) ...
    [exec] <Mar 28, 2012 12:25:10 PM EDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, com.acme.custom.webcenter.spaces [archive: C:\JDeveloper\mywork\XxxWebCenterSpacesExtensions\WebCenterSpacesSharedLibExtension\deploy\exploded\com.acme.custom.webcenter.spaces.war], to WC_Spaces .>
    [exec] You have an edit session in progress, hence WLST will not
    [exec] block for your deployment to complete.
    [exec] Started the Deployment of Application. Please refer to the returned WLSTProgress object or variable LAST to track the status.
    [exec]
    [exec] ### ### ###: Deploy done
    [exec]
    [exec] 0
    [exec]
    [exec] ### ### ###: Status of Deploy
    [exec]
    [exec] Current Status of your Deployment:
    [exec] Deployment command type: deploy
    [exec] Deployment State : running
    [exec] Deployment Message : [Deployer:149140]The task cannot be processed further until the current edit session is activated. When this occurs, task processing will continue. The user can exit the deployer tool without affecting the task.
    [exec]
    [exec]
    [exec] ### ### ###: Saving
    [exec]
    [exec] Saving all your changes ...
    [exec] Saved all your changes successfully.
    [exec]
    [exec] ### ### ###: Activating
    [exec]
    [exec] Activating all your changes, this may take a while ...
    [exec] The edit lock associated with this edit session is released
    [exec] once the activation is completed.
    [exec] This Exception occurred at Wed Mar 28 12:25:18 EDT 2012.
    [exec] weblogic.management.DeploymentException: Cannot undeploy library Extension-Name: com.acme.custom.webcenter.spaces, Specification-Version: 11.1.1, Implementation-Version: 11.1.1.2.113 from server WC_Spaces, because the following deployed applications reference it: webcenter-rest.war, spaces.war, sharepoint-servlet.war, webcenter-rss.war
    [exec]      at weblogic.deploy.event.DeploymentEventManager.sendVetoableDeploymentEvent(DeploymentEventManager.java:337)
    [exec]      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.fireVetoableDeploymentEvent(AbstractOperation.java:781)
    [exec]      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:216)
    [exec]      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
    [exec]      at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    [exec]      at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
    [exec]      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    [exec]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
    [exec]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
    [exec]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
    [exec]      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    [exec]      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    [exec]      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    [exec] Caused by: weblogic.deploy.event.DeploymentVetoException: Cannot undeploy library Extension-Name: com.acme.custom.webcenter.spaces, Specification-Version: 11.1.1, Implementation-Version: 11.1.1.2.113 from server WC_Spaces, because the following deployed applications reference it: webcenter-rest.war, spaces.war, sharepoint-servlet.war, webcenter-rss.war
    [exec]      at weblogic.application.library.LibraryDeploymentListener.verifyLibrary(LibraryDeploymentListener.java:123)
    [exec]      at weblogic.application.library.LibraryDeploymentListener.vetoableApplicationActivate(LibraryDeploymentListener.java:58)
    [exec]      at weblogic.application.library.LibraryDeploymentListener.vetoableApplicationDeploy(LibraryDeploymentListener.java:64)
    [exec]      at weblogic.deploy.event.VetoableDeploymentEvent$2.notifyListener(VetoableDeploymentEvent.java:70)
    [exec]      at weblogic.deploy.event.DeploymentEventManager.sendVetoableDeploymentEvent(DeploymentEventManager.java:335)
    [exec] None
    [exec] #########################################################
    [exec] ##### Deployment Failed #########
    [exec] ##### Contact support with Exception Stack #########
    [exec] #########################################################
    [exec]
    [exec]
    [exec] Exiting WebLogic Scripting Tool.
    [exec]
    [exec] <Mar 28, 2012 12:25:18 PM EDT> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    [echo] ----------------------------
    [echo] Restarting the app
    [echo] ----------------------------
    [exec]
    [exec] CLASSPATH=C:\oracle\MIDDLE~1.5\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1.5\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1.5\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1.5\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1.5\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~1.5\modules\NETSFA~1.0_1/lib/ant-contrib.jar;.;%JAVA_HOME\jre\lib;C:\Apache\apache-cxf\lib;C:\Apache\apache-cxf\lib\cxf-manifest.jar;.\build\classes;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\oracle\MIDDLE~1.5\ORACLE~1/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\ADF-SH~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\ADFSCR~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\mdswlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\AUDITW~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\IGFWLS~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\jps-wlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\jrf-wlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OAMAP_~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OAMAUT~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\ossoiap.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OSSOIA~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OVDWLS~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\SSLCON~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\wsm-wlst.jar
    [exec]
    [exec] PATH=C:\oracle\MIDDLE~1.5\patch_wls1035\profiles\default\native;C:\oracle\MIDDLE~1.5\patch_jdev1111\profiles\default\native;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\native\win\32;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\bin;C:\oracle\MIDDLE~1.5\modules\ORGAPA~1.1\bin;C:\oracle\MIDDLE~1.5\JDK160~1\jre\bin;C:\oracle\MIDDLE~1.5\JDK160~1\bin;C:\Program Files\PHP52\;C:\Program Files\Common Files\OTG;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\ora_adi\bin;C:\PROGRA~1\REFLEC~1;C:\Program Files\Reflection;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;E:\MSSQL7\BINN;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\glassfish3\jdk\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Vim\vim73;c:\apache\ant\bin;c:\jboss\bin;C:\Apache\apache-cxf\bin;C:\glassfish\bin;C:\Program Files\QuickTime\QTSystem\;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\native\win\32\oci920_8
    [exec]
    [exec] Your environment has been set.
    [exec]
    [exec] CLASSPATH=C:\oracle\MIDDLE~1.5\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1.5\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\oracle\MIDDLE~1.5\JDK160~1\lib\tools.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\weblogic.jar;C:\oracle\MIDDLE~1.5\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\server\lib\webservices.jar;C:\oracle\MIDDLE~1.5\modules\ORGAPA~1.1/lib/ant-all.jar;C:\oracle\MIDDLE~1.5\modules\NETSFA~1.0_1/lib/ant-contrib.jar;.;%JAVA_HOME\jre\lib;C:\Apache\apache-cxf\lib;C:\Apache\apache-cxf\lib\cxf-manifest.jar;.\build\classes;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\oracle\MIDDLE~1.5\ORACLE~1/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\ADF-SH~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\ADFSCR~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\lib\mdswlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\AUDITW~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\IGFWLS~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\jps-wlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\jrf-wlst.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OAMAP_~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OAMAUT~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\ossoiap.jar;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OSSOIA~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\OVDWLS~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\SSLCON~1.JAR;C:\oracle\MIDDLE~1.5\ORACLE~1\common\wlst\RESOUR~1\wsm-wlst.jar;C:\oracle\MIDDLE~1.5\utils\config\10.3\config-launch.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\common\derby\lib\derbynet.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\oracle\MIDDLE~1.5\WLSERV~1.3\common\derby\lib\derbytools.jar;;
    [exec]
    [exec] Initializing WebLogic Scripting Tool (WLST) ...
    [exec]
    [exec] Welcome to WebLogic Server Administration Scripting Shell
    [exec]
    [exec] Type help() for help on available commands
    [exec]
    [exec]
    [exec] Redeploy of Spaces Application started at Wed Mar 28 12:25:21 2012
    [exec]
    [exec] Connecting to t3://claptd01:7001 with userid weblogic ...
    [exec] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_domain'.
    [exec]
    [exec] Warning: An insecure protocol was used to connect to the
    [exec] server. To ensure on-the-wire security, the SSL port or
    [exec] Admin port should be used instead.
    [exec]
    [exec] Redeploying application webcenter ...
    [exec] <Mar 28, 2012 12:25:28 PM EDT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, webcenter#11.1.1.4.0 [archive: null], to WC_Spaces .>
    [exec] [Deployer:149140]The task cannot be processed further until the current edit session is activated. When this occurs, task processing will continue. The user can exit the deployer tool without affecting the task.
    [exec] ..........................................Failed to redeploy the application with status failed
    [exec] Current Status of your Deployment:
    [exec] Deployment command type: redeploy
    [exec] Deployment State : failed
    [exec] Deployment Message : java.lang.Exception: [DeploymentService:290036]Deployment for request id '1332951945158' is deferred since target 'WC_Spaces' is disconnected.
    [exec] No stack trace available.
    [exec] None
    [exec] #########################################################
    [exec] ##### ReDeploy Spaces Failed #########
    [exec] ##### Contact support with Exception Stack #########
    [exec] #########################################################
    [exec]
    [exec]
    [exec] Exiting WebLogic Scripting Tool.
    [exec]
    [exec] <Mar 28, 2012 12:27:34 PM EDT> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    BUILD SUCCESSFUL
    Total time: 2 minutes 31 seconds
    Edited by: 891549 on Mar 29, 2012 12:01 PM

    I don't think that this error is based on ojsp.next mode. The first error I see is that the application can't be undeployed. After that you get the 'ava code in jsp source files is not allowed in ojsp.next mode.' error. As you said this only happens sometimes which also point to an other problem and not to the jsp error.
    Have you ask this on the {forum:id=354} forum?
    For me it's more a deployment/redeployment question.
    Timo

  • Java.lang.IllegalStateException: forward() not allowed after buffer has com

    Dear all,
    The error "java.lang.IllegalStateException: forward() not allowed after buffer has committed."
    was reported by my resin-1.2.3 server.
    Can anyone give me a suggestion to overcome this problem.
    Regards
    Ravikumar

    My guess would be that this is not a jdbc error.
    First there is no SQLException.
    Second IllegalStateException is something that can occur in Servlet use for various reasons.
    Perhaps you have other information that suggests it can only be JDBC?

  • Firefox will not upgrade the company whose firewall I am behind say that UPX files are not allowed where can I download a Non-UPX latest version

    Firefox will not upgrade the company whose firewall I am behind say that UPX files are not allowed where can I download a Non-UPX latest version

    UPX is used to compress the Firefox program.
    It is not possible to un-compress that file without corrupting it.
    Can you use the portable Firefox version?
    *http://portableapps.com/apps/internet/browsers/portable_firefox

  • File Extension not allowed for upload

    Hi All,
    I'm trying to upload txt file but i got error message saying that "File Extension not allowed for upload".
    Can tell me where i can set the extension to allow txt, xls?
    Thanks a lot for the info,
    CW

    Hi there,
    There are quite some postings on this topic. Hopefully below thread can help you out.
    BPC- File extension not allowed for upload
    Starting point being the BPC AppSet parameters page:
    http://<servername>/osoft/Admin/SetParameters.aspx
    Rgds,
    Said

  • How to write validation in java sript item should not allow more than 20 ch

    HI,
    I need to write validation in java script for a item it should not allow more than 20 characters.
    Thanks
    Nr

    If this answers your question, please mark your question as answered (so everyone knows it is answered) and assign points where you see fit..
    Thank you,
    Tony Miller
    Webster, TX

  • Error message on Java Class file: "could not be launched"

    trying to open a downloaded file on my iMac running OS 10.5.8.
    Erorr message says:
    The Java clas file "SynergyServlet-3class" could not be launched. check the console for possible error messages.
    Here are the messages in the Console:
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] java.lang.ClassFormatError: Incompatible magic value 626017350 in class file SynergyServlet-1
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.lang.ClassLoader.defineClass1(Native Method)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.security.AccessController.doPrivileged(Native Method)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    3/1/12 11:05:42 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
    3/1/12 11:07:15 AM [0x0-0x24024].org.mozilla.firefox[224] [ConvConfHandler] isPreferred contentType: application/pdf
    3/1/12 11:08:27 AM [0x0-0x1e11e1].com.apple.JarLauncher[7729] Exception in thread "main"

    Brandon Sky- sorry I am replying so late, for I have been very busy. The error message i got in Console after trying to open the file is below.
    Thanks MadMacs0, for I enabled Logging to be able to see this error messsage. Do you know how to access the page that says whether you are using 32-bit or 64-bit under the Java Control Panel? everyone says that is the solution to my problem, but unfortunately it was all under "Java Preferences."
    Brandon Sky- I do not know what this error message means, do u know? lol thanks :)
    3/11/13 7:56:12.461 PM [0x0-0x40040].com.apple.JarLauncher: no main manifest attribute, in /Users/mcfarlandbri/Downloads/FieryInferno.jar

  • BPC- File extension not allowed for upload

    I have read the other thread on this as I was having the same problem (not allowed to upload CSV files) - however now I can not upload any XLS files ! What have I done wrong ?
    I have added the following AppSet Parameters and values :
    ALLOW_EXTENSIONS       csv;XLS
    DEFAULT_EXTENSIONS    csv;XLS
    Thanks
    Si

    Hi Karen,
    I went to http://<servername>/osoft/Admin/SetParameters.aspx
    and added the following parameter values :
    ALLOW_EXTENSIONS
    DEFAULT_EXTENSIONS
    then gave it the values of :
    CSV,XLS,XML,TDM,CDM,XLT
    Hope this helps.
    Si

  • BPC: File Extension Not allowed in DataManager

    Hello Gurus,
    I am facing with an extrange issue iwith datamanger, I am trying to upload a TXT file and receive the message that the extension is not allowed for upload.
    I am not able to find where to change this configuration...
    Any idea??
    Thanks
    Sergio

    Take a look at the appset parameters under webadmin tasks and fill correct the following parameters:
    -ALLOWEXTENSIONS
    -ALLOW_FILE_SIZE
    -ALLOW_EXTENTIONS
    -DEFAULT_EXTENTIONS
    add TXt and other extentions to these parameters and it will be fixed.
    -Joost

  • HELP! SWF file is not allowing me to publish in presenter

    I am in need of some help with a problem that I can not figure out. Presenter will not allow me to publish any courses that I have SWF files incorporated into to. Here is what happens. The SWF file plays just fine, as it is inserted into 1 slide, and works properly on powerpoint. When I go to publish the course, it does all the steps like normal, and looks like it is publishing and zipping the file correctly. Problem is when I go into the file where I am publishing/zipping file to, it is not there. Very odd.... I know it definately has to do with the SWF file because one of my courses does not have the video in it and that published and zips just fine. Any ideas on what the problem might be?
    I am using Adobe Presenter 7.06, Windows XP, and PowerPoint 2007

    To find out if the swf is AS2 or AS3 you can try the following
    From Presenter, click on Insert SWF and in the window that opens up, select a swf file
    If the swf is an AS3 swf, you will see a warning message towards the bottom of this window
    And regarding the problem that you are facing, its really strange as we have not heard of any such issues till now
    Can you try publishing to some custom folder(say create a folder on Desktop and choose the same in the publish dialog instead of the default location)
    and verify if the published files are getting generated or not

  • Strange Missing File does not allow FCP to Start Cleanly

    Hello all,
    I am getting the following error message when I launch a specific FCP project.
    The movie file "Grant Short 8-FIN-000000b9" cannot be found. Without this file the movie cannot play properly.
    In order to get the projects to launch I need to go through various "cancel" / "stop" operations as the application attempts to find this file. I am running into various problems once I do get it to launch. Any idea as to the nature of this file and steps to remedy the situation? I did a spotlight search and the file does not exist anywhere.
    I am running version 5.1.4.
    thanks in advance for any guidance with this problem.
    Wayne Williams
    Portland Or

    It's a render file that's referenced by a reference quicktime. This is the danger of not making selfcontained qt's. If you use a reference qt in a fcp project and you delete media that the qt references, this is what happens. If at all possible, it's good idea to always export selfcontained qt's (if you've got the disk space).

  • Why Threading is not allowed in EJB?

    Hello,
    I learnt that threading concepts is not allowed/used in EJB.
    can u please post your view, regarding the above question.
    Thanks

    Good mourning...
    EJB isn't used to web applications only, and also exist the Entity beans, the persistent beans and Message Driven Beans. EJB is a enterprise component that is deployed in Application Server. The AS harness the EJB instances amount. This amount is defined in ejb-jar.xml file. And, really, the EJB is thread-safety, thus only a client is connected in the specific time. For more and better information, read the Mastering EJB book, it's free download in theserverside.com, and this sections:
    - Several Entity Bean Instances May Represent the Same Underlying Data (pag. 114);
    - Entity Bean Instances Can Be Pooled (p�g 116).
    treat this specific issue.
    bye!

  • JDK7 java.nio.file.WatchService - not flexible enough?

    Hi,
    is it indeed impossible to add/remove watched directories when needed by using a single WatchService?
    My case:
    - I'm creating a file browser using Java 7 (jdk build 79) The user (the file browser) navigates to a dir and starts listening to file-related events (like modified, created, deleted) on this dir. Once the user navigates to another dir the file browser has to stop listening to the old dir and start listening to the new one for events.
    Impossible because:
    - Stopping watching the folder thru WatchKey.cancel() doesn't work when you haven't received any notifications from the corresponding directory yet and the user navigates to another folder. In this case the WatchKey is null and I can't use it to stop listening to the (already old) folder by calling WatchKey.cancel().
    In this case the only thing left is closing the WatchService altogether and starting a new WatchService each time. Is this what a developer is supposed to do?
    And obviously the third way to stop listening for a directory (the WatchService stops listening to deleted directories) - doesn't cut it either.
    Edited: corrected typo "WatchKeyEvent" with "WatchKey"

    You can register additional directories or cancel the key for an existing registration while using a WatchService.
    +...just cancel the key and register the new directory, which will give you a new key.+
    Thanks,
    The problem is, the WatchKey is almost always null because: one gets the WatchKey not when registering the dir listener, but after receiving the first dir event (create, delete, modified), thus, not here:
    try {
         dir.register(service, ENTRY_CREATE, ENTRY_DELETE, ENTRY_MODIFY);
    } catch(Exception exc) {
         return;
    }But here:
    try {
         key = service.poll(300L, TimeUnit.MILLISECONDS);
    } catch (InterruptedException x) {
         break;
    }Thus, I can't unregister this dir if there hasn't been any event for this dir yet, because in this case the WatchKey is null and I can't use it's cancel() method (and no, using take() instead of poll() doesn't help either).
    Thus in this case I'm left with the other 2 ways to unregister a directory: stop the service altogether (not good) or when directory deleted (useless).
    Again, I'd like to stress out that I mean situations when the WatchKey is null, which is a game changer, and in my case, the user browses thru directories, so this happens a lot.
    Edit:
    Quick example: user is in /home/fox/Documents, he clicks "up" button several times to get to the root dir "/", thus the file browser ends up with 3 directories being listened: (1) "/", (2) "/home", (3) "/home/fox", since he navigated quickly he did nothing to the "in between directories" (/home and /home/fox) thus their WatchKeys are still null and thus I can't unregister these dirs through their WatchKey.cancel() mechanism. I hope I made myself clear.

  • File dialogs not allowing http:

    Hi all,
    Hoping someone out there might know of a way to force the OS to allow me to specify http:// on a file open/save as dialog.
    E.g. if I'm in word and I want to open a file from a remote location, on windows I could enter http:// and the rest of the URL.. With my mac however as soon as I type the : it converts to a - so I end up with http-//
    I hope this is something I can fix.
    Thanks in advance for any help

    You can access files on a WebDAV html or FTP server (or any other file protocol) only if you mount the remote filesystem locally. To do that use the finder and select Go To -> Connect with server from the menu. Enter your remote address and then select the mounted volume from the file dialog in your application.
    Cheers,
    Jazz

  • Data Upload: file extension not allowed

    Hi alls!!!
    I would like to upload a CSV file to the server.
    I updated through BPC Web the 
    ALLOW_EXTENSIONS = [ALL]
    ALLOWEXTENSIONS = [ALL]
    but it is not working, even after a re-log in and a Re-initialize of the client options ("clear the local application information")
    If i go on the registry of my computer andI go to
    HKEY_USERS > S-1-5-21-448539723-602162358-682003330-1003 > Software > VB and VBA program Settings > Outlooksoft 5 > LATEST
    There is an entry ALLOWEXTENTION and if i put the value to CSV it works...
    But i dont want to do that like this... why it is not working with BPC web?
    Nic
    Edited by: Nicolas Argente on Oct 22, 2008 12:58 PM

    Hi, I'm having the same issue which I believe will be resolved by the solution above.
    I understand that I need to modify the Set AppSet Parameters...but am having much trouble finding where this option is located.
    I have logged onto BPC Administration, and than an Appset.
    On the left panel I see the usual options: Dimension Library, Application, Secuirty..etc
    On the right panel when I have my Appset highlighted I see: Add a new appset, Set App set status, etc
    But I do not see SetAppset Parameters?? How do I get there??
    The user I am logged in has the Administration, Appset, WebApp, etc permissions...
    Thanks in Advance!

Maybe you are looking for

  • WS_CRUD_InvalidConfigurationData  Error while creating Record using webserv

    Hi, I deploped sca files and I would like to create new Business Object. I got an error in response as WSCRUD_InvalidConfigurationDataElementKey_. Could any one can guide me what the error is? what values should I give for Configuration data, value a

  • Car Stereo wont play after 4.1

    Hello, this is a problem that has seemed to progressively get worse with each iOS update. I know this is probably more of an issue for the maker of the car stereo, but it's also an issue caused by the OS updates. The stereo is a Valor ITS-702. iOS 2

  • How to get print driver in 9 to behave like print driver in 5?

    Hello, I'm working in an XP shop with some legacy applications.  One of these applications prints out batches of files to the PDF Writer printer from Acrobat 5.0.  The files all come out with a similar filename pattern.  For example, if the input was

  • Remittance advice

    Hi all , I have couple of questions-- I recieve a remittance advice from the customer.. my question is when we recieve a remittance advice (EDI 820) from a customer would a payment advice gets generated or does any actual postings happen? 1. putting

  • Terminal window resizes when opening new tab with cmd-'t'

    The simplest way to re-create this issue is as follows: -open new Terminal window (def 80x24) -resize the Terminal window by dragging the lower right corner (125x32) -cmd-'t' -resize the Terminal window (80x24) -cmd-'t' After the final command the Te