How to fix Malformed help URL while opening ACC ATG? - jboss

I'm using jboss + mysql for running ATG. I'm trying to open Admin Control Center through dyn/admin. However, I'm getting malformed help URL before I get login form. Once I logged in, I'm getting multiple alerts of same exception but with different help ids.
Did any one face this issue and found a workaround?

This issue has been observed because of not having protocol.jar in classpath while starting jboss server. You can follow this workaround to fix the issue.
Copy %DYNAMO_HOME%/DAS/lib/protocol.jar to C:\lib or any folder that is easily accessible to you.
Open Standalone.conf.bat
and add following line in the file.
set "JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs=C:\lib"
Open the Jboss server after the above update is done. The error will be resolved.

Weblogic:
Copy the protocol.jar form DAS\lib to your domain lib folder and restart weblogic.
Ex: C:\Oracle\Middleware\user_projects\domains\base_domain\lib

Related

Eclipse save error when trying to open the design view of a synapse config file in WS02 Developer Studio

I'm following the tutorials and samples of the official WSO2 ESB documentation. When I create (or load) a synapse configuration in the WSO2 Developer Studio I'm getting the error as shown below:
Save problems
Save could not be completed.
Reason:
resources\sunErrorHandler.esb_diagram (The system cannot find the path specified)
This error shows up when I want to open anything in the Design view. Even when I'm not trying to save anything.
So far I have tried to add the path specified in the error, but without success. I already found a workaround to be able to save and deploy my ESB configurations. By using "Save as" I'm able to keep the changes I made in the XML files. However the error stills shows up when I open the new version of the file.
Does anyone know a better solution to permanently resolve this error message?
I had this problem as well, running eclipse.exe as administrator fixed it.
Issue remains unresolved for my Eclipse + DevStudio 3.8.0 install on a Windows 10 environment. However since I was experiencing some other issues with the WSO2 ESB I decided to migrate to a Linux (Ubuntu) environment. This seems to work much better, the eclipse does not seem to have this issue on Linux.
Eclipse want to write in C:\Program Files\eclipse\resources. I solve problem by adding full permissions to group users on folder C:\Program Files\eclipse
If this happens in Mac you can provide the required permission to the "/Applications/IntegrationStudio.app/Contents/MacOS/resources" folder.

Error faced during install moodle

I am a beginner in moodle. I download moodle 2.9.4+ version. Then I extract file from the zip file and execute the application start moodle. It starts running properly, but when I enter the IP address 127.0.0.1 in my browser it shows an error ERR_TOO_MANY_REDIRECTS. To resolve the problem I have repeatedly cleared the browsing data from the chrome, but the problem is same. It is redirected to wampserver localhost. This problem is same even after uninstalling and removing wamp server from my computer.Please help me out of this problem.
Try renaming / deleting the cache folder in the moodledata folder.
See : https://moodle.org/mod/forum/discuss.php?d=230067

Connection timeout when getting plugin list or updating Eclipse PDT

I'm working on win 7 and trying to get Zend Eclipse to run properly for a CakePHP project. But when try to access the plugin list via the welcome page I get this error:
A problem occurred while accessing the update site.
RemoteBundleDiscoveryStrategy failed with an error
Unable to read repository at http://downloads.zend.com/studio-eclipse/updates-extra/10_0/pdt_directory.xml.
Connect timed out
I've tried severalt solutions I found on the net but nothing worked. My proxy settings are fine since I can access all sites via the internal browser of eclipse. My guess is, that there is some restriction in the Windows administration that is keeping me from getting the plugin list.
When I try to update Eclipse the update window tries half an hour to contact the software site and after that I get this error message:
Some sites could not be found. See the error log for more detail.
Communication with repository at http://downloads.zend.com/studio-eclipse/updates/10_0 failed.
Connect timed out
Finally!!
The problem was that is were actually two problems. First one was that Eclipse wasn't saving the username and password for the proxy settings. After finally finding the eclipse error log in
"{eclipse-workspace}/.metadata/.log"
(there seems to be no way to view the file in zend-eclipse itself) I found out that Eclipse was trying to save the password-file into the Administrator's user directory but had no access. (Oh what a surprise)
Putting this into the "zend-eclipse-php.ini" worked for me:
-eclipse.keyring C:\eclipse\keyring.txt
After this was done I could finally save username and password for the proxy but still no connection. When I took another look into the error log I found this error:
"!MESSAGE System property http.proxyHost is not set but should be {proxyname}
!MESSAGE System property http.proxyPort is not set but should be {proxyport}"
and 4 more for https and socks. After googling this error I came upon a fixed bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=281472
where it states that maybe the proxy refuses SOCKS. So I cleared the settings for SOCKS and tried again and IT WORKED! Finally!
Hope this description can anyone else with these problems.

How do I setup Weblogic as one of my Servers in Netbeans

I downloaded the Weblogic .zip file from the oracle's server but when I am trying to add the server to my Netbeans it gives an error that says "The entered installation directory is not properly structured."
I have also attached a screenshot to show it, can you please help me with the issue. I tried to find a solution online but there is nothing that actually solves my problem. For e.g someone said to update the IDE, so that didn't help.
This is a problem permission: https://community.oracle.com/thread/2582875
Just make sure that the user that is running netbeans has the same permissions on weblogic directory.
I'm guessing here, but you probably unpack the zip file but didn't run "configure.sh" to finish the WebLogic configuration.
Run ./configure.sh inside of your WebLogic folder and then try it again.
in netbeans for "Server Location" you should put MW_HOME\wlserver_10.3
presuming that you use "Domain Registration Type" Local Domain
then click Next, and netbeans will detect in Instance Properties
Domain like MW_HOME\user_projects\domains\sw_domain
just enter Username/Password and click Finish
The server location is:
*/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain

Netbeans and Derby : access denied

I have just downloaded and installed Netbeans 7.2.1. Goind on the service tab and trying to start JavaDB. I have the following error :
java.security.AccessControlException: access denied ("java.util.PropertyPermission" "file.encoding" "read")
:(
a problem Java Security Manager
Can someone tell me how to resolve this to finally start javaDB by right clicking and choose "Start server" ?
Thank you
To solve this , You need to append this permission below to the java policy file that is shipped with JDK 1.7.:
permission java.util.PropertyPermission "file.encoding", "read";
The file can be found under : /jdk1.7.0/jre/lib/security/java.policy
Visit this link for more information. You can check this IBM document for configuration file descriptions.
I found a quick solution to this problem - Start your JavaDB from the command line\terminal like so:
<base folder>/db/bin/startNetworkServer -noSecurityManager
Then it runs fine without adding new permissions.