Daniel Martin

Greenhorn
+ Follow
since Aug 07, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Daniel Martin

So I'm trying to center vertically align a three-column DIV section in one of my pages. I'm able to align the DIVs one after another but I can't align the content with in the DIVs. I'm no CSS guru so that could be part to blame but perhaps IE6 doesn't support the vertical-align rule on DIVs.

Can someone shed some light on this?

Thanks in advance.


I'm currently experiencing another set of problems with RMIC





!ENTRY org.eclipse.jst.j2ee 4 0 2009-04-15 15:47:03.774
!MESSAGE Deploying CompasEJB
!SUBENTRY 1 org.eclipse.jst.j2ee 4 4 2009-04-15 15:47:03.774
!MESSAGE Deployment from com.ibm.etools.ejbdeploy.EJBDeployer had errors:

!STACK 0
com.ibm.etools.rmic.RMICException: RMIC command failed on project: CompasEJB with message:

error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
java.lang.NoSuchMethodError: com/ibm/jtc/orb/map/CacheFactory.create(Lcom/ibm/jtc/orb/map/MapFactory;Lcom/ibm/jtc/orb/map/ObjectFactory;)Lcom/ibm/jtc/orb/map/Cache;
at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache$ClassToCacheCache$Caches.<init>(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache$ClassToCacheCache$Caches.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache$ClassToCacheCache.get(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache.get(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass.lookup(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass.lookup(Unknown Source)
at com.ibm.rmi.util.RepositoryId.createHashString(Unknown Source)
at com.ibm.rmi.util.RepositoryId.createHashString(Unknown Source)
at com.ibm.rmi.util.RepositoryId.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.Type.setRepositoryID(Unknown Source)
at com.ibm.tools.rmic.iiop.CompoundType.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.SpecialClassType.<init>(Unknown Source)
at com.ibm.tools.rmic.iiop.SpecialClassType.forSpecial(Unknown Source)
at com.ibm.tools.rmic.iiop.CompoundType.makeType(Unknown Source)
at com.ibm.tools.rmic.iiop.ClassType.initParents(Unknown Source)
at com.ibm.tools.rmic.iiop.NCClassType.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.NCClassType.forNCClass(Unknown Source)
at com.ibm.tools.rmic.iiop.CompoundType.makeType(Unknown Source)
at com.ibm.tools.rmic.iiop.ClassType.initParents(Unknown Source)
at com.ibm.tools.rmic.iiop.ImplementationType.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(Unknown Source)
at com.ibm.tools.rmic.iiop.CompoundType.makeType(Unknown Source)
at com.ibm.tools.rmic.iiop.ClassType.initParents(Unknown Source)
at com.ibm.tools.rmic.iiop.ImplementationType.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(Unknown Source)
at com.ibm.tools.rmic.iiop.StubGenerator.getTopType(Unknown Source)
at com.ibm.tools.rmic.iiop.Generator.generate(Unknown Source)
at sun.rmi.rmic.Main.doCompile(Unknown Source)
at sun.rmi.rmic.Main.compile(Unknown Source)
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 com.ibm.etools.rmic.RMICClassLoader.runCompile(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.invokeRMICInJVM(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.rmic(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.generateStubs(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.run(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.visit(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.doExecute(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.execute(Unknown Source)
at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.deploy(Unknown Source)
at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.execute(Unknown Source)
at org.eclipse.jst.j2ee.internal.actions.J2EEDeployAction$1.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
1 error
Further details have been recorded in the .log file in C:\Program Files\IBM\Application Developer\workspace\.metadata
at com.ibm.etools.rmic.RMICClassLoader.runCompile(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.invokeRMICInJVM(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.rmic(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.generateStubs(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.run(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.visit(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.doExecute(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.execute(Unknown Source)
at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.deploy(Unknown Source)
at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.execute(Unknown Source)
at org.eclipse.jst.j2ee.internal.actions.J2EEDeployAction$1.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
!SUBENTRY 1 2009-04-15 15:47:03.774
!MESSAGE J2EEDeployOperation_2_UI_

!ENTRY org.eclipse.jst.j2ee 4 0 2009-04-15 16:03:59.360
!MESSAGE Deploying CompasEJB
!SUBENTRY 1 org.eclipse.jst.j2ee 4 4 2009-04-15 16:03:59.360
!MESSAGE Deployment from com.ibm.etools.ejbdeploy.EJBDeployer had errors:

!STACK 0
com.ibm.etools.rmic.RMICException: RMIC command failed on project: CompasEJB with message:

error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
java.lang.NoSuchMethodError: com/ibm/jtc/orb/map/CacheFactory.create(Lcom/ibm/jtc/orb/map/MapFactory;Lcom/ibm/jtc/orb/map/ObjectFactory;)Lcom/ibm/jtc/orb/map/Cache;
at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache$ClassToCacheCache$Caches.<init>(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache$ClassToCacheCache$Caches.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache$ClassToCacheCache.get(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass$ObjectStreamClassCache.get(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass.lookup(Unknown Source)
at com.ibm.rmi.io.ObjectStreamClass.lookup(Unknown Source)
at com.ibm.rmi.util.RepositoryId.createHashString(Unknown Source)
at com.ibm.rmi.util.RepositoryId.createHashString(Unknown Source)
at com.ibm.rmi.util.RepositoryId.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.Type.setRepositoryID(Unknown Source)
at com.ibm.tools.rmic.iiop.CompoundType.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.SpecialClassType.<init>(Unknown Source)
at com.ibm.tools.rmic.iiop.SpecialClassType.forSpecial(Unknown Source)
at com.ibm.tools.rmic.iiop.CompoundType.makeType(Unknown Source)
at com.ibm.tools.rmic.iiop.ClassType.initParents(Unknown Source)
at com.ibm.tools.rmic.iiop.NCClassType.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.NCClassType.forNCClass(Unknown Source)
at com.ibm.tools.rmic.iiop.CompoundType.makeType(Unknown Source)
at com.ibm.tools.rmic.iiop.ClassType.initParents(Unknown Source)
at com.ibm.tools.rmic.iiop.ImplementationType.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(Unknown Source)
at com.ibm.tools.rmic.iiop.CompoundType.makeType(Unknown Source)
at com.ibm.tools.rmic.iiop.ClassType.initParents(Unknown Source)
at com.ibm.tools.rmic.iiop.ImplementationType.initialize(Unknown Source)
at com.ibm.tools.rmic.iiop.ImplementationType.forImplementation(Unknown Source)
at com.ibm.tools.rmic.iiop.StubGenerator.getTopType(Unknown Source)
at com.ibm.tools.rmic.iiop.Generator.generate(Unknown Source)
at sun.rmi.rmic.Main.doCompile(Unknown Source)
at sun.rmi.rmic.Main.compile(Unknown Source)
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 com.ibm.etools.rmic.RMICClassLoader.runCompile(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.invokeRMICInJVM(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.rmic(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.generateStubs(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.run(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.visit(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.doExecute(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.execute(Unknown Source)
at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.deploy(Unknown Source)
at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.execute(Unknown Source)
at org.eclipse.jst.j2ee.internal.actions.J2EEDeployAction$1.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
1 error
Further details have been recorded in the .log file in C:\Program Files\IBM\Application Developer\workspace\.metadata
at com.ibm.etools.rmic.RMICClassLoader.runCompile(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.invokeRMICInJVM(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.rmic(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.generateStubs(Unknown Source)
at com.ibm.etools.rmic.RMICOperation.run(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.visit(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.doExecute(Unknown Source)
at com.ibm.etools.ejbdeploy.EJBDeployer.execute(Unknown Source)
at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.deploy(Unknown Source)
at org.eclipse.jst.j2ee.internal.deploy.J2EEDeployOperation.execute(Unknown Source)
at org.eclipse.jst.j2ee.internal.actions.J2EEDeployAction$1.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
!SUBENTRY 1 2009-04-15 16:03:59.360
!MESSAGE J2EEDeployOperation_2_UI_
15 years ago
I'm experiencing this same problem with RSA 7.0.07 and WAS 6.1 FP 23. Our company currently has an open PMR with IBM. So far no resolution.

Does anyone have a solution to this. I've read and tried several things like enable/disable Build automatically.

-Dan
15 years ago
Alright, I finally got it!

Basically, all I did was use the toString function call on the code parameter argument of my insertYouTube function. From there, I was able to parse the string using substr , indexOf, and so on.

So to some it up, I was able to achieve my goal of inserting a YouTube video into my page editor.


Thanks for all your help folks.

Daniel Martin wrote:^^ Nope, nada, just an empty alert popup.



I'm sorry, the <OBJECT> code copied from YouTube does show up in the alert message. I initially did it wrong when you asked.

So what does this mean???
^^ Nope, nada, just an empty alert popup.

I am using the submit button because all other existing popup menus follow this scheme and they work. So I tried following the same.
Sorry, I don't know of a good way of explaining it but I'll try to expand on what I said on the first post. I have an open source HTML editor that I got from http://www.openwebware.com/. I am trying to add further functionality to it, like the ability to add YouTube videos, Java Applets, templates, and so on.

I already created the YouTube button. When pressed, a popup page shows up by the following code:


The WYSIWYG.insertYouTube function is as follows:

Yes, I know that. I am using that to pass the value into a Javascript function. In the function is where I am having problems.
As the topic describes, how is it done?

I thought that by default, the value of a form input field is a string. I need to retrieve substrings of the input string but I have not been able to achieve that.

Any ideas?

For instance, say I have the following INPUT tag.

If I copy and paste the code below from a YouTube page into the INPUT tag, I would like to parse it later on with Javascript. I assume that it would be stored as a string.

How do I do this?
OK, I feel like such a moron. The problem was because I was not using the J2EE perspective in the IDE. Once I did that, the Server menu showed up under preferences.
15 years ago
I'm trying to create a new server profile in RSA 7.0; however, I am not able to because the Server menu is missing from Preferences (Window -> Preferences). Also, as an additional piece of information, I am using WAS 6.1

Has anyone encountered this problem before? If so, what was your resolution?

Thanks in advance.
15 years ago