Flex 3 and Java - Integrated Development on Eclipse
I am new to flex as well as to eclipse. I have downloaded
Adobe Flex Builder 3.0 and installed it. I want to use java at the
back-end, but I don't have Java perspective option in eclipse.
Therefore, I am currently using 2 IDE(s), one is
flex-builder, and other is Eclipse for Web tool platform
(eclipse-jee-europa-winter-win32.zip).
Is there anyway that I can benefit integrated development of
Flex and java using same IDE?
I wouldn't try it really... it's not worth the issues you'd
probably run into and the work of getting it setup, if it's even
possible. I just run Eclipse and FB separate. If you have a gig of
ram you should be fine doing this I think.
If you *really* want to get rid of one, you can use the Flex
plugin for Eclipse, but I've heard people complain about it not
playing nice with Java.
Similar Messages
-
Hi
We are having this requirement , we want to develop a
application using flex for adobe AIR runtime which will communicate
with java in the desktop, we are not having any servers here, so
flex application want to communicate with java classes with out the
help of any server so I can't use httpservice, webservice or
remoting .
I like to know the ways to communicate from flex 3.0(Adobe
AIR) to java files (java takes care of splitting PowerPoint
files and converting it into serious of jpeg files, and
creating ppt files from the objects returned from flex ).
Is there any other way to communicate form between flex and
java in the desktop ??? please give inputs
ThiruHi,
you could use XMLSocket or Socket classes depending on the
type of communication you want to stablish.
I have been testing this for a while although not for a
project.
However my impression is that you need to install the AIR app
which is self-extracted and installed, but in second hand, you have
to install the Java app, that acts as a server, and it must be
executed every time your AIR app is, and the other way around.
Untill now I haven't got any idea on doing this without too
much work, but you can take a look at the Merapi project.
Manu -
WIDL and Web Integration Developer
Hi,
I have bunch of existing applications rendering pages in HTML format. I am looking for a way getting them integrated with wireless.
It seems that the WIDL and Web Integration Developer is the solution.
I am using iAS Release 2 (9.0.2), however, I cannot find the mentioned "Web Integration Developer" with my iAS installation. Where can I download it?
Please help!!
thanks
--ianTry to find the folder:
C:\<ORACLE_home>\iSuites\panama\WebIntegration
and look for the file "server.exe" in
C:\ORACLE\iSuites\panama\WebIntegration\Server\bin
You can start the server using a batch file (server.bat):
@echo off
rem
rem Copyright (c) 1996-1998, webMethods Inc. All Rights Reserved.
rem server.bat: Run the B2B Integration Server
rem
rem Change SERVDIR and JDKDIR to reflect their locations on your system
rem CODEDIR should point to the location of the Java service classes
rem
rem --- SET THE FOLLOWING LINE TO "true" TO RUN ON Win95 ---
SET IS95=false
rem --- RESTRICT VAR CHANGES TO LOCAL BATCH FILE
if %IS95%==false SETLOCAL
SET SERVDIR=C:\ORACLE\iSuites\panama\WebIntegration\Server
SET JDKDIR=C:\ORACLE\iSuites\panama\WebIntegration\Server\jvm
rem --- MUST SET TO ALLOW MULTIPLE RUNS OF SCRIPT ---
SET LOCAL=N
rem --- SAVE COPY OF PATH BEFORE SERVER STARTS TO ALLOW LOOPING ---
SET SLP=%PATH%;%SERVDIR%\lib
SET SCP=%CLASSPATH%
rem --- SET THE FOLLOWING LINE TO "true" USE JVIEW ---
SET USEJVIEW=false
rem --- SKIP STUFF 95 BARFS ON ---
if %IS95%==true goto nolocal
rem -- ALLOW "LOCAL" STARTS WHERE JVM AND BASE CLASSPATH ARE KNOWN
SET one=%1
if not defined one goto nolocal
if not %one%==local goto nolocal
SET LOCAL=Y
rem SET SERVDIR=D:\devel\source\server
SET SLP=%PATH%;%SERVDIR%\lib
shift
echo --- running in local mode ---
:nolocal
rem --- JUMP PAST "UTIL" FUNCTIONS ---
goto start
rem --- UTILITIES TO SET CLASSPATH AND PATH FROM PACKAGES ---
:setpaths
rem -- next line only required in 1.15 and earlier --
if EXIST %1\code\libs CALL :setpaths2 %1
goto :eof
rem --- we need to set classpaths if native libs need will be loaded ---
:setpaths2
if EXIST %1\code\classes SET CLASSPATH=%CLASSPATH%;%1\code\classes
if EXIST %1\code\classes.zip SET CLASSPATH=%CLASSPATH%;%1\code\classes.zip
SET PATH=%1\code\libs;%PATH%
goto :eof
rem
rem This loop allows the server to restart with a completely
rem fresh process.
rem
:start
SET PATH=%SLP%
SET CLASSPATH="%SCP%;%SERVDIR%\lib\classes"
if %LOCAL%==N goto setcp
goto nosetcp
:setcp
if %USEJVIEW%==false SET CLASSPATH="%JDKDIR%\LIB\RT.JAR;%SERVDIR%\LIB\SERVER.ZIP;%SERVDIR%\lib\classes"
if %USEJVIEW%==true SET CLASSPATH="%WINDIR%\JAVA\CLASSES\CLASSES.ZIP;%SERVDIR%\LIB\SERVER.ZIP;%SERVDIR%\lib\classes"
:nosetcp
rem
rem The server must always start up in it's installation directory
rem
if %LOCAL%==N cd "%SERVDIR%"
rem --- UPDATE PATH AND CLASSPATH FOR PACKAGES ---
if %IS95%==true goto skippkg
for /D %%D in (packages\*) do CALL :setpaths %%D
rem --- Win95 IS MISSING NECESSARY "IF" COMMAND ---
:skippkg
if %USEJVIEW%==true goto jview
if %LOCAL%==Y goto local
SET SCMD="%JDKDIR%\bin\jre" -ms64M -mx64M -classpath %CLASSPATH%
goto runserver
:local
SET SCMD=java -ms64M -mx64M -classpath %CLASSPATH%
goto runserver
:jview
SET SCMD=jview
:runserver
%SCMD% watt.app.server.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
goto done
:done
rem --- IF SERVER WANTS TO LOOP THEN START OVER ---
if ERRORLEVEL 42 goto start
rem --- END OF LOCAL VAR CHANGES ---
if %IS95%==false ENDLOCAL
Open your browser and enter the url:
http://<hostname>:5555
Logon with: Administrator/manage -
Flash Builder 4.0 Standalone VS Plugin for Flex and Java Development
Hello,
I have recently installed Flash Builder 4.0 for a personal project. The server side of the project was going to be developed in ASP.NET but at the last minute I decided to change it to Java. However now I am wondering if it would be better to uninstall and install Eclipse with the Flash Builder 4.0 plugin.
I am not really asking which one is better, I guess both are pretty much the same (though I wonder what features are not included in the Eclipse plugin), however I want to know which one would let me create an easier workflow model for the development now that I am going to use Java as well.
I am open to other suggestions as well.
Thanks,
JorgeHey guys, I'm brand new to this as well and you probably don't need an answer now but I found this anyway:
Flex Builder and Flash Builder both function as Plug-ins to Eclipse, though each also comes in a "stand-alone" flavor - which is still eclipse, but with a lot of the Eclipse functionality torn out for a smaller footprint.
http://stackoverflow.com/questions/1761919/flex-php-flash-builder-4-vs-eclipse
All the best! -
Getting Started with Flex and Java RPC for Free?
Good Morning,
Please forgive me if this is the wrong place to post- I'm
just having trouble wrapping my head around what is and what isn't
available for free in the Adobe Flex world.
I've been working on an application for the last few months
using Open Laszlo (
http://www.openlaszlo.org/),
but I've been running into frustrations with their lack of
up-to-date documentation, and I've found it difficult to bring new
people into the project, since the set of users who know it is so
small.
While I do like that I can compile to DHTML, that's not
enough to hold me there.
I've been looking into Adobe Flex, and it seems like a good
alternative- I'm comfortable paying $500 for the IDE-
I use Eclipse currently, so having a plugin for it sounds
ideal. That said, when I look into ways to talk to a Java backend,
everything points to Flex Data services, which is now part of some
larger package costing tens of thousands of dollars.
I don't need advanced messages, or data synchronization, as
nice as it would be.. All I really need is the ability to call a
Java method, and get an object back, which I can then work with in
Flex.
I see the forum message that asks
"How
do I 'do' Flash for free?, but this only talks about RPC very
broadly. Given that the message is from over a year ago, I thought
it would be better form to start a new topic, than replying to it.
Can someone explain to me what components I'd need, both on
the client side and the server side?
Is there a set of manuals that explain how to do Flex RPC
from Java?
Can Flex compile to any versions of flash earlier than 9?
(Flash 6/7 is still in wide deployment)
Do I want to start using Flex 2, or Flex 3? Are the
components compatible? Will the F3 docs be ready?
Finally, where can I purchase the Charting components? The
ability to create charts such as
this
overcome a decent price barrier.
Thank you for any insight you can offer, and direction you
can provide.quote:
Originally posted by:
cunparis2day
On our project they made a proxy in java where they passed in
the name of the method as a string, and an array of objects for the
parameters. The proxy then sent the request via RMI and returned
the result. Kind of a hack but they say it worked (I wasn't here
when they did it).
What did the RMI talk to? Are there docs on this?
quote:
Another approach, generate the proxy from the java
interfaces. Or better yet, generate it dynamically with CGLIB.
quote:
Finally, I'm investigating using Mule for the integration.
Let me know what you think about those suggestions.
We have our own messages, but how would MULE translate them
to Flex?
You know quite a bit more about this, can you take a step
back, and explain? -
Sample Java code and detail to call RFC from Java clas developed in Eclipse
Hi All,
I am new to Java. I have downloaded Eclipse IDE and planning to use for developing Java application to send data to SAP by calling RFC JCO Interface.
I need a sample java code/tutorial step by step to create Java class for simple example to call RFC from Java.
I have downloaded SAPJCO3 from service market place.
Kindly help me to send steps involved to configure for JCO with my Eclipse with JCO.
Thanks in advance.
SharmaHi Sharma,
Please have a look at [Example: Using Generated Proxies to Call Function Modules |http://help.sap.com/saphelp_nw04/helpdata/en/b6/55e3952a902447847066a0df27b0d6/content.htm]
JCo Exceptions : http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f6/daea401675752ae10000000a155106/content.htm
Hope it will helps
Regards
Arun -
Deployment error in JBoss ( Flex and Spring Integration )
The Flex- Spring Integration Application works in Tomcat but it gives the followin error when deployed in JBoss.
11:26:58,000 INFO [[/clv-web]] Initializing Spring root WebApplicationContext
11:26:58,785 INFO [[/clv-web]] Initializing Spring FrameworkServlet 'blazeds'
11:27:02,602 ERROR [[/clv-web]] StandardWrapper.Throwable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBrokerDefaultHandlerMapping': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBroker': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:521)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingle tons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitializ ation(AbstractApplicationContext.java:871)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicatio nContext.java:423)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:443)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:459)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServl et.java:340)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:30 7)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4417)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo yment.java:321)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja va:145)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim pleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle rContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC ontextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext .java:297)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra ctSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer .java:55)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1172)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1193)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeploye rAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDepl oyAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractP rofileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Abstract ProfileService.java:403)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile( AbstractProfileService.java:308)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst rap.java:256)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBroker': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1403)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFac tory.java:392)
at org.springframework.context.support.AbstractApplicationContext.isSingleton(AbstractApplic ationContext.java:1064)
at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(Abstrac tUrlHandlerMapping.java:368)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUr lHandlerMapping.java:129)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(Si mpleUrlHandlerMapping.java:104)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(Appli cationObjectSupport.java:119)
at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContex t(WebApplicationObjectSupport.java:71)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(Applic ationObjectSupport.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterface s(ApplicationContextAwareProcessor.java:99)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeIni tialization(ApplicationContextAwareProcessor.java:82)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPos tProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1396)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
... 85 more
Caused by: org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:185)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMe thods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1400)
... 104 more
Caused by: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:137)
at org.apache.xpath.XPathContext.<init>(XPathContext.java:102)
at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:115)
at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)
at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184)
at org.springframework.flex.config.FlexConfigurationManager$CachingXPathServerConfigurationP arser.selectSingleNode(FlexConfigurationManager.java:257)
at flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationPa rser.java:46)
at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java: 69)
at org.springframework.flex.config.FlexConfigurationManager.getMessagingConfiguration(FlexCo nfigurationManager.java:108)
at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:128)
... 106 more
11:27:02,607 ERROR [[/clv-web]] Servlet /clv-web threw load() exception
java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:137)
at org.apache.xpath.XPathContext.<init>(XPathContext.java:102)
at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:115)
at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)
at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184)
at org.springframework.flex.config.FlexConfigurationManager$CachingXPathServerConfigurationP arser.selectSingleNode(FlexConfigurationManager.java:257)
at flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationPa rser.java:46)
at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java: 69)
at org.springframework.flex.config.FlexConfigurationManager.getMessagingConfiguration(FlexCo nfigurationManager.java:108)
at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:128)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMe thods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1400)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFac tory.java:392)
at org.springframework.context.support.AbstractApplicationContext.isSingleton(AbstractApplic ationContext.java:1064)
at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(Abstrac tUrlHandlerMapping.java:368)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUr lHandlerMapping.java:129)
at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(Si mpleUrlHandlerMapping.java:104)
at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(Appli cationObjectSupport.java:119)
at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContex t(WebApplicationObjectSupport.java:71)
at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(Applic ationObjectSupport.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterface s(ApplicationContextAwareProcessor.java:99)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeIni tialization(ApplicationContextAwareProcessor.java:82)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPos tProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1396)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingle tons(DefaultListableBeanFactory.java:562)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitializ ation(AbstractApplicationContext.java:871)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicatio nContext.java:423)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:443)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:459)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServl et.java:340)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:30 7)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4417)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo yment.java:321)
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja va:145)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
at $Proxy38.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim pleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle rContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC ontextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext .java:297)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra ctSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer .java:55)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1172)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1193)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeploye rAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDepl oyAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractP rofileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Abstract ProfileService.java:403)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile( AbstractProfileService.java:308)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst rap.java:256)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
Thanks.Hi,
you can find deployment stack traces in the following location \ORACLE\806\opmn\logs. i think this might help u.
I am also facing a problem like com.evermind.compiler.CompilationException: Syntax error in source,did u know cause for this.
Thanks and Regards,
Bala -
Hello All,
I am in a requirement in which i need to connect to SAP server and fetch data from it and display back in Flex builder. I am a bit familiar with Flash Island intro but not much. So my question is what are the possible way we can fetch data from SAP and display the same in Flex builder like generally we fetch data in XML format and display the same. i know a bit about iframe but have zero knowledge bout that.
So do you know if there is a better format of data we can fetch data and display the same in flex builder or flash island.
what are the possible format we can fetch data from SAP n process data in flex builder.
Cheers
Manihttps://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20536f87-b5a1-2a10-06ad-c15369468e0e
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/a085a42a-a036-2a10-6698-d94b1e707b80
Did you simply consum webservices with Flex? You knwo that you need configure the SAP output the WSDL and set it as Remaote enable -
AIR for TV OEM and system integration development
My company is interested in using AIR for TV in our product line which implies that we need the IDK, DDK, and EDK with a binary distribution of AIR. How do we get started? Can someone please point me to a link or a contact? Thanks!
Does this link help?
https://learn.adobe.com/wiki/display/airquestions/AIR+for+TV -
Getting started with flex and Eclipse 3.1?
Hi all,
Im a java Eclipse RCP developer and I wanted to work on some small apps using flex.
I have been searching around on the web for instructions on how to get everything set up, but most of them seem to skip a few steps.
I am using Eclipse ganymede (3.1), and have downloaded the flex sdk. Is there a plugin or something for flex that creates the proper perspectives in eclipse? Or what exactly do I need to do?
Also, I see that flex uses mxml, if I want to use flex and java as opposed to flex and php or coldfusion (the only examples I saw) is that possible? I guess Im slightly confused as to what exactly I am writing this app in... java? Actionscript? Php? ??
Basically my goal is this:
Use eclipse 3.1 (not flex builder)
Write an RIA that can also use AIR
Connect to a MySQL database on the backend
I have very little experience (or need) for J2EE, but maybe I should use it?
Can anyone point me to a good tutorial that will get me going to achieve my goal? Or tell me what exactly I need to install, and how to put it together?
Thank you!You need Flex Builder plugin version.
Trial version here:
http://www.adobe.com/cfusion/entitlement/index.cfm?e=flexbuilder3 -
Sample application of Flex using java
Can anybody tell or send any URL regarding sample applcation i.e.
developed using Flex and java
I am confused abt web.xml
means how to integrate that flex application.Thx Dear,
At least I got some reply from someone.
Actually I m trying to search it but not getting any help.
My prob is.
I want to develop sample application using Flex and Spring framework.
Let say there is form called
Employee.mxml & there are 2 text boxes for username & password .I want to read values entered by user in these text boxes from flex form using Spring framework.
so can u send me any URL sothat i can get help for this.
Please help me ASAP. -
Flex with Ruby or Flex with Java
Hi,
I need to use SNMP/SLP protocols in my application.
So i have plan to develop the Applcation using Flex and Ruby or Flex and Java(HttpServices). In future the applicaiton may need enhanced.
please any one of you help me , which one is the bset way to develop the applcation.
Thanks,
RaviI would go with whatever backend is more familiar to the developers and to the ones who will have to updates the application.
-
I am creating an application that will use Flex2/Data
Services and Java/Spring. Communication will be via RPC.
I will be using Eclipse with the Flex2 plugin.
Should I create 2 separate projects. One for Flex and one for
Java?
Can the source code for the Flex part and Java part be in the
same directory structure or should I contain each project
separately and deploy each project separately?
I haven't been able to find any info on this so if you can
point me to some I would appreciate it.
ThanksHi,
i would reccomnd using only 1 project and put all your code
into it. You can use maven2 to build/deploy your application that
way. Furthermore you will have all syntax highlighting available to
you this way.
if you are interested, you can download my (
http://www.wowww.nl/wordpress/?p=58)
example project. It is fully based upon a maven2 structure and
combines the flex and java parts into 1 project.
regards,
Marc -
How to start java card development?
Good Evening all,
I am novice for java card development , from last some days I study java card and terms related to it, now i have some knowledge about applets , and API. as i read about java card 2 and 3, I think i moved to java card 2 that's why i download jcdk 2.1.
Now i want to do something in development rather than further conceptual study. Frankly speaking I m confused where to move because different sites have different point of view so i want to execute my knowledge which i earned from last some days...
so I want to ask
1- which IDE would be best for java card development? { eclipse or net beans or something other}
2- what things i would be require during java card application?{ java sdk version? jcdk version? ocf? or what}
3- at start i want to use simulation technique to test what i made and how its work, so for this which tool or IDE would be best work for me,
so kindly request you to guide me and show me the path where i can move and achieve what i want..
---------------------------------------------------------------------------------------------------Thank you in advance------------------------------------------
Edited by: 911936 on Feb 2, 2012 10:01 AMHello umer,
last night it seems very tough to execute sample program of jcdk 2.2 but finally i make it, and i also i got the IDE - net beans that is very good for java card...
I think i should share my knowledge here for next novice people...
----------------------------------------------------------------------------java card development require-------------------------------------------------------------
Because here we use java for java card so we require
1- java development kit (JDK) - use below link to get this.
[get jdk here|http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-windows-i586.exe]
2- Java card require java card development kit (JCDK) I think java card version 3 is latest but i used jcdk 2.2.1
[get jcdk here|http://download.oracle.com/otn-pub/java/java_card_kit/2.2_01/java_card_kit-2_2_01-win-gl.zip]
now i think this is enough to start java card development...
follow below steps
1- install jdk 6 in c:/java/jdk1.6
2-keep jcdk in c:/java_card_kit-2_2
3- open command prompt and run
a)-set JC_HOME=c:\java_card_kit-2_2
b)-set JAVA_HOME=c:\java/jdk1.6
c)-set PATH=%JC_HOME%\bin;%PATH%
4-there are some sample project in scdk, if you want to get confidence , u should run one of them..
run command- jcwde jcwde.app { jcwde is a simulator where u check what u made }
and run this command in another command prompt- apdutool -nobanner -noatr demo1.scr > demo1.scr.jcwde.out
You can get detail of 3 and 4 step from cJDK_Users_Guide.pdf which is present in jcdk.
------------------------this is all which u need to do to get confidence in java card, but dont be over confident because in reality "the ball is not in your court yet"
Note- if you are searching which java IDE is best for java card development then
[click here- this is one of the best ide for java card|http://dlc.sun.com.edgesuite.net/netbeans/7.1/final/bundles/netbeans-7.1-ml-windows.exe]
Edited by: 911936 on Feb 3, 2012 8:58 AM -
Problem with java.lang.reflect in Eclipse
I'm just reading java tutorial about that library, but when i'm trying to execute those example program's e.g
import java.lang.reflect.Constructor;
import java.lang.reflect.Type;
import static java.lang.System.out;
public class ConstructorSift {
public static void main(String... args) {
try {
Class<?> cArg = Class.forName(args[1]);
Class<?> c = Class.forName(args[0]);
Constructor[] allConstructors = c.getDeclaredConstructors();
for (Constructor ctor : allConstructors) {
Class<?>[] pType = ctor.getParameterTypes();
for (int i = 0; i < pType.length; i++) {
if (pType.equals(cArg)) {
out.format("%s%n", ctor.toGenericString());
Type[] gpType = ctor.getGenericParameterTypes();
for (int j = 0; j < gpType.length; j++) {
char ch = (pType[j].equals(cArg) ? '*' : ' ');
out.format("%7c%s[%d]: %s%n", ch,
"GenericParameterType", j, gpType[j]);
break;
// production code should handle this exception more gracefully
} catch (ClassNotFoundException x) {
x.printStackTrace();
in Eclipse i've got nothing in my output console :/
no errors, no warnings, no text ..... (it was terminated correctly)
Can somebody tell me what should I do to make it work properly ?Hi,
In program arguments, you should not have ConstructorSift but only java.util.Formatter and java.util.Locale.
(Eclipse : run dialog | arguments tab | program arguments)
This is the output you should get:
$ java ConstructorSift java.util.Formatter java.util.Locale
public java.util.Formatter(java.util.Locale)
*GenericParameterType[0]: class java.util.Locale
public java.util.Formatter(java.lang.Appendable,java.util.Locale)
GenericParameterType[0]: interface java.lang.Appendable
*GenericParameterType[1]: class java.util.Locale
public java.util.Formatter(java.lang.String,java.lang.String,java.util.Locale) throws java.io.FileNotFoundException,java.io.UnsupportedEncodingException
GenericParameterType[0]: class java.lang.String
GenericParameterType[1]: class java.lang.String
*GenericParameterType[2]: class java.util.Locale
public java.util.Formatter(java.io.File,java.lang.String,java.util.Locale) throws java.io.FileNotFoundException,java.io.UnsupportedEncodingException
GenericParameterType[0]: class java.io.File
GenericParameterType[1]: class java.lang.String
*GenericParameterType[2]: class java.util.Locale
public java.util.Formatter(java.io.OutputStream,java.lang.String,java.util.Locale) throws java.io.UnsupportedEncodingException
GenericParameterType[0]: class java.io.OutputStream
GenericParameterType[1]: class java.lang.String
*GenericParameterType[2]: class java.util.Locale
Hope that help,
Jack
Maybe you are looking for
-
How do I verify my iCloud account when the email address Apple wants to send the instructions to doesn't exist? I know I need to change the email account associated with iCloud but there doesn't seem to be a way to do so. Any help would be greatly
-
Communication between Java and Oracle
Hello, I have replicated databases running 9iR2. Once insert/update/delete transaction is commited by replication(master site, backend server), notification needs to be sent to front end server (eg rowid and tran type update/delete/insert) Upon inser
-
Project cash management document
Need your guidance for an issue, Is it possible to display Project cash management documents just like any other FI documents? Thanks
-
MacBook Pro and Intel Core 2 Duo?
Hey there everyone, It is great that Apple is announcing the Intel Core 2 Duo, but when would it be available in the MacBook or MacBook Pro? I am starting school in January and would like some time to use my new MB or MB Pro, but don't want to make a
-
How do I delete apps from my iphone
want to delete serveral apps from my i phone but don't know how