Urgent help me to find out the error
hi ppl,
i have installed jre-1_5_0_04-windows-i586-p-iftw . but i am not able to compile any java program. when i try to compile javaw it is generating an error " could not find the main class : program will exit ".
pls help me to figure out what went wrong.
pls i need a reply soon.
sweety
The JRE doesn't include a compiler. You need the SDK.
javaw is used to run Java applications, not to compile them.
Similar Messages
-
i could not find network utility option in mavericks. i was using os x lion.there is a network utility option in utility menu.help me to find out the option in mavericks.
Choose Go to Folder from the Finder's Go menu, provide /System/Library/CoreServices/Applications/ as the path, and open it.
(109612) -
Can anybody please help me to find out the link where small co.
can anybody please help me to find out the link where small companies implementing saps.
Hi,
SAP is providing a solution to Small Scale Industries with SMB (Small and Midsize Business) Product for various industries. It's a Pre configured SAP Solution pertaining to a specific industry(like Pharma, Oil..etc) with which the implementation as well as the cost will also decreases.
Regards,
Jayaram... -
Plz help me in finding out the BADI or menu exit for IW32
HI
in Tcode IW32, based on the user status(ASTTX), the menu items ,EXTRAS -> TASK LIST SELECTION -> all items have to be grayed out.
Please help me to find out BADI or menu exit which ever is available.
Thanks,
Pallavi.Hi,
Please check if the below user exit/BADI is useful.
Enhancement
IWO10012 Maintenance order: Priority handling on central header
BAdi
IWO_UI_USEFLEX BAdI for Calling Up an Alternative UI
Regards,
Srini. -
Help me to find out the font type?
Is it possible to find out the type of the used fonts(like Open type (or) true type) in illustrator cs3 file through programmatically. Kindly share with me the possibilities and solution.
Thanks...Good evening,
an idea to help you in your approach
Sub texte()
Set appref = CreateObject("Illustrator.Application.cs4")
Set myDoc = appref.ActiveDocument
Set myText = myDoc.TextFrames
For i = 1 To myText.Count
MsgBox (myText(i).Characters(1).CharacterAttributes.TextFont.Family)
Next
End Sub
Patrice -
Help me find out the error in my first hello application
Hello every body !!!!
I am new to JEE.I am competent on JDK and also have worked on Tomcat JSP,servlet.
But i am having problem running my first JEE programme.
I have Sun Java System Application Server 9.1 with NetBeans 6 on WinXP.
I have used NetBeans 6 hence those comments are there.
Below are the code i have used:
In the hello-ejb module i have following Bean and remote interfaces==>>>
package hello;
import javax.ejb.Stateless;
@Stateless
public class HelloBean implements HelloRemote {
private String name="Yoodleyee";
public String sayHello() {
//return null;
return "My Name is "+name;
// Add business logic below. (Right-click in editor and choose
// "EJB Methods > Add Business Method" or "Web Service > Add Operation")
package hello;
import javax.ejb.Remote;
@Remote
public interface HelloRemote {
public String sayHello();
In the Hello-app-client module i have main()==>>
package hello;
import javax.ejb.EJB;
public class Main {
@EJB
private static HelloRemote helloBean;
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
System.out.println("Hi "+helloBean.sayHello());
since this program does not require deployment descriptor and also NetBean creates its own deployment discriptor hence i have not written any.
While the BUILD is successfull.But when Run this application I get deployment error.I am pasting the error stack below:
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
deps-jar:
deps-j2ee-archive:
init:
init:
deps-jar:
compile:
library-inclusion-in-manifest:
dist-ear:
deps-jar:
compile:
library-inclusion-in-manifest:
dist-ear:
init:
deps-jar:
compile:
library-inclusion-in-manifest:
dist-ear:
pre-pre-compile:
pre-compile:
do-compile:
post-compile:
compile:
pre-dist:
do-dist-without-manifest:
do-dist-with-manifest:
post-dist:
dist:
pre-run-deploy:
Initial deploying Hello to C:\nikhil workstation\EJB work\NetBeansProjects\Hello\dist\gfdeploy
Completed initial distribution of Hello
Start registering the project's server resources
Finished registering server resources
moduleID=Hello
deployment started : 0%
Deploying application in domain failed; Error loading deployment descriptors for module [Hello] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
Deployment error:
The module has not been deployed.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: The module has not been deployed.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:157)
... 16 more
BUILD FAILED (total time: 1 second)
Where as the server log has the following stack
----Log File Rotated---
Apr 18, 2008 5:06:42 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
C:/Sun/SDK/jdk\bin\java
-Dcom.sun.aas.instanceRoot=C:/Program Files/glassfish-v2/domains/domain1
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,C:/Program Files/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,C:/Program Files/glassfish-v2/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=C:/Program Files/glassfish-v2/lib/install/applications/jmsra/imqjmsra.jar,C:/Program Files/glassfish-v2/imq/lib/jaxm-api.jar,C:/Program Files/glassfish-v2/imq/lib/fscontext.jar,C:/Program Files/glassfish-v2/imq/lib/imqbroker.jar,C:/Program Files/glassfish-v2/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2/lib/ant/lib/ant.jar,C:/Program Files/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Program Files/glassfish-v2/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/SDK/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Program Files/glassfish-v2/imq/lib/jaxm-api.jar,C:/Program Files/glassfish-v2/imq/lib/fscontext.jar,C:/Program Files/glassfish-v2/imq/lib/imqbroker.jar,C:/Program Files/glassfish-v2/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Program Files/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Program Files/glassfish-v2/updatecenter/lib/updatecenter.jar,C:/Program Files/glassfish-v2/jbi/lib/jbi.jar,C:/Program Files/glassfish-v2/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=C:/Program Files/glassfish-v2/config
-Dcom.sun.aas.defaultLogFile=C:/Program Files/glassfish-v2/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=C:/Program Files/glassfish-v2
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.updatecenter.home=C:/Program Files/glassfish-v2/updatecenter
-Ddomain.name=domain1
-Dhttp.nonProxyHosts=1*|prdits.tatasteel.co.in*|prd.tatasteel.co.in*|myportal.tatasteel.co.in*|<local>*|localhost|127.0.0.1|WAGONTRACKER
-Dhttp.proxyHost=151.0.1.128
-Dhttp.proxyPort=3128
-Dhttps.proxyHost=151.0.1.128
-Dhttps.proxyPort=3128
-Djava.endorsed.dirs=C:/Program Files/glassfish-v2/lib/endorsed
-Djava.ext.dirs=C:/Sun/SDK/jdk/lib/ext;C:/Sun/SDK/jdk/jre/lib/ext;C:/Program Files/glassfish-v2/domains/domain1/lib/ext;C:/Program Files/glassfish-v2/javadb/lib
-Djava.library.path=C:\Program Files\glassfish-v2\lib;C:\Program Files\glassfish-v2\lib;C:\Program Files\glassfish-v2\bin;C:\Program Files\glassfish-v2\lib
-Djava.security.auth.login.config=C:/Program Files/glassfish-v2/domains/domain1/config/login.conf
-Djava.security.policy=C:/Program Files/glassfish-v2/domains/domain1/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=C:/Program Files/glassfish-v2/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Program Files/glassfish-v2/domains/domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-Xmx512m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=C:/Program Files/glassfish-v2/domains/domain1/logs/jvm.log
-cp
C:/Program Files/glassfish-v2/lib/jhall.jar;C:\Program Files\glassfish-v2\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
Starting Sun Java System Application Server 9.1 (build b58g-fcs) ...
MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
CORE5098: AS Socket Service Initialization has been completed.
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_03] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
C:/Program Files/glassfish-v2/domains/domain1/config/.__com_sun_appserv_pid
ADM0001:SunoneInterceptor is now enabled
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
WEB0114: SSO is disabled in virtual server [server]
WEB0114: SSO is disabled in virtual server [__asadmin]
ADM1079: Initialization of AMX MBeans started
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://WAGONTRACKER:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
autoDeployment status dir missing, creating a new one
[AutoDeploy] Selecting file C:\Program Files\glassfish-v2\lib\install\applications\MEjbApp.ear for autodeployment.
deployed with moduleid = MEjbApp
[AutoDeploy] Successfully autodeployed : C:\Program Files\glassfish-v2\lib\install\applications\MEjbApp.ear.
[AutoDeploy] Selecting file C:\Program Files\glassfish-v2\lib\install\applications\__ejb_container_timer_app.ear for autodeployment.
deployed with moduleid = __ejb_container_timer_app
[AutoDeploy] Successfully autodeployed : C:\Program Files\glassfish-v2\lib\install\applications\__ejb_container_timer_app.ear.
[AutoDeploy] Selecting file C:\Program Files\glassfish-v2\lib\install\applications\__JWSappclients.ear for autodeployment.
deployed with moduleid = __JWSappclients
[AutoDeploy] Successfully autodeployed : C:\Program Files\glassfish-v2\lib\install\applications\__JWSappclients.ear.
WEB0302: Starting Sun-Java-System/Application-Server.
JBIFW0010: JBI framework ready to accept requests.
No Principals mapped to Role [noaccess].
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
javax.ejb.EJB.description()Ljava/lang/String;
Exception occured in J2EEC Phasejava.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@14a4fd2
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [MyHello] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@14a4fd2
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
Caused by: java.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@14a4fd2
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:363)
at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:321)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:338)
... 10 more
Caused by: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@14a4fd2
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:264)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:192)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
... 14 more
Caused by: java.lang.NoSuchMethodError: javax.ejb.EJB.description()Ljava/lang/String;
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processNewEJBAnnotation(EJBHandler.java:276)
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processEJB(EJBHandler.java:143)
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processAnnotation(EJBHandler.java:98)
at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:119)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
... 21 more
javax.ejb.EJB.description()Ljava/lang/String;
Exception occured in J2EEC Phasejava.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@6985a3
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [Hello] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@6985a3
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
Caused by: java.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@6985a3
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:363)
at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:321)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.open(ApplicationArchivist.java:238)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
... 10 more
Caused by: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@6985a3
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:264)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:192)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
... 17 more
Caused by: java.lang.NoSuchMethodError: javax.ejb.EJB.description()Ljava/lang/String;
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processNewEJBAnnotation(EJBHandler.java:276)
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processEJB(EJBHandler.java:143)
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processAnnotation(EJBHandler.java:98)
at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:119)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
... 24 more
javax.ejb.EJB.description()Ljava/lang/String;
Exception occured in J2EEC Phasejava.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [Hello] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
Caused by: java.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:363)
at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:321)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.open(ApplicationArchivist.java:238)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
... 10 more
Caused by: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:264)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:192)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
... 17 more
Caused by: java.lang.NoSuchMethodError: javax.ejb.EJB.description()Ljava/lang/String;
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processNewEJBAnnotation(EJBHandler.java:276)
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processEJB(EJBHandler.java:143)
at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processAnnotation(EJBHandler.java:98)
at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:119)
at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
... 24 more
Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context ''
JBIFW0012: JBI framework startup complete.
Please help me find the error and eliminate it.
I am disgusted with it as i am stuck at this position for last 15 days.I have failed to find solution in google etc.
Even the demo sample projects given in NetBeans are generating error messages.
Please help...
Yoodleyee>
Please help me find the error and eliminate it.
I am disgusted with it as i am stuck at this position for last 15 days.15 days on "Hello Anything" should never happen.
Even the demo sample projects given in NetBeans are generating error messages.Somebody explain to me how JSF is making life "easy".
There's a lot here.
% -
How to find out the error PL/SQL
Actually I have written stored procedures in oracle. Which contains 5 insert statements.
While calling stored procedures in java. I get an error. How find out error in which line.
How to debug.The few times a stack trace wasn't enough for debugging, I would test the stored procedure from within SQL*Plus, and sprinkle calls to DBMS_OUTPUT.PUT_LINE() to add tracing statements.
To actually see the output from DBMS_OUTPUT in SQL*Plus, you have to issue the command:
SET SERVEROUTPUT ONNote that the output is very very buffered; don't use the timing of the output to you screen as debugging information. -
Help me to find out the brushes information?
Is it possible to find out wheather the "textframe" and "stroke" contains the "Brushed object" or not in "illustrator cs" through javascript or vbscript. Please help me.
Anybody please!
-
Please help me to find out the solution..​.plz
question-"fourier series coefficents of a square wave using gibbs phenominon"
i have tried this problem so many times to find the solution but i can not find find it.it shows a data type problem.
plz help me sir to draw the circuit properly...plz
i am sending my program to you...plz check it and give me some suggestions..i am very thankful to you.
Attachments:
try_fourier1.vi 847 KBHi
The Templates are in this path
For OCDT the path is C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\Administration\Setup\Banking\Credit Card Payment
For sample template ODSC it is in C:\Program Files\SAP\Data Transfer Workbench\Templates\Samples\1. Add New Data\Administration\Setup\Banking\Banks
like the way u can see all the set up banking templates in this path
C:\Program Files\SAP\Data Transfer Workbench\Templates\Templates\Administration\Setup\Banking
Regards,
Sudhir B.
Edited by: B.sudhir on Dec 13, 2011 11:13 AM -
How to find out the error in J2EE application without debugging
Hi all,
I am trying JCO example for Sales order in Netweaver Development Studio 2.0.3 and JCO 2.1.4.
I am using Java class as a object and calling the class in servlet.
I am checking one by one method ie systeminfo for getting connection and Salesorder method to get the detail.
I am using Printwrite class in Srvlet and getting the error in browser. but inside the method how I can get the error. the same way i can use the OUT.println in class also.
Thanks in advance.
Regards,
ramYou can check the log in the LogViewer service of your J2EE server
-
Help required in finding out the tables for FS-Claims Management module
Hi All,
In FS - claims Management module, i need to find out from which tables we can fetch the following fields,
INSURED : insured person
DESCINSURED : Description of insured person
CLAIMANT : person eligible for benefits
DESCCLAIMANT : Description of insured claimant
OUTSTRES : Outstanding reserve
PAID : paid amount
INCURRED : paid amount + outstanding reserve LOSSDESC : loss description
Thanks & Regards,
AnilHi Anil,
I was searching for the fields you mentioned using SE15 and came up with lot of hits. I thought, it would be good if you do the same thing and you can find the relevant tables as might you have good idea in this area.
I will tell you the procedure and I hope it will give you good results.
1) Go to SE15 (Repository Info System)
2) Click on "ABAP Dictionary"
3) Click on "Fields"
4) Select "Table Fields" and enter description as "insured" on the right hand side panel with Application component as "FS"
5) Click "Execute" (F8) and you will lot of hits.
You need to search through it to find relevant tables for your purpose.
Hope this will give you an idea.
Regards,
Vicky
PS: Award points if helpful -
Could you please help me out, I would like to gift songs to someone who is in AU as i'm located in UK, I'm looking out the possibilities. Thanks in advance.
Thanks for your reply , I have one idea...I need your brain please
Shall I change my Apple store to AU and maybe i can ask my other AU friends to buy Itunes card (of AU) for me...but my apprehension is will i be able to gift sone using itunes card balance? Please get me the idea or some loop holes around. -
Help me to find out the overlaped items
I need to find out wheather one pathItem overlaped(or touched) any pathitems (or) textframes etc. Kindly advice me the possibilities via scripting. I have attached the sample file for your review.
Thanks for looking into this...I think that this would be extremely difficult (if not impossible) to do with scripting. You can determine the positions of the points on a path through scripting, but I can't even imagine how you would be able to determine if a particular spot along a bezier path crosses another.
The only thing I could think of to make this possible would be to apply a pathfinder to a duplicate of your two objects and compare the original and modified paths to see if they were different, but unfortunately the Pathfinder is not scriptable (to my knowledge).
I think that you are going to find this way beyond complex to solve. -
Help me to find out the table name
Hi,
I am new in abap
Is their any way out to fin out the table names for known fileds name?
Moderator message: FAQ, please search for previous discussions of this topic, or available documentation.
Edited by: Thomas Zloch on Mar 4, 2011 10:46 AMSimply try like,
Goto -> Transaction -> SE15 -> Expand 'ABAP Dictionary' -> Expand 'Fields' -> Double click on 'Table Fields' -> Now enter your 'Field Name' -> Press F8. It will list all tables containg your field. -
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
class Image01 extends Frame{ //controlling class
Image rawImage; //ref to raw image file fetched from disk
Image modImage; //ref to modified image
int rawWidth;
int rawHeight;
int[][][] threeDPix;
int[][][] threeDPixMod;
int[] oneDPix;
int inTop; //Inset values for the container object
int inLeft;
double slope;//Controls the slope of the line
String inputData;//Obtained via the TextField
TextField inputField;//Reference to TextField
ImgIntfc02 imageProcessingObject;
//=====================================================//
public static void main(String[] args)
Image01 obj = new Image01(); //instantiate this object
obj.repaint(); //render the image
} //end main
//=====================================================//
public Image01()
{ //constructor
//Get an image from the specified file in the current
Label instructions = new Label(
"Type a slope value and Replot.");
add(instructions);
inputField = new TextField("1.0",5);
add(inputField);
// directory on the local hard disk.
rawImage =
Toolkit.getDefaultToolkit().getImage("myco.jpeg");
//Use a MediaTracker object to block until the image
// is loaded or ten seconds has elapsed.
MediaTracker tracker = new MediaTracker(this);
tracker.addImage(rawImage,1);
try
{ //because waitForID throws InterruptedException
if(!tracker.waitForID(1,10000))
System.out.println("Load error.");
System.exit(1);
//end if
catch(InterruptedException e)
System.out.println(e);
this.setVisible(true);//make the Frame visible
rawWidth = rawImage.getWidth(this); //Raw image has been loaded. Establish width and
rawHeight = rawImage.getHeight(this); // height of the raw image.
inTop = this.getInsets().top; //Get and store inset data for the Frame object so
inLeft = this.getInsets().left; // that it can be easily avoided.
this.setSize(800,800);
//this.setSize(inLeft+rawWidth,inTop+2*rawHeight); //Use the insets and the size of the raw image to
this.setTitle("Copyright 1997, Baldwin"); // establish the overall size of the Frame object.
this.setBackground(Color.yellow); //Make the Frame object twice the height of the
// image so that the raw image and the modified image
// can both be rendered on the Frame object.
int[] oneDPix = new int[rawWidth * rawHeight]; //Declare an array object to receive the pixel
// representation of the image
//Convert the rawImage to numeric pixel representation
try
//because grapPixels() throws InterruptedException
//Instantiate a PixelGrabber object specifying
// pix as the array in which to put the numeric
// pixel data.
PixelGrabber pgObj = new PixelGrabber(rawImage,0,0,rawWidth,rawHeight,oneDPix,0,rawWidth);
//Invoke the grabPixels() method on the PixelGrabber
// object to actually convert the image to an array
// of numeric pixel data stored in pix. Also test
// for success in the process.
if(pgObj.grabPixels() && ((pgObj.getStatus() & ImageObserver.ALLBITS) != 0))
for(int cnt = 0; cnt < (rawWidth*rawHeight);cnt++)
oneDPix[cnt] = oneDPix[cnt];
} //end for loop
threeDPix = convertToThreeDim(oneDPix,imgCols,imgRows);
int[][][] convertToThreeDim(int[] oneDPix,int imgCols,int imgRows)
//Create the new 3D array to be populated
// with color data.
int[][][] data =
new int[imgRows][imgCols][4];
for(int row = 0;row < imgRows;row++){
//Extract a row of pixel data into a
// temporary array of ints
int[] aRow = new int[imgCols];
for(int col = 0; col < imgCols;col++){
int element = row * imgCols + col;
aRow[col] = oneDPix[element];
}//end for loop on col
//Move the data into the 3D array. Note
// the use of bitwise AND and bitwise right
// shift operations to mask all but the
// correct set of eight bits.
for(int col = 0;col < imgCols;col++){
//Alpha data
data[row][col][0] = (aRow[col] >> 24)
& 0xFF;
//System.out.println(data[row][col][0]);
//Red data
data[row][col][1] = (aRow[col] >> 16)
& 0xFF;
//Green data
data[row][col][2] = (aRow[col] >> 8)
& 0xFF;
//Blue data
data[row][col][3] = (aRow[col])
& 0xFF;
}//end for loop on col
}//end for loop on row
return data;
}//end convertToThreeDim
threeDPixMod =imageProcessingObject.processImg(threeDPix,imgRows,imgCols);
public int[][][] processImg(
int[][][] threeDPix,
int imgRows,
int imgCols){
//Display some interesting information
System.out.println("Program test");
System.out.println("Width = " + imgCols);
System.out.println("Height = " + imgRows);
//Make a working copy of the 3D array to
// avoid making permanent changes to the
// image data.
int[][][] temp3D =
new int[imgRows][imgCols][4];
for(int row = 0;row < imgRows;row++){
for(int col = 0;col < imgCols;col++){
temp3D[row][col][0] =
threeDPix[row][col][0];
temp3D[row][col][1] =
threeDPix[row][col][1];
temp3D[row][col][2] =
threeDPix[row][col][2];
temp3D[row][col][3] =
threeDPix[row][col][3];
}//end inner loop
}//end outer loop
//Get slope value from the TextField
slope = Double.parseDouble(
inputField.getText());
//Draw a white diagonal line on the image
for(int col = 0;col < imgCols;col++){
int row = (int)(slope*col);
if(row > imgRows -1)break;
//Set values for alpha, red, green, and
// blue colors.
temp3D[row][col][0] = (byte)0xff;
temp3D[row][col][1] = (byte)0xff;
temp3D[row][col][2] = (byte)0xff;
temp3D[row][col][3] = (byte)0xff;
}//end for loop
//Return the modified array of image data.
return temp3D;
}//end processImg
oneDPix = convertToOneDim(
threeDPixMod,imgCols,imgRows);
int[] convertToOneDim( int[][][] data,int imgCols,int imgRows){
//Create the 1D array of type int to be
// populated with pixel data, one int value
// per pixel, with four color and alpha bytes
// per int value.
int[] oneDPix = new int[
imgCols * imgRows * 4];
//Move the data into the 1D array. Note the
// use of the bitwise OR operator and the
// bitwise left-shift operators to put the
// four 8-bit bytes into each int.
for(int row = 0,cnt = 0;row < imgRows;row++){
for(int col = 0;col < imgCols;col++){
oneDPix[cnt] = ((data[row][col][0] << 24)
& 0xFF000000)
| ((data[row][col][1] << 16)
& 0x00FF0000)
| ((data[row][col][2] << 8)
& 0x0000FF00)
| ((data[row][col][3])
& 0x000000FF);
cnt++;
}//end for loop on col
}//end for loop on row
return oneDPix;
}//end convertToOneDim
modImg = createImage(
new MemoryImageSource(
imgCols,imgRows,oneDPix,0,imgCols));
//end if statement
else System.out.println("Pixel grab not successful");
catch(InterruptedException e)
System.out.println(e);
modImage = this.createImage(new MemoryImageSource(rawWidth,rawHeight,pix,0,rawWidth)); //Use the createImage() method to create a new image
// from the array of pixel values.s
this.addWindowListener(new WindowAdapter() //Anonymous inner-class listener to terminate program
//anonymous class definition
public void windowClosing(WindowEvent e)
System.exit(0); //terminate the program
}//end windowClosing()
} //end WindowAdapter
);//end addWindowListener
}//end constructor
//=======================================================//
//Override the paint method to display both the rawImage
// and the modImage on the same Frame object.
public void paint(Graphics g)
if(modImage != null)
g.drawImage(rawImage,inLeft+50,inTop+50,this);
g.drawImage(modImage,inLeft+50,inTop+rawHeight+100,this);
}//end if
}//end paint()
}//end Image05 class
//=======================================================//You won't get much help with a post like this: no context, no stack trace, no code formatting...
Maybe you are looking for
-
How to call Standard Iviews in Webdynpro application?
How to call STD iviews in the wwbdynpro application. can any of friends give the code
-
[Disappeared Post] Place multiple graphics in numerical order
(Am I going crazy, or is Jive having a nervous breakdown AGAIN? I'm pretty sure -- well, fairly sure -- I just answered to a thread with this title!!) This Javascript will rename all files that start with one or more digits within a selected folder,
-
How do i get rid of mac defender
How do i get rid of mac defender
-
SD: Output determination - Use of transmission medium = "Special function"?
Hi, Would you tell me what is the specific use of transmission medium = "Special function" (table TNAPR-NACHA = 8) in the output determination for messages? Transaction V/30 Thanks and regards, Eric
-
How to push the two pdf opened documents in the array?
Hi all, I need to store the two pdf opened documents in the array value(i.e array(0), array(1)) and then get that array value one by one, and print it through AVAlertNote(). Kindly advise me the possiblities and solution. Thanks for looking into this