Shared projects and URLs

User 9aa4619393

07-10-2011 09:11:02

Hi,


I have a project  where I am connecting to an Oracle database. I am confused as to what to do to generate a URL.


I have created a shared project, then shared the list, the query, the form. The zip and ijp files are deployed on the server, UrlWebApp is also deployed. If I click on the link http://<myserver>/UrlWebApp/ I can see the project in the list of deployed shared projects. Clicking on this link opens IJC and the project. The schema icon has a small pink dot (I guess it means it's a shared project?). From here I can create URLs and it seems to work fine.


However, if I open the same project by browsing for its folder on my hard drive, the little pink dot is missing and if I try to create URLs it tells me it's allowed only for a shared schema. So I guess my question is, should I always open my own project as a shared project if I intend to send a URL to someone?


If I do File>Open shared projects...and it asks for a configuration, I paste in: http://<myserver>/UrlWebApp/<my_shared_project>.jnlp it tells me "Configuration is already deployed"...what does this mean? Could I open a project whose configuration is not already deployed?


Thanks


Anna

ChemAxon 3b366b17e5

07-10-2011 11:41:32

Hi,


yes, you need to always open shared properd if you want to generate new URL. If you open the project from local hard drive IJC won't know base URL of shared project.


The project is opened automatically on IJC strart when shared configration is deployed. Do you clame the project was not reopened? Also manually closed project will be reopened when you redeploy a shared configuration.  You can manage shared project in Miscellaneous->Shared Projects category in Options dialog (Tools-> Options from main menu).


 


 

User 9aa4619393

10-10-2011 11:16:12

Hi,


yes, it gets reopened every time I start IJC


I was confused because I had it open as an admin (from my hard-drive) created a shared project, deployed and was expecting that I should be able to create a URL right away. Instead I need to close it and then reopen it using the URL. Then it works.


Thanks


Anna

ChemAxon 3b366b17e5

12-10-2011 17:33:56

Yes,


it's confusing. We don't know how to improve it. May be we can improve the warning dialog that URL can be generated only for shared project.




User 9aa4619393

17-10-2011 11:31:09

Yes,


I think you need to change the message that is displayed when doing Tools-> Generate URL.


Besides pointing to the documentation on how to set up a shared project, I would also say something like; "If you already have set up a shared project you need to close the current project and re-open via File->open shared project".


I kept thinking - why does it tell me that I need to create a shared project? I have already done it!


In fact all I needed to do was to close and reopen.


Anna

ChemAxon 3b366b17e5

17-10-2011 12:34:08










pellianna wrote:

Yes,


I think you need to change the message that is displayed when doing Tools-> Generate URL.


Besides pointing to the documentation on how to set up a shared project, I would also say something like; "If you already have set up a shared project you need to close the current project and re-open via File->open shared project".


I kept thinking - why does it tell me that I need to create a shared project? I have already done it!


In fact all I needed to do was to close and reopen.


Anna



The message was improved. The change will be available in IJC 5.7. Thanks for comments.