Platform
Learn
Community
Support
Sign up
or
Log in
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Beta
Learn
Training
Documentation
Evaluation Guide
Community
Jobs
Home
Forums
Forge
Ideas
Badges
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Pre Sales Demos
Sign up
or
Log in
Home
Jobs
Forums
Forge
Ideas
Members
Badges
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
Server Error in '/CustomHandlers' Application.
New Post
New Post
Miguel Almeida
Posted on 2016-04-08
Miguel Almeida
Rank: #825
Posted on 2016-04-08
Hey everyone,
I'm currently getting used to Integration Studio (outsystems version 9.1.301.0) so I'm just designing very simple source codes to see how the entire process goes. The source code is in Java and I'm using Eclipse Enterprise Edition. As it is, I'm just telling Integration Studio (whose Application Server is set to J2EE) to create the source code with a text output parameter which I then pass a string to. This is the source code:
package outsystems.noscc_teste2.actions;
import outsystems.noscc_teste2.entities.*;
import outsystems.noscc_teste2.structures.*;
import outsystems.noscc_teste2.records.*;
import outsystems.noscc_teste2.recordlists.*;
import outsystems.runtimecommon.*;
import outsystems.hubedition.runtimeplatform.*;
import outsystems.runtimepublic.db.*;
import outsystems.hubedition.databaseabstractionlayer.adoadapters.*;
import outsystems.hubedition.util.*;
import outsystems.hubedition.runtimeplatform.log.*;
import java.math.BigDecimal;
public class ActAction1 {
/**
*
* @param result.outParamParameter1
**/
public static ActAction1 mosAction1() {
ActAction1 result = new ActAction1();
result.outParamParameter1 = "cena";
// TODO: Write implementation for action
return result;
}
// output parameters
public String outParamParameter1;
}
I then publish it to Service Studio and this is where my error appears. I include the newly created extension through the "Manage Dependencies" option. If i publish the eSpace at this stage (without even making use of the action), i get the following error:
http://s21.postimg.org/dzbrbdyuv/Error.png
I don't even know how to begin to fix this issue. I've searched the folders and the resources of the extension but I can't see anything resembling a web.config.
i should say that i get a warning when I 1-click publish the extension ( Extension 'Application Server Type' property (J2EE) does not match OutSystems Platform application server (.NET) ) but I don't know if it is related or not. I found someone with a similar problem as this warning but the case isn't exactly the same I think ( https://www.outsystems.com/forums/discussion/10465/problem-on-publishing-an-extension/).
Has anyone encountered a similar problem or has a solution for this error? Thanks in advance.
Kind regards,
Miguel A.
Kilian Hekhuis
Posted on 2016-04-08
Kilian Hekhuis
Rank: #5
Posted on 2016-04-08
Solution
Hi Miguel,
A few notes:
1) You can actually add images to your post, and alternatively add them as an attachment, so no need to put them on postimg.org.
2) You don't "publish [extensions] to Service Studio" - Service Studio is the tool with which you create eSpaces. You publish the extensions with Integration Studio, to the Platform.
3) The warning says it all: you are trying to create an extension in Java, while your platform server runs .NET! Of course this isn't possible. Java and .NET are not interchangeable. Are you using the Personal Edition of the platform? Personal Editions are .NET only. You cannot use Java with a Personal Edition.
Solution
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Hints and How-To Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...
(hidden) New Badge Popup