DITA "tutorial" fails or is it me?
I am following the Quick Start "tutorial" in the _Structure Application Developer Guide_ and have hit an impasse.
My EDD is valid, and I can import it into the test document, but doing so has no effect on the test doc. I am sure I have followed the instructions carefully, although I am as human as the next guy, maybe "humanner".
The issue seems to begin on page 18, step 10. I did not have a template, so I opened a new, blank document. I entered all the content on the example, exactly as keyed on page 20.
BUT, there is no "Structure View" (or at least nothing shows up in the window).
Nonetheless, I soldiered on and added all the format rules from pg 21 ~ 23, and re-imported the EDD. Still nothing.
Which step did I miss?
You're right about the doc I am using, it's the one at
http://help.adobe.com/en_US/FrameMaker/8.0/structapp_dev.pdf
It's not a tutorial in the ordinary sense, but it is a cook book for a simple project. The place I think the problem lies is on page 18 (pdf page 32) where it says:
"9. The initial structure is now complete, so you can test it by importing the EDD into your first
template.
"10. If you already have a template, open it. Otherwise open a new empty FrameMaker document.
"Test the structure
"1. Import the element definitions from the EDD: File > Import > Element Definitions..."
I believe there is magic in step 10 above, but I cannot figure out what it is.
I am familiar enough with FrameMaker to know what a template is, but if the term means something different from those I've used since version 4.3, I can't determine how.
I chose File -> New -> Document, then clicked Portrait to get an empty doc, et voilà! The import went about as poorly as you might expect for a first effort, but I got everything corrected. The import into the empty doc was also troublesome, but that, too, is overcome.
When I have the Elements window open, and click in any 'graf, the only option displayed is "Document".
The Paragraph catalog is unchanged from the default, i.e., there are no tags that reflect anything from the EDD. Applying any of these tags does just what it has always done, but it does not pull the definitions in the EDD.
So I'm puzzled. It's not as if I'm a neophyte in the FrameMaker/Tech Writer world I've been doing this for 23 years.
Similar Messages
-
JDeveloper tutorial fails with java.sql.SQLException: ORA-00600
In following the steps to the JDeveloper tutorial, after I successfully created and tested my connections, I proceeded on to run ImageLoader.java (Under DatabaseSetup.jws), and it returns an exception. The debug output log is as follows:
Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.properties");
[00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[01] CommonMessageBundle (language base) being initialized
[02] Stringmanager using default locale: 'null'
[03] BC4JDeployPlatform: LOCAL
[04] Propertymanager: searching for file and system based properties
[05] {{ begin Loading BC4J properties
[06] -----------------------------------------------------------
[07] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
[08] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
[09] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
[10] Skipping empty Property ConnectionMode from System Default
[11] Skipping empty Property HostName from System Default
[12] Skipping empty Property ConnectionPort from System Default
[13] Skipping empty Property ApplicationPath from System Default
[14] Skipping empty Property java.naming.security.principal from System Default
[15] Skipping empty Property java.naming.security.credentials from System Default
[16] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
[17] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
[18] BC4J Property jbo.pers.max.active.nodes='10' -->(SessionImpl) from System Default
[19] BC4J Property jbo.pcoll.mgr='oracle.jbo.pcoll.OraclePersistManager' -->(SessionImpl) from System Default
[20] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
[21] Skipping empty Property JBODynamicObjectsPackage from System Default
[22] BC4J Property MetaObjectContextFactory='oracle.jbo.server.xml.DefaultMomContextFactory' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[23] BC4J Property MetaObjectContext='oracle.jbo.server.xml.XMLContextImpl' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[24] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
[25] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[26] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
[27] Skipping empty Property HandleName from System Default
[28] Skipping empty Property Factory-Substitution-List from System Default
[29] Skipping empty Property jbo.project from System Default
[30] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
[31] BC4J Property jbo.dofailover='true' -->(MetaObjectManager) from System Default
[32] BC4J Property jbo.doconnectionpooling='false' -->(MetaObjectManager) from System Default
[33] BC4J Property jbo.recyclethreshold='10' -->(MetaObjectManager) from System Default
[34] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
[35] BC4J Property RELEASE_MODE='Reserved' -->(MetaObjectManager) from System Default
[36] BC4J Property jbo.maxpoolcookieage='-1' -->(MetaObjectManager) from System Default
[37] Skipping empty Property PoolClassName from System Default
[38] BC4J Property jbo.maxpoolsize='2147483647' -->(MetaObjectManager) from System Default
[39] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
[40] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
[41] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
[42] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[43] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
[44] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserver.properties resource
[45] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
[46] BC4J Property oracle.jbo.defineColumnLength='true' -->(MetaObjectManager) from System Default
[47] Skipping empty Property jbo.tmpdir from System Default
[48] Skipping empty Property jbo.server.internal_connection from System Default
[49] Skipping empty Property SessionClass from System Default
[50] Skipping empty Property TransactionFactory from System Default
[51] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
[52] BC4J Property jbo.debug.prefix='DBG' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[53] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[54] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[55] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[56] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[57] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
[58] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
[59] BC4J Property jbo.ejb.txntimeout='60' -->(SessionImpl) from System Default
[60] BC4J Property jbo.ejb.txntype='global' -->(MetaObjectManager) from System Default
[61] Skipping empty Property oracle.jbo.schema from System Default
[62] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.properties resource
[63] }} finished loading BC4J properties
[64] -----------------------------------------------------------
Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
[65] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[66] JavaVMVersion: 1.2.351 odv
[67] JavaVMVendor: Oracle Corp.
[68] JavaVMName: OJVM VM
[69] OperatingSystemName: Windows NT
[70] OperatingSystemVersion: 5.0
[71] OperatingSystemUsername: Administrator
[72] Connected to Oracle JBO Server - Version: 3.2.9.76.3
[73] {{+++ id=10000 type: 'BC4J_CREATE_ROOTAM' Create Root Application Module 'ImageLoader.ImageLoaderModule'
[74] {{+++ id=10001 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.ImageLoaderModule
[75] {{+++ id=10002 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.ImageLoader
[76] Loading from /ImageLoader/ImageLoader.xml file
[77] Loading from indvidual XML files
[78] Loading the Containees for the Package 'ImageLoader.ImageLoader'.
[79] }}+++ End Event10003 null
[80] Loading from /ImageLoader/ImageLoaderModule.xml file
[81] }}+++ End Event10002 null
[82] {{+++ id=10003 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.InventoryItem1View
[83] Loading from /ImageLoader/InventoryItem1View.xml file
[84] ViewObjectImpl's default fetch mode = 0
[85] {{+++ id=10004 type: 'METAOBJECT_LOAD' Loading meta-object: ImageLoader.InventoryItem
[86] Loading from /ImageLoader/InventoryItem.xml file
[87] Loading Typemap entries from oracle.jbo.server.OracleTypeMapEntries
[88] CSMessageBundle (language base) being initialized
[89] }}+++ End Event10005 null
[90] OracleSQLBuilder reached getInterface
[91] Oracle SQL Builder Version 3.2.0.0.0
[92] }}+++ End Event10004 null
[93] {{+++ id=10005 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'InventoryItem1View'
[94] }}+++ End Event10006 null
[95] Created root application module: 'ImageLoader.ImageLoaderModule'
[96] Locale is: 'en_US'
[97] }}+++ End Event10001 null
[98] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
[99] DBTransactionImpl Max Cursors is 50
[100] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
[101] {{+++ id=10006 type: 'JDBC_CONNECT' null
[102] Trying connection/1: url='jdbc:oracle:thin:bc4j/bc4j@localhost:1521:oracle9i'...
[103] }}+++ End Event10007 null
[104] Successfully logged in
[105] JDBCDriverVersion: 8.1.7.0.0
[106] DatabaseProductName: Oracle
[107] DatabaseProductVersion: Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the Partitioning option JServer Release 9.0.1.1.1 - Production
[108] Column count: 8
[109] {{+++ id=10007 type: 'EXECUTE_QUERY' ViewObject executeQueryForCollection InventoryItem1View
[110] {{+++ id=10008 type: 'VIEWOBJECT_GETSTATEMENT' Viewobject: InventoryItem1View getting prepared statement
[111] ViewObject : Created new QUERY statement
[112] SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
[113] {{+++ id=10009 type: 'JDBC_CREATE_STATEMENT' createPreparedStatement - prefetch size: 1
[114] }}+++ End Event10010 null
[115] }}+++ End Event10009 ViewObject : Creating new QUERY statementSELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
[116] QueryCollection.executeQuery failed...
[117] java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
java.util.Enumeration oracle.jbo.common.WeakHashtableImpl.elements()
java.util.Enumeration oracle.jbo.common.WeakHashtable.elements()
void oracle.jbo.server.ViewObjectImpl.freeStatement(java.sql.PreparedStatement, boolean)
void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
void oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(java.lang.Object, java.lang.Object[], int)
void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
boolean oracle.jbo.server.ViewObjectImpl.hasNext()
void ImageLoader.ImageLoader.main(java.lang.String[])
[118] SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCRIPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FROM INVENTORY_ITEM InventoryItem
void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
boolean oracle.jbo.server.ViewObjectImpl.hasNext()
void ImageLoader.ImageLoader.main(java.lang.String[])
## Detail 0 ##
java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
void oracle.jbo.server.ViewRowSetImpl.execute(boolean, boolean)
void oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed()
boolean oracle.jbo.server.ViewRowSetIteratorImpl.hasNext()
boolean oracle.jbo.server.ViewRowSetImpl.hasNext()
boolean oracle.jbo.server.ViewObjectImpl.hasNext()
void ImageLoader.ImageLoader.main(java.lang.String[])
Exception in thread main
At first I thought maybe this is a configuration specific problem -- but I was able to replicate this on two separate machine with clean Win2K and Oracle9i installs.
It seems like it is not finding a particular class, which leads me to believe that some particular jar is probably missing -- can anyone help me figure out which one? Or is there something else that may be going wrong?
TIAYou need to make sure you're using the Oracle9i JDBC driver, or using the Oracle 8.1.7.2 JDBC driver as I mentioned above.
If you are using JDeveloper9i release 9.0.2 or 9.0.3, the driver you need is in <jdevhome>\jdbc\lib
Otherwise, you can also download the drivers from OTN. -
Applets in Applet Tutorial Fail
I am trying to work through the tutorial on applets. Every page in this tutorial with an applet in it fails to load the applet. For example, when I load http://java.sun.com/docs/books/tutorial/deployment/applet/browser.html I get the following error:
General Exception: javal.lang.NoClassDefFoundError: ShowDocument$1
at ShowDocument.init(ShowDocument.java:22)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source).
This happens in both Firefox and IE.
According to the coffee cup that appears in my taskbar when I load a page with an applet, I am running J2SE 1.5.0_04-b05.
Other applets, incuding some in other parts of the tutorial, work fine.
Any suggestions would be much appreciated.Sounds like you're copying the compiled classes
somewhere, but aren't copying the complete set of
them.
ShowDocument$1 -- there should be a
ShowDocument$1.class file where you compiled
ShowDocument.java -- you need to include the above
class file in your build as well.Go to the link posted. That is a Sun Tutorial page. The applet fails to load with this stack trace.
java.lang.NoClassDefFoundError: ShowDocument$1
at ShowDocument.init(ShowDocument.java:22)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-ShowDocument.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
This is more Sun crapola. -
The call to New-AzureKeyVault in the tutorial fails
I'm following this tutorial:
http://azure.microsoft.com/en-us/documentation/articles/key-vault-get-started/
When running the following statement:
New-AzureKeyVault -VaultName 'MyTestKeyVault2' -ResourceGroupName 'MyTestResourceGroup2' -Location 'North Europe'
I get the following output (I've redacted our subscription/email/resource groups/vault name details):
The user account that is used for this operation is: [email protected]
The subscription that is used for this operation is: MySubscription
Resource Group MyTestResourceGroup2 is created/selected
VERBOSE: 17:25:23 - Resource group "MyTestResourceGroup2" is found.
VERBOSE: 17:25:23 - Creating resource "MyTestKeyVault2" started.
VERBOSE: 17:25:26 - Creating resource "MyTestKeyVault2" complete.
The user account that is used for this operation is: [email protected]
The subscription that is used for this operation is: MySubscription
The user account that is used for this operation is: [email protected]
No object ID is selected. The current user's object ID will be used by default
Get-AzureADUser : {"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient pri
vileges to complete the operation."}}}
At C:\Dev\Azure Key Vault Powershell scripts\KeyVaultManager\Common.ps1:144 char:22
+ $userByUpn = Get-AzureADUser | where {$_.Mail -eq $UserPrincipalName}
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-AzureADUser], CloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ActiveDirectory.GetAzureADUserCommand
No object ID for the input principal was not found
At C:\Dev\Azure Key Vault Powershell scripts\KeyVaultManager\Common.ps1:129 char:9
+ Throw 'No object ID for the input principal was not found'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (No object ID fo...l was not found:String) [], RuntimeException
+ FullyQualifiedErrorId : No object ID for the input principal was not found
It seems like New-AzureKeyVault calls Get-AzureADUser but that call fails. If I just execute Get-AzureADUser then
Get-AzureADUser : {"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient pri
vileges to complete the operation."}}}
At line:1 char:1
+ Get-AzureADUser
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [Get-AzureADUser], CloudException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ActiveDirectory.GetAzureADUserCommand
I'm following the tutorial from top to bottom. We have an Azure AD set up, but there's no mentioning of Active Directory up until this point in the tutorial.
Is there something which I need to configure within Azure AD prior to running New-AzureKeyVault which is not mentioned in the tutorial?
NitramafveHi All,
Thank You for taking the interest in Key Vault, I am sorry to hear that you have run in to this particular incident and hopefully we can get you unblocked.
If you currently have 'Limit Guest Access' on the directory set to 'YES' then you will need to read the statement below in order to move forward as in this scenario GUEST do not have the ability to enumerate Directory Objects when access has been limited
which is what causes this to fail.
If your administrator doesn't want to limit guest access, then they can toggle the setting on the Directory to state 'Limit Guest Access' to NO which will then allow User Accounts of User Type Guest to enumerate objects.
If you are using a Microsoft Account that is over user type GUEST and the administrator has chosen to limit guest access then you need to ask an administrator of the directory to run the following command:
Set-MsolUser -UserPrincipalName someone_outlook.com#EXT#@tenant.onmicrosoft.com -UserType Member
Furthermore, If your a customer that has multiple Azure Subscriptions ensure that the subscription in question is the current subscription in-use when using the PowerShell Session
Get-AzureSubscription
This will give you a list of all your subscriptions, there is an attribute on each subscription called 'IsCurrent' you need to ensure that the relevant subscription your attempting to use has a value of True.
If this is not the case, then you need to run the command
Select-AzureSubscription -SubscriptionId GUID -Current
I imagine most of you here will have multiple subscriptions & directories, and even more so as it is recommended to run this in production it probable that you have a different Azure Subscription you would want to use, and in-turn a different directory
also. {please take care when checking this info}
NOTE: If you login to manage.windowsazure.com with your account and go to Settings > Subscriptions from here you will be able to see the GUID translation in to the Directory Name and furthermore there is a last column called 'Default Directory'
that is the directory your account needs to be a GA off.
If you have any further questions please be sure to reach out.
If your currently using Microsoft Accounts in Azure. if your a Microsoft Online Service customers (such as Office 365) and have not linked the Azure Subscription to this directory and want to, check out
this article to help you out in doing that as Work Accounts are recommended when using Azure in most scenarios and saves you having to login with different creds across portals.
also, if you want further information on how Azure AD Administrators and Subscription Administrators differ you should check out
the following article also.
Regards,
James. -
Deployment of first tutorial fails
Dear forum members,
I've been working on the first tutorial of the Java EE 5 @ SAP environment.
After having some problems in the configuration of the SAP server in the Developer Studio i've been creating the Convertor project.
However when all compiles and I want to deploy it via the Developer Studio (eclipse)
In the servers view you need to add and remove projects on the SAP server. This failes. The engine is running correctly, I can use NWA without trouble.
I get the following error dialog:
<i>There are no projects that can be added or removed from the server</i>
In the log file of workspace .metadata .log I can see the following entry:
![code]SESSION 2006-11-15 20:40:11.221 -
eclipse.buildId=M20060629-1905
java.version=1.5.0_07
java.vendor=SAP AG
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -data C:\SAP\DevStudio\eclipse\workspace
!ENTRY org.eclipse.osgi 4 0 2006-11-15 20:41:19.379
!MESSAGE While loading class "does.not.exist.aaaNoClass", thread "Worker-2" timed out waiting (5000ms) for thread "Worker-1" to finish starting bundle "com.sap.ide.j2ee.ui". To avoid deadlock, thread "Worker-2" is proceeding but "does.not.exist.aaaNoClass" may not be fully initialized.
!STACK 0
java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:75)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:265)
at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1138)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:361)
at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:340)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility(EarlyStartupRunnable.java:149)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:73)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1759)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
!ENTRY org.eclipse.ui 4 4 2006-11-15 20:41:19.820
!MESSAGE Bad extension specification
!ENTRY com.sap.ide.j2ee.ui 4 0 2006-11-15 20:41:19.820
!MESSAGE startup class must implement org.eclipse.ui.IStartup
!ENTRY Startup 1 0 2006-11-15 20:41:27.321
!MESSAGE Sap NetWeaver Developer Studio - 200609271333
!ENTRY org.eclipse.update.core 4 0 2006-11-15 20:54:52.358
!MESSAGE Digest could not be parsed:Unable to retrieve remote reference "http://download.eclipse.org/updates/3.2/digest.zip". [Server returned HTTP response code: "404 Not Found" for URL: http://download.eclipse.org/updates/3.2/digest.zip.]
!ENTRY org.eclipse.ui.views.properties.tabbed 4 4 2006-11-15 21:00:08.142
!MESSAGE Contributor org.eclipse.wst.rdb.server.ui.navigator.serverExplorer cannot be created.[/code]
What did I do wrong in the configuration of the project that might have caused this problem. Or what is wrong in the configuration of the developer studio
Kind regards,
Richard PlukkerHi Elena,
One bit of hope.
I've just installed the car rental application, and yes this project is able to be deployed to the server via the developer studio.
However the carrentalEAR is shown 5 times in the add and remove Projects dialog.
But anyway it's deployed succesfully:
[code]Nov 16, 2006 9:58:45 PM /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,5,main]] INFO: deployment trace
21:57:25.551 [info #300] [#1]: DC API is trying to connect to 'YB0010-RP:50004'
21:57:25.551 [debug #100] [#1]: SessionImpl::getContext():[ B E G I N ].timerId=5
21:57:25.822 [debug #100] [#1]: SessionImpl::getContext():[ E N D ].timerId=[id:#5, elapsed: 271 ms.]
21:57:25.842 [info #300] [#1]: DC API has Connected to 'YB0010-RP:50004'
21:57:25.842 [debug #100] [#1]: DeployProcessor::ctor:New deploy processor created[ deployerId=2 ]
21:57:25.852 [debug #200] [#1]: DeployProcessor::Constructor:get deployer from server.[ deployerId=2 ]
21:57:25.852 [debug #200] [#1]: DeployProcessor::Constructor:deployer get successfully:[id:#6, elapsed: 0 ms.]. [ deployerId=2 ]
21:57:25.882 [info #200] [#1]: +++++ Starting D E P L O Y action +++++ [ deployerId=2 ] [ timerId=7]
21:57:25.892 [info #200] [#1]: Selected archives for deployment. [ deployerId=2 ]
21:57:25.902 [info #200] [#1]: C:\SAP\DevStudio\eclipse\workspace\CarRentalEAR\CarRentalEAR.ear
21:57:25.902 [debug #300] [#1]: DeployProcessor::deploy:going to generate Session id.[ deployerId=2 ]
21:57:25.902 [debug #300] [#1]: DeployProcessor::deploy:DC API got Session id='24',time:[id:#7, elapsed: 50 ms.].[ deployerId=2 ]
21:57:25.912 [debug #100] [#1]: DeployProcessorImpl::doCheckForSameMachine::Can server read File 'C:\SAP\DevStudio\eclipse\workspace\CarRentalEAR\CarRentalEAR.ear' : true
21:57:25.922 [info #100] [#1]: Got full sdu path 'C:\SAP\DevStudio\eclipse\workspace\CarRentalEAR\CarRentalEAR.ear'
21:57:25.922 [debug #100] [#1]: DeployProcessor::deployItems:enter.timerId=8.[ deployerId=2 ]
21:57:25.942 [info #200] [#1]: component version handling rule is UpdateAllVersions.[ deployerId=2 ]
21:57:25.962 [info #200] [#1]: Error strategies[ deployerId=2 ]:
21:57:25.982 [info #100] [#1]: deployer initialized successfully:[id:#9, elapsed: 40 ms.].[ deployerId=2 ]
21:57:25.992 [info #100] [#1]: Total time:[#9: 0.06 sec].[ deployerId=2 ]
21:57:26.012 [info #200] [#1]: Starting deployment.[ deployerId=2 ]
21:58:45.126 [debug #100] [#1]: DeployProcessor::deployItems:get deploy result after.resultOk=true.Time:[id:#8, elapsed: 79114 ms.].[ deployerId=2 ]
21:58:45.136 [info #200] [#1]: Deployment completed. Preparing the deployment result.[ deployerId=2 ]
21:58:45.156 [info #200] [#1]:
Sorted Items -
1. Client path 'C:\SAP\DevStudio\eclipse\workspace\CarRentalEAR\CarRentalEAR.ear'
Sdu info :name 'CarRental', vendor 'sap.com', location 'localhost', version '2006.11.16.21.57.23', software type ('J2EE', sub type ''), dependencies :[none]
Deploy status is 'Success'
Time statistics( ms ):
1.deployment : 20680
1.1.Notify:Event triggered : 10
1.2.Bulk deployment : 20660
1.2.1.Stop : 351
1.2.2.Perform delivery : 19377
1.2.2.1.Application Deployer : 19377
1.2.3.Notify Observers : 932
1.2.3.1.Store in repository : 151
1.2.3.2.update CVers : 781
1.3.Notify:Event performed : 10
2.Post process : 57072
2.1.Starting : 57072
Deployment Items -
1. Client path 'C:\SAP\DevStudio\eclipse\workspace\CarRentalEAR\CarRentalEAR.ear'
Sdu info :name 'CarRental', vendor 'sap.com', location 'localhost', version '2006.11.16.21.57.23', software type ('J2EE', sub type ''), dependencies :[none]
Deploy status is 'Success'
21:58:45.156 [info #300] [#1]: +++ Deployment finished with status 'Success' +++.[ deployerId=2 ][#8: 79.234 sec]
21:58:45.156 [debug #300] [#1]: DeployProcessor::deployItems:finally.Total Time:[#8: 79.234 sec].[ deployerId=2 ]
21:58:45.156 [info #200] [#1]: +++++ End D E P L O Y action +++++[ deployerId=2 ]. Total time:[#7: 79.304 sec][/code]
Then I installed the EDMprojectEAR.
And this does not show up in the add and remove Projects dialog, hence it cannot be deployed via NWDS.
Even a local export of the ear file fails (probably due to warnings in the EJB and WEB project):
[code]java.lang.IllegalArgumentException:
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:46)
at org.eclipse.core.runtime.Status.setMessage(Status.java:178)
at org.eclipse.core.runtime.Status.<init>(Status.java:85)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.runOperations(DataModelWizard.java:226)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.performFinish(DataModelWizard.java:178)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:94)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
[/code] -
I am seeking an XML import Handler for DITA files? I created
one in RoboHelp, but the DITA files failed the test import. I could
not figure out how to correct the error (in an entity declaration),
although I tweaked the catalog, the Handler, and everything else I
could think of.
The DITA files are created using Structured FrameMaker 7.2. I
have RH 6, but not WebWorks Publisher, so I would like to find a
way to use RoboHelp, rather than trying to generate WebHelp
directly from DITA or using any other HAT. The framemaker-dita
users group listserv has not provided me any leads.
Please let me know at vlipow at brendan dot com.
Thanks!> Please let me know at vlipow at brendan dot com.
Hello all, I have the issue of DITA import in RH too and if
any solutions or ideas exist, please post in forum for general
interest. -
Strings panel tutorial for english spanish flash website
Greetings everyone,
where can i find a good strings panel for multiple language
flash website set up?
thanks in advance!!i am looking for a tutorial. failed to mention this in my
initial post. -
Cannot create user using Web Site Administration Tool with Oracle Express
Hello,
I am following the tutorial here to add roles/memberships/profiles etc. using the Oracle providers supplied by Oracle:
http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/dotnet/aspprovider/aspprovider_otn.htm?_template=/ocom/print
This tutorial fails at step 7: When I click Create user (on the security tab) the web page brings me to a page that says:
"An error was encountered. Please return to the previous page and try again."
Does anyone have any idea why this is happening?
Also, does anyone know if log files are created that I may take a look at to get more details about the error?
Thank you,
John DeAngelisHi John,
This is the forum for the Oracle Provider for OLE DB. You may want to post your question the forum for Oracle Providers for ASP.NET.
Oracle Providers for ASP.NET
as it will be seen by a wider audience using that product.
J.B. -
Connectivity/Outside applets
Hello, Can the iphone be configured with autos that support bluetooth technology in traditional handsets? Like the BMW X5 for example?
Also, can a user install an applet like MSFT VM or Java to facilitate a connection through Safari to a Corp Network using Safecard access?
Thank you,
Larry Hyatt
503.908.9071newAudioClip will work outside applets, it doesn't play sounds that are not PCM encoded and its rather limited in the length of clip it can play. Its definitely the easiest way if it works.
I posted a sound player a couple of months ago that will play sound that the tutorial example can't.
http://forum.java.sun.com/thread.jsp?forum=4&thread=389392
The sample in the tutorial fails if the clip is too big for memory, my code streams it in and isn't limited in the length of clip. I tested it with a 67meg .au of Lorena McKennitt's Lady of Shalott (11 minutes). -
Hello, i am new to php so be prepared for a idiots
question,Hello, Do i need to run this on my localhost or can i run
it on my virtual server as this allready has php mysql etc
installed.
i am new to php so be prepared for a idiots question, i have
been trying to copy a youtube tutorial to create a navbar using php
mysql and dreamweaver "
http://www.youtube.com/watch?v=habZHcnShfs"
to do this i need to create a mysql tabel in dreamweaver, to do
this i have been useing the following code;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$user="james1892";
$password="14011991";
$database="naviagation";
mysql_connect("localhost",$user,$password);
@mysql_select_db($database) or die("unable to select
database");
$query = 'CREATE TABLE 'menu' (
'mid' TINYINT( 3 ) UNSIGNED NOT NULL AUTO_INCREMENT,
'name' varchar(20) NOT NULL
'link' varchar(100) NOT NULL,
PRIMARY KEY ( 'mid' )
mysql_query($query);
mysql_close();
?>
</body>
</html>
this then returns the following message "Parse error: syntax
error, unexpected T_STRING in
/var/www/vhosts/sickstudentgames.com/httpdocs/php attempt 1/first
database midnamelink.php on line 15"
i then gave up on thsi as i couldnt work out what was the
problem and started a new code to create a database using this code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$con = mysql_connect("localhost","com1892","14011991");
if (!$con)
die('Could not connect: ' . mysql_error());
}if (mysql_query("CREATE DATABASE my_db",$con))
echo "Database created";
else
echo "Error creating database: " . mysql_error();
}mysql_close($con);
?>
</body>
</html>
this then showed the folling message "Warning:
mysql_connect(): Access denied for user 'com1892'@'localhost'
(using password: YES) in
/var/www/vhosts/sickstudentgames.com/httpdocs/php attempt
1/tableattempt2.php on line 10
Could not connect: Access denied for user
'com1892'@'localhost' (using password: YES)"
i have been uploading these to my website server as this has
php and mysql installed could this be the problem do i need to run
it on the coputers localhost>?
any help greatly appriciated
thanks you
i have been trying to copy a youtube tutorial to create a
navbar using php mysql and dreamweaver "
http://www.youtube.com/watch?v=habZHcnShfs"
to do this i need to create a mysql tabel in dreamweaver, to do
this i have been useing the following code;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$user="james1892";
$password="14011991";
$database="naviagation";
mysql_connect("localhost",$user,$password);
@mysql_select_db($database) or die("unable to select
database");
$query = 'CREATE TABLE 'menu' (
'mid' TINYINT( 3 ) UNSIGNED NOT NULL AUTO_INCREMENT,
'name' varchar(20) NOT NULL
'link' varchar(100) NOT NULL,
PRIMARY KEY ( 'mid' )
mysql_query($query);
mysql_close();
?>
</body>
</html>
this then returns the following message "Parse error: syntax
error, unexpected T_STRING in
/var/www/vhosts/sickstudentgames.com/httpdocs/php attempt 1/first
database midnamelink.php on line 15"
i then gave up on thsi as i couldnt work out what was the
problem and started a new code to create a database using this code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$con = mysql_connect("localhost","com1892","14011991");
if (!$con)
die('Could not connect: ' . mysql_error());
}if (mysql_query("CREATE DATABASE my_db",$con))
echo "Database created";
else
echo "Error creating database: " . mysql_error();
}mysql_close($con);
?>
</body>
</html>
this then showed the folling message "Warning:
mysql_connect(): Access denied for user 'com1892'@'localhost'
(using password: YES) in
/var/www/vhosts/sickstudentgames.com/httpdocs/php attempt
1/tableattempt2.php on line 10
Could not connect: Access denied for user
'com1892'@'localhost' (using password: YES)"
any help greatly appriciated
thanks youjames1892 wrote:
> Hello, i am new to php so be prepared for a idiots
question,Hello, Do i need to
> run this on my localhost or can i run it on my virtual
server as this allready
> has php mysql etc installed.
You don't need a local testing environment, but it's highly
recommended
that you do. It's much more efficient and secure.
> i have been trying to
> copy a youtube tutorial to create a navbar using php
mysql and dreamweaver
> "
http://www.youtube.com/watch?v=habZHcnShfs"
I watched about four minutes of that "tutorial". It's totally
useless.
> $query = 'CREATE TABLE 'menu' (
> 'mid' TINYINT( 3 ) UNSIGNED NOT NULL AUTO_INCREMENT,
> 'name' varchar(20) NOT NULL
> 'link' varchar(100) NOT NULL,
> PRIMARY KEY ( 'mid' )
> )';
The reason that doesn't work is because the creator of the
"tutorial"
failed to explain the difference between quotation marks and
backticks.
What actually appears on screen is not what you have typed,
but this:
$query = 'CREATE TABLE `menu` (
`mid` TINYINT( 3 ) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL
`link` varchar(100) NOT NULL,
PRIMARY KEY ( `mid` )
Note the difference between ' and `. The second one is called
backtick,
and is located above the tab key on most keyboards. In this
case, you
don't need it. The following would be fine:
$query = 'CREATE TABLE menu (
mid TINYINT( 3 ) UNSIGNED NOT NULL AUTO_INCREMENT,
name varchar(20) NOT NULL
link varchar(100) NOT NULL,
PRIMARY KEY (mid)
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Web Service tutorial using NetBeans 5.5 fails on OS X Tiger
I have tried doing this tutorial using NetBeans 5.5 with the Enterprise Pack and Visual Web extensions installed. I am able to get it to run fine on my WinXP machine configured with the same NetBeans 5.5 stuff as the Mac. I have tried it several times always with the same result. Any insight that you can provide will be greatly appreciated.
The tutorial is located: http://www.netbeans.org/kb/55/websvc-jax-ws.html
Below is what is being returned in the Output window upon Run:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Created dir: /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/classes
Created dir: /Users/bob/Programming/CalculatorWSApplication/build/web/META-INF
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/META-INF
Copying 4 files to /Users/bob/Programming/CalculatorWSApplication/build/web
library-inclusion-in-archive:
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
Copying 1 file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/lib
library-inclusion-in-manifest:
Compiling 1 source file to /Users/bob/Programming/CalculatorWSApplication/build/web/WEB-INF/classes
wsgen-init-nonJSR109:
Created dir: /Users/bob/Programming/CalculatorWSApplication/build/generated/wsgen/service
wsgen-CalculatorWS-nonJSR109:
Problem encountered during annotation processing;
see stacktrace below for more information.
java.lang.NoSuchMethodError: com.sun.codemodel.JCodeModel._class(Ljava/lang/String;Lcom/sun/codemodel/ClassType;)Lcom/sun/codemodel/JDefinedClass;
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.getCMClass(WebServiceWrapperGenerator.java:446)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateWrappers(WebServiceWrapperGenerator.java:256)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.processMethod(WebServiceWrapperGenerator.java:141)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitMethodDeclaration(WebServiceVisitor.java:468)
at com.sun.tools.apt.mirror.declaration.MethodDeclarationImpl.accept(MethodDeclarationImpl.java:41)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.processMethods(WebServiceVisitor.java:406)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.postProcessWebService(WebServiceVisitor.java:361)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.postProcessWebService(WebServiceWrapperGenerator.java:115)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:167)
at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:345)
at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:230)
at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
at com.sun.tools.apt.main.Main.compile(Main.java:1075)
at com.sun.tools.apt.main.Main.compile(Main.java:938)
at com.sun.tools.apt.Main.processing(Main.java:95)
at com.sun.tools.apt.Main.process(Main.java:85)
at com.sun.tools.apt.Main.process(Main.java:67)
at com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:603)
at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:536)
at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54)
at com.sun.tools.ws.ant.WsGen.execute(WsGen.java:457)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
error: compilation failed, errors should have been reported
wsgen-generate-nonJSR109:
compile:
compile-jsps:
Created dir: /Users/bob/Programming/CalculatorWSApplication/dist
Building jar: /Users/bob/Programming/CalculatorWSApplication/dist/CalculatorWSApplication.war
do-dist:
dist:
Incrementally deploying http://localhost:8084/CalculatorWSApplication
Completed incremental distribution of http://localhost:8084/CalculatorWSApplication
Incrementally redeploying http://localhost:8084/CalculatorWSApplication
deploy?config=file:/tmp/context18085.xml&path=/CalculatorWSApplication
OK - Deployed application at context path /CalculatorWSApplication
run-deploy:
Browsing: http://localhost:8084/CalculatorWSApplication/CalculatorWS?Tester
run-display-browser:
run:
BUILD SUCCESSFUL (total time: 1 second)This problem gets solved if you do NOT provide the Java path to the installer.
e.g.
if you have Java in /usr//bin/java
make sure your PATH does not have /usr/bin....
so basically which java throw error....Then provide the JRE PATH in oraparam.ini for the installer to start ...
Give it a try...
Karurkar -
Compile Failed(Hibernate Tutorial)
Hi,
I'm trying steps of hibernate Tutorial from hibernate.org site.
when i use ant war on command line I face some problem.
C:\hibernateTutorial>ant war
Buildfile: build.xml
clean:
[delete] Deleting directory C:\hibernateTutorial\bin
[mkdir] Created dir: C:\hibernateTutorial\bin
copy-resources:
[copy] Warning: events\Event.hbm.xml modified in the future.
[copy] Warning: events\Person.hbm.xml modified in the future.
[copy] Warning: log4j.properties modified in the future.
[copy] Warning: modified in the future.
[copy] Warning: util modified in the future.
[copy] Copying 4 files to C:\hibernateTutorial\bin
[copy] Copied 2 empty directories to 1 empty directory under C:\hibernateTu
torial\bin
compile:
[javac] Warning: events\Event.hbm.xml modified in the future.
[javac] Warning: events\Event.java modified in the future.
[javac] Warning: events\EventManager.java modified in the future.
[javac] Warning: events\Person.hbm.xml modified in the future.
[javac] Warning: log4j.properties modified in the future.
[javac] Warning: util\HibernateUtil.java modified in the future.
[javac] Compiling 5 source files to C:\hibernateTutorial\bin
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:39: illegal
start of expression
[javac] private void printEventForm(PrintWriter out)
[javac] ^
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:51: ';' exp
ected
[javac] List result = HibernateUtil.getSessionFactory().getCurrentSession().
createCriteria(Event.class).list();
[javac]
^
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:51: <identi
fier> expected
[javac] List result = HibernateUtil.getSessionFactory().getCurrentSession().
createCriteria(Event.class).list();
[javac]
^
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:51: '{' exp
ected
[javac] List result = HibernateUtil.getSessionFactory().getCurrentSession().
createCriteria(Event.class).list();
[javac]
^
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:52: illegal
start of type
[javac] if(result.size()>0)
[javac] ^
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:70: <identi
fier> expected
[javac] }
[javac] ^
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:71: illegal
start of expression
[javac] protected void createAndStoreEvent(String title,Date theDate)
[javac] ^
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:78: ';' exp
ected
[javac] }
[javac] ^
[javac] 8 errors
BUILD FAILED
C:\hibernateTutorial\build.xml:21: Compile failed; see the compiler error output
for details.
Total time: 2 seconds
C:\hibernateTutorial>EventManagerServlet code is:
package events;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import util.HibernateUtil;
import java.util.*;
public class EventManagerServlet extends HttpServlet
protected void doGet(HttpServletRequest request,HttpServletResponse response)
throws ServletException, IOException
SimpleDateFormat dateFormatter = new SimpleDateFormat("dd.MM.yyyy");
try
HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
PrintWriter out = response.getWriter();
out.println("<html><head><title>Event Manager</title></head><body>");
if ( "store".equals(request.getParameter("action")))
String eventTitle = request.getParameter("eventTitle");
String eventDate = request.getParameter("eventDate");
if ( "".equals(eventTitle) || "".equals(eventDate) )
out.println("<b><i>Please enter event title and date.</i></b>");
else
createAndStoreEvent(eventTitle, dateFormatter.parse(eventDate));
out.println("<b><i>Added event.</i></b>");
printEventForm(out);
listEvents(out, dateFormatter);
out.println("</body></html>");
out.flush();
out.close();
HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();
private void printEventForm(PrintWriter out)
out.println("<h2>Add new event:</h2>");
out.println("<form>");
out.println("Title: <input name='eventTitle' length='50'/><br/>");
out.println("Date (e.g. 24.12.2009): <input name='eventDate' length='10'/><br/>");
out.println("<input type='submit' name='action' value='store'/>");
out.println("</form>");
private void listEvents(PrintWriter out,SimpleDateFormat dateFormatter)
List result=HibernateUtil.getSessionFactory().getCurrentSession().createCriteria(Event.class).list();
if(result.size()>0)
out.println("<h2>Events in database:</h2>");
out.println("<table border='1'>");
out.println("<tr>");
out.println("<th>Event title</th>");
out.println("<th>Event date</th>");
out.println("</tr>");
for(Iterator it = result.iterator();it.hasNext();)
Event event = (Event) it.next();
out.println("<tr>");
out.println("<td>" + event.getTitle() + "</td>");
out.println("<td>"+dateFormatter.format(event.getDate()) + "</td>");
out.println("</tr>");
out.println("</table>");
protected void createAndStoreEvent(String title,Date theDate)
Event theEvent = new Event();
theEvent.setTitle(title);
theEvent.setDate(theDate);
HibernateUtil.getSessionFactory().getCurrentSession().save(theEvent);
catch (Exception ex)
HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().rollback();
throw new ServletException(ex);
}Kindly suggest anyone.
Great Regards
-S.Singh
Edited by: shobhit_onprob on Apr 22, 2008 11:46 AMI've just problem for importing package for recover this problem below.
[javac] C:\hibernateTutorial\src\events\EventManagerServlet.java:15: cannot
find symbol
[javac] symbol : class SimpleDateFormat
[javac] location: class events.EventManagerServlet
[javac] SimpleDateFormat dateFormatter = new SimpleDateFormat("dd.MM.yyyy");pl. suggest which package i've to import.
only java.util.* doesn't work.
-S.Singh -
JDI tutorial "Scenario 2+" ,Prep-step "Importing Required SCs" FAILED
I am following the "Preparation" part of the scenario. I've copied SAP-JEE.sca, SAP_BUILDT and SAP_JTECHS to my transport 'inbox' directory - in my case this is C:\usr\sap\JTrans\CMS\inbox.
I checked them all in, then I go to the Transport Studio "Development" tab where they are "Waiting for import", select all, and click Import, and after a half-hour or so of the spinning icon the webpage fails and on re-visiting it each of the three components are marked "Import Failed".
I've restarted my WebAS, and I've removed all these from the check-in and then repeated the steps, same result.
Any ideas?I am adding a little more info:
1. To re-state, the basic problem is that Import fails when importing the archives SAP-JEE, SAP_BUILDT and SAP_JTECHS.
2. I am running on Windows XP Pro with 2Gig RAM using the Sneak Preview for MaxDB SP9.
3. I have installed the JDI according to the JDI Installation Guide from service marketplace. I could not run the Template Configuration tool since I am not at SP10, but everything else is by-the-book.
In addition to looking for a solution, peraps someone has a suggestion, such as location of where Transport Studio's Import would log error messages etc?
Noting that, in the "Scenario 2+" Tutorial Step 1 substep for "Create a New DC and an Activity" there is some discrepancy that could be part of the problem. In the "Create New DC" dialog that runs, I have 2 checkboxes that are not mentioned in the tutorial steps:
Local Development Component - DEFAULTS TO UNCHECKED
Sync Used Archives - DEFAULTS TO CHECKED.
- When I leave "Sync" checked, the "Create a DC" fails on syncing.
- When I leave it unchecked, I can create the DC, add Interface and Classes, but the "Build DC's" fails with an error comlaining can't find javaLib (which is in the SAP_BUILDT that fails to import); here is the error:
/userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] ERROR: tax/calc: Build failed for sap.com/tax/calc(example.org_APPLICATION_1) in variant "default": Used component not found: sap.com/tc/bi/bp/javaLib".
I'll probably try again this time check-marking "Local DC" and it will probably use the SAP_BUILDT from my local (not from DTR where it never succeeds to import). but I think I'll be bypassing the whole CMS if I do that.
==================================
So all you bright young SAPPERS out there, what can you suggest? Has anyone successfully completed this tutorial in SP9?
Best wishes,
Michael Rains -
Java EE5 Tutorial - 'ant create-tables' BUILD FAILED
Hi,
Appologies, this is quite a begineers question, hopefully it's an easy one to answer. I've searched for the last few hours regarding this issue,
trying things and searched the forums here at sun with no similar issue. As you can see below, I cannot create the tables for the bookstore1 application using 'ant'.
I am getting a FileNotFoundException however the delete.sql and tutorial.sql files are at this location C:\javaee\javaeetutorial5\examples\common\sql\javadb\
I have also made sure that the files have read and write access. I know their could be some permissions issues using vista if I installed at C:/ProgramFiles, so everything is in C:/
Another thing I have tried is using the ant command directly even though the PATH is in my enviroment variables, just incase another version was conflicting, as I read about people having such issues.
"C:\Sun\AppServer\lib\ant\bin\ant create-tables" => This gave the same error as below. Im not sure what other information may help you help me here, so just ask.
Annoying thing is, this example worked fine when I set up the environment on my work laptop (which I have no access to now) earlier, I didn't have this issue.
Thanks for your help.
/Paul.
c:\javaee\javaeetutorial5\examples\web\bookstore1>ant create-tables
Buildfile: build.xml
-pre-init:
init:
check:
tools:
start-db:
[exec] Database already started on host localhost, port 1527.
[exec] Command start-database executed successfully.
delete-tables:
[sql] Executing file: C:\javaee\javaeetutorial5\examples\web\bookstore1\=C:\javaee\javaeetutorial5\examples\common\sql\javadb\delete.sql
BUILD FAILED
C:\javaee\javaeetutorial5\examples\bp-project\database-ant.xml:48: java.io.FileNotFoundException: C:\javaee\javaeetutorial5\examples\web\bookstore1\=C
:\javaee\javaeetutorial5\examples\common\sql\javadb\delete.sql (The filename, directory name, or volume label syntax is incorrect)
Total time: 21 seconds
c:\javaee\javaeetutorial5\examples\web\bookstore1>Hi,
This is due to the path problem that u specified in build.properties file for javaee.tutorial.home= variable. Use / instead of \. Problem will solved.
Thanks
Amalka -
Build failed in hello2 for J2EE tutorial
Hi guys, i faced with a build error when building hello2 example. Can someone pls advice, my hello1 is working perfectly fine. I am wondering if there is something wrong with the contents of the build.xml file. The error is as follows ...
C:\j2eetutorial14\examples\web\hello2>asant build
Buildfile: build.xml
init:
prepare:
copy:
build:
[javac] Compiling 2 source files to C:\j2eetutorial14\examples\web\hello2\bu
ild
BUILD FAILED
file:C:/j2eetutorial14/examples/web/hello2/build.xml:53: C:\Sun\AppServer \lib n
ot found.
Total time: 3 secondshi, thanks for your advice. however, i think its not the build.properties file in examples/common as all the values there are by default and I have been following the tutorial closely... i think its due to the build.xml file in examples/hello2/build.xml as the error pointed to line 53 of that file... n line 53 is as follows:
<target name="build" depends="copy" line 51
description="Compile app Java files" > line 52
<javac srcdir="src" destdir="${build}"> line 53
<include name="**/*.java" /> line 54
<classpath refid="classpath"/> line 55
</javac>
</target>
can soneone who manage to do it from chapter 3 (pg 103) pls help?
thanks.
Maybe you are looking for
-
Since upgrading to OSx8.0 my calendar no longer synchs with my iPod Touch
I can't update the calendar on my Touch (2d gen) from my iMac but all other programs synch normally. How can I restore that function?
-
How to restore autofill usernames from a backup external hard drive?
Hello, I deleted the autofill data from the clear all history window by checking off the form & search history box. Is there away to restore or retrieve the autofill data from a backup external hard drive? Any Ideas appreciated,
-
Adding metadata to a list in sharepoint hosted apps
Hi, I created a share point hosted app and i added a custom list with columns.Now i need to add some metadata to the list through app only.How can i achieve this requirement.Please help me.Thanks in advance. Regards, Praveen
-
Premiere Pro CS4 After Effects CS4 Redraw problem
Greetings. I can't quite figure out how to research this problem. I have included some pics to the screen grabs to illustrate my point. The problem is, I have a redraw problem with all Adobe programs that have a timeline in them. Flash, After Effects
-
Labview eval formula node with VI
The VI has been attached this time I really have no idea why it doens't work please help thanks ==================== =Labview 7.0 & 8.0 & 8.5= ===================== Attachments: Untitled.vi 37 KB